<div dir="ltr">Marc you are right, it is good question, how this feature will be informed to users. On the import page we can show a drop location where user drops the sql file and its uploaded asynchronously.<div><br></div>
<div>I still feel, its an event that currently not bound to anything. In the import page we can inform the user <b>"You can import a file, anytime by dropping the file to pma" </b>and gradually users will get used to it. I did a portion of implementation last night and it looks like: <br>
<a href="http://www.youtube.com/watch?v=CRQtIV8pZUA">http://www.youtube.com/watch?v=CRQtIV8pZUA</a><br>I'd like to know more opinions on how this should be implemented!</div></div><div class="gmail_extra"><br clear="all">
<div><div dir="ltr"><div><br></div><font face="courier new, monospace" color="#444444">Minhaz, </font><div><font face="courier new, monospace" color="#444444"><a href="http://minhaz.cistoner.org" target="_blank">minhaz.cistoner.org</a> || <a href="http://cistoner.org" target="_blank">cistoner.org</a></font></div>
</div></div>
<br><br><div class="gmail_quote">On Sun, May 25, 2014 at 4:03 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 2014-05-24 18:30, Minhaz A V a écrit :<br>
<div class="">> Hi Issac,<br>
> Adding this functionality to just import page, would be just an addon to<br>
> import feature.<br>
> Now if we implement this to all pages, it would add a feature to an<br>
> event which is currently empty. I mean there is no function currently<br>
> bound to drag events, Also if this feature is implemented, I can't think<br>
> of false positives as I can't imagine a user dragging a sql for any<br>
> other purpose but import<br>
<br>
</div>Hi Minhaz,<br>
how do you plan to advertise this new feature, if it's available on any<br>
page? On the import page, it's easier to "educate" users about this.<br>
<div class=""><br>
><br>
><br>
> Minhaz,<br>
> <a href="http://minhaz.cistoner.org" target="_blank">minhaz.cistoner.org</a> <<a href="http://minhaz.cistoner.org" target="_blank">http://minhaz.cistoner.org</a>> || <a href="http://cistoner.org" target="_blank">cistoner.org</a><br>
> <<a href="http://cistoner.org" target="_blank">http://cistoner.org</a>><br>
><br>
><br>
</div><div class="">> On Sun, May 25, 2014 at 3:13 AM, Isaac Bennetch <<a href="mailto:bennetch@gmail.com">bennetch@gmail.com</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:bennetch@gmail.com">bennetch@gmail.com</a>>> wrote:<br>
><br>
><br>
><br>
> On 5/24/14 12:37 PM, Minhaz A V wrote:<br>
> > Hi I need some help here, to implement a drag and drop I need to<br>
> do some<br>
> > UI tweak, like there need to be a <div> to be shown in case of<br>
> dragover<br>
> > event, and we need another to show the upload status!<br>
> ><br>
> > Also I need help with design here: How I'm planning it is:<br>
> > 1. User drops a file at any page! (logged in)<br>
><br>
> My own thoughts are that we only need to expect this behavior on the<br>
> Import page.<br>
><br>
> > 2. the dropped files if (sql) are uploaded asynchronously and the<br>
> status<br>
> > of upload is shown somewhere in bottom right corner.<br>
> > 3. At the backend the uploaded sql is parsed and output is sent<br>
> back as<br>
> > JSON and once the object has been received, the pagecontent is<br>
> replaced<br>
> > with the received output! (as happens for any other request in PMA)<br>
> ><br>
> > I need help with which file I might need to edit, to add a div to the<br>
> > common UI! for js part I'll add codes to AJAX.js<br>
> ><br>
> ><br>
> > Also I sent few attachments to the same thread, but I guess moderator<br>
> > needs to allow it first. It had screenshots of UI I was planning!<br>
> ><br>
> ><br>
> > Minhaz,<br>
> > <a href="http://minhaz.cistoner.org" target="_blank">minhaz.cistoner.org</a> <<a href="http://minhaz.cistoner.org" target="_blank">http://minhaz.cistoner.org</a>><br>
> <<a href="http://minhaz.cistoner.org" target="_blank">http://minhaz.cistoner.org</a>> || <a href="http://cistoner.org" target="_blank">cistoner.org</a> <<a href="http://cistoner.org" target="_blank">http://cistoner.org</a>><br>
> > <<a href="http://cistoner.org" target="_blank">http://cistoner.org</a>><br>
> ><br>
> ><br>
> ><br>
> ------------------------------------------------------------------------------<br>
> > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE<br>
> > Instantly run your Selenium tests across 300+ browser/OS combos.<br>
> > Get unparalleled scalability from the best Selenium testing<br>
> platform available<br>
> > Simple to use. Nothing to install. Get started now for free."<br>
> > <a href="http://p.sf.net/sfu/SauceLabs" target="_blank">http://p.sf.net/sfu/SauceLabs</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Phpmyadmin-devel mailing list<br>
> > <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
</div></div>> <mailto:<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a>><br>
<div class="">> > <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
> ><br>
><br>
> ------------------------------------------------------------------------------<br>
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE<br>
> Instantly run your Selenium tests across 300+ browser/OS combos.<br>
> Get unparalleled scalability from the best Selenium testing platform<br>
> available<br>
> Simple to use. Nothing to install. Get started now for free."<br>
> <a href="http://p.sf.net/sfu/SauceLabs" target="_blank">http://p.sf.net/sfu/SauceLabs</a><br>
> _______________________________________________<br>
> Phpmyadmin-devel mailing list<br>
> <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
</div>> <mailto:<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a>><br>
<div class="im HOEnZb">> <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE<br>
> Instantly run your Selenium tests across 300+ browser/OS combos.<br>
> Get unparalleled scalability from the best Selenium testing platform available<br>
> Simple to use. Nothing to install. Get started now for free."<br>
> <a href="http://p.sf.net/sfu/SauceLabs" target="_blank">http://p.sf.net/sfu/SauceLabs</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Phpmyadmin-devel mailing list<br>
> <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
><br>
<br>
<br>
</div><span class="HOEnZb"><font color="#888888">--<br>
Marc Delisle | phpMyAdmin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
------------------------------------------------------------------------------<br>
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE<br>
Instantly run your Selenium tests across 300+ browser/OS combos.<br>
Get unparalleled scalability from the best Selenium testing platform available<br>
Simple to use. Nothing to install. Get started now for free."<br>
<a href="http://p.sf.net/sfu/SauceLabs" target="_blank">http://p.sf.net/sfu/SauceLabs</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br></div>