Hi,
I have an idea to limit the number of bugs in RFE #1518 (Navigate away patch). That feature is currently applied to all input/textarea elements on all pages. However, it is not useful on every page/form elements. So, we can limit this feature to certain pages/forms on which it can be useful by adding a class "no-navi" (need a suggestion for better class name) to forms on which we require this feature and listen on only those forms having this class. Doing this change will not require much time and for a test we can add this to class to few forms and can extend it later. I can create a PR to do this.
1) What are your views regarding this idea? 2) On what pages/forms we need this feature? (only few, so that we can test this feature)
This will certainly not fix the bugs mentioned in tracker but surely can limit it to certain pages.
On 6/12/14 9:54 AM, Chirayu Chiripal wrote:
Hi,
I have an idea to limit the number of bugs in RFE #1518 (Navigate away patch). That feature is currently applied to all input/textarea elements on all pages. However, it is not useful on every page/form elements. So, we can limit this feature to certain pages/forms on which it can be useful by adding a class "no-navi" (need a suggestion for better class name) to forms on which we require this feature and listen on only those forms having this class. Doing this change will not require much time and for a test we can add this to class to few forms and can extend it later. I can create a PR to do this.
- What are your views regarding this idea?
To me, this seems like a good idea.
- On what pages/forms we need this feature? (only few, so that we can
test this feature)
* SQL tab * Search tab * INSERT tab * Create table interface Maybe also the create view interface
This will certainly not fix the bugs mentioned in tracker but surely can limit it to certain pages.
-- Regards, Chirayu Chiripal phpMyAdmin Intern - Google Summer of Code 2014 https://chirayuchiripal.wordpress.com/
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Chirayu Chiripal a écrit :
Hi,
I have an idea to limit the number of bugs in RFE #1518 (Navigate away patch). That feature is currently applied to all input/textarea elements on all pages. However, it is not useful on every page/form elements. So, we can limit this feature to certain pages/forms on which it can be useful by adding a class "no-navi" (need a suggestion for better class name) to forms on which we require this feature and listen on only those forms having this class. Doing this change will not require much time and for a test we can add this to class to few forms and can extend it later. I can create a PR to do this.
- What are your views regarding this idea?
- On what pages/forms we need this feature? (only few, so that we can test
this feature)
This will certainly not fix the bugs mentioned in tracker but surely can limit it to certain pages.
Good idea indeed. Maybe the class could be named "lock-page".
Also, I dream of an icon that would be displayed (just once on a page) when a field on a locked page has been changed, showing that the page is "locked" from navigating away until a save or cancel button is clicked, or the person confirms the navigating away action.
On Thu, Jun 12, 2014 at 10:26 PM, Marc Delisle marc@infomarc.info wrote:
Chirayu Chiripal a écrit :
Hi,
I have an idea to limit the number of bugs in RFE #1518 (Navigate away patch). That feature is currently applied to all input/textarea elements
on
all pages. However, it is not useful on every page/form elements. So, we can limit this feature to certain pages/forms on which it can be useful
by
adding a class "no-navi" (need a suggestion for better class name) to
forms
on which we require this feature and listen on only those forms having
this
class. Doing this change will not require much time and for a test we can add this to class to few forms and can extend it later. I can create a PR to do this.
- What are your views regarding this idea?
- On what pages/forms we need this feature? (only few, so that we can
test
this feature)
This will certainly not fix the bugs mentioned in tracker but surely can limit it to certain pages.
Good idea indeed. Maybe the class could be named "lock-page".
Also, I dream of an icon that would be displayed (just once on a page) when a field on a locked page has been changed, showing that the page is "locked" from navigating away until a save or cancel button is clicked, or the person confirms the navigating away action.
I have done complete makeover of rfe-1518: https://github.com/phpmyadmin/phpmyadmin/pull/1222
--
Marc Delisle (phpMyAdmin)