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.
I still feel, its an event that currently not bound to anything. In the
import page we can inform the user *"You can import a file, anytime by
dropping the file to pma" *and gradually users will get used to it. I
did a portion of implementation last night and it looks like:
http://www.youtube.com/watch?v=CRQtIV8pZUA
I'd like to know more opinions on how this should be implemented!
On the Import page, we could replace "Browse your computer" with "Browse
your computer or drop a file on any phpMyAdmin panel" or something like
that.
I assume that this drop action only replaces the filename selection, and
that the user can still choose import options before clicking on Go.
By the way, do you intend this to work for any supported import format?
Minhaz,
minhaz.cistoner.org <http://minhaz.cistoner.org> ||
cistoner.org
<http://cistoner.org>
On Sun, May 25, 2014 at 4:03 AM, Marc Delisle <marc(a)infomarc.info
<mailto:marc@infomarc.info>> wrote:
Le 2014-05-24 18:30, Minhaz A V a écrit :
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
Hi Minhaz,
how do you plan to advertise this new feature, if it's available on any
page? On the import page, it's easier to "educate" users about this.
Minhaz,
minhaz.cistoner.org <http://minhaz.cistoner.org>
<http://minhaz.cistoner.org> ||
cistoner.org <http://cistoner.org>
<http://cistoner.org>
On Sun, May 25, 2014 at 3:13 AM, Isaac Bennetch
<bennetch(a)gmail.com
<mailto:bennetch@gmail.com>
<mailto:bennetch@gmail.com
<mailto:bennetch@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>
<http://minhaz.cistoner.org>
<http://minhaz.cistoner.org> ||
cistoner.org <http://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
<mailto:Phpmyadmin-devel@lists.sourceforge.net>
<mailto:Phpmyadmin-devel@lists.sourceforge.net
<mailto:Phpmyadmin-devel@lists.sourceforge.net>>
------------------------------------------------------------------------------
"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
<mailto:Phpmyadmin-devel@lists.sourceforge.net>
<mailto:Phpmyadmin-devel@lists.sourceforge.net
<mailto:Phpmyadmin-devel@lists.sourceforge.net>>
------------------------------------------------------------------------------
"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
<mailto:Phpmyadmin-devel@lists.sourceforge.net>
--
Marc Delisle | phpMyAdmin
------------------------------------------------------------------------------
"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
<mailto:Phpmyadmin-devel@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