I think there should be a confirm navigation confirmation if user makes an attempt to leave corresponding page, while he has already started another operation like creating table.
Have a look at attachment for further details
New pull to master branch: https://github.com/phpmyadmin/phpmyadmin/pull/1145
Hi, Sorry for joining the conversation late; I thought I posted a comment four days ago, but apparently a browser crash caused that not to happen so this might be a bit late to add...but anyway,
This is a good idea, but we should be careful about where we implement it. Places where the user has entered a large amount of data in a time-consuming way certainly can benefit from this (SQL tab, the create fields page when creating a new table, etc). I do not think it should be used, for instance, on the Create Table dialog as shown in your screenshot. The odds a user has changed their mind and wants to navigate away are greater than the work required to re-type "tbl_users" and "3" in the form.
Just my two cents, but we shouldn't make navigating around everywhere more difficult; only protect the user when there's a good chance they've spent some time entering data.
Also, I do not think this requires adding a new configuration option.
I have corrected the patch, in fact written a different one.
This one will trigger only when the values of the input fields in form are not the one they were loaded with. rest you can understand from the code at: https://github.com/phpmyadmin/phpmyadmin/pull/1152
Hi, IMO, first we need to decide how much of unsaved data (i.e. minimum no. of fields with unsaved/modified value or based on no. of characters) should trigger this dialog on leaving page.
Merged to master.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.