You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michal Čihař edited this page Apr 18, 2016
·
6 revisions
This page establishes some of the expectations for when we interact with the user. See also the English styleguide for information about how we use the English language.
Testing user input
Where possible, we test for valid user input before submitting a form. For instance, on the Createdatabase page, we check that a database name was provided before submitting the form.
Missing but required form fields should be highlighted in red after the first submission attempt (as seen on the Createdatabase or Adduser pages).
Waiting for server
Any time we submit an AJAX request to the server and are waiting for a response, we should display the throbber.
Dialogs
Before doing anything destructive (such as DROP DATABASE or TRUNCATE), we should prompt the user.
Confirmation dialogs and informational messages should use the standard interface we've implemented (PMA_ajaxShowMessage).