[Phpmyadmin-devel] Drag and drop sql import - help

Minhaz A V minhazav at gmail.com
Sun May 25 00:30:21 CEST 2014


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,
minhaz.cistoner.org || cistoner.org


On Sun, May 25, 2014 at 3:13 AM, Isaac Bennetch <bennetch at 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 at 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140525/95adb04f/attachment.html>


More information about the Developers mailing list