Hi Issac,
Adding this functionality to just import page, would be just an addon to
import feature.
Now if we implement this to all pages, it would add a feature to an event
which is currently empty. I mean there is no function currently bound to
drag events, Also if this feature is implemented, I can't think of false
positives as I can't imagine a user dragging a sql for any other purpose
but import
Minhaz,
On Sun, May 25, 2014 at 3:13 AM, Isaac Bennetch <bennetch(a)gmail.com> wrote:
On 5/24/14 12:37 PM, Minhaz A V wrote:
Hi I need some help here, to implement a drag and
drop I need to do some
UI tweak, like there need to be a <div> to be shown in case of dragover
event, and we need another to show the upload status!
Also I need help with design here: How I'm planning it is:
1. User drops a file at any page! (logged in)
My own thoughts are that we only need to expect this behavior on the
Import page.
2. the dropped files if (sql) are uploaded
asynchronously and the status
of upload is shown somewhere in bottom right corner.
3. At the backend the uploaded sql is parsed and output is sent back as
JSON and once the object has been received, the pagecontent is replaced
with the received output! (as happens for any other request in PMA)
I need help with which file I might need to edit, to add a div to the
common UI! for js part I'll add codes to AJAX.js
Also I sent few attachments to the same thread, but I guess moderator
needs to allow it first. It had screenshots of UI I was planning!
Minhaz,
minhaz.cistoner.org <http://minhaz.cistoner.org> ||
cistoner.org
<http://cistoner.org>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated
Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform
available
Simple to use. Nothing to install. Get started
now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform
available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel