<div dir="ltr">Yeah, it should allow upload of selected formats only, like sql,zip etc</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 7:22 PM, 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 21:19, Minhaz A V a écrit :<br>
<div class="">> Marc you are right, it is good question, how this feature will be<br>
> informed to users. On the import page we can show a drop location where<br>
> user drops the sql file and its uploaded asynchronously.<br>
><br>
> I still feel, its an event that currently not bound to anything. In the<br>
</div>> import page we can inform the user *"You can import a file, anytime by<br>
> dropping the file to pma" *and gradually users will get used to it. I<br>
<div class="">> did a portion of implementation last night and it looks like:<br>
> <a href="http://www.youtube.com/watch?v=CRQtIV8pZUA" target="_blank">http://www.youtube.com/watch?v=CRQtIV8pZUA</a><br>
> I'd like to know more opinions on how this should be implemented!<br>
<br>
</div>On the Import page, we could replace "Browse your computer" with "Browse<br>
your computer or drop a file on any phpMyAdmin panel" or something like<br>
that.<br>
<br>
I assume that this drop action only replaces the filename selection, and<br>
that the user can still choose import options before clicking on Go.<br>
<br>
By the way, do you intend this to work for any supported import format?<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 4:03 AM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a><br>
</div><div class="">> <mailto:<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>>> wrote:<br>
><br>
> Le 2014-05-24 18:30, Minhaz A V a écrit :<br>
> > Hi Issac,<br>
> > Adding this functionality to just import page, would be just an<br>
> 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<br>
> think<br>
> > of false positives as I can't imagine a user dragging a sql for any<br>
> > other purpose but import<br>
><br>
> 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>
><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>
</div><div class="">> <<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>
</div><div class="">> > On Sun, May 25, 2014 at 3:13 AM, Isaac Bennetch<br>
> <<a href="mailto:bennetch@gmail.com">bennetch@gmail.com</a> <mailto:<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> <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<br>
> on the<br>
> > Import page.<br>
> ><br>
> > > 2. the dropped files if (sql) are uploaded asynchronously<br>
> 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<br>
> in PMA)<br>
> > ><br>
> > > I need help with which file I might need to edit, to add a<br>
> 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<br>
> moderator<br>
> > > needs to allow it first. It had screenshots of UI I was<br>
> 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>><br>
> > <<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>> <<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>
> ------------------------------------------------------------------------------<br>
> > > "Accelerate Dev Cycles with Automated Cross-Browser Testing<br>
> - 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>
> <mailto:<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="">> <mailto:<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>
> ------------------------------------------------------------------------------<br>
> > "Accelerate Dev Cycles with Automated Cross-Browser Testing -<br>
> For FREE<br>
> > Instantly run your Selenium tests across 300+ browser/OS combos.<br>
> > Get unparalleled scalability from the best Selenium testing<br>
> 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>
> <mailto:<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">> <mailto:<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>
> ><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>
> <mailto:<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><div class="HOEnZb"><div class="h5">> --<br>
> Marc Delisle | phpMyAdmin<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>
> <mailto:<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>
><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>
--<br>
Marc Delisle | phpMyAdmin<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>
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>