Skip to content
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 Create database 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 Create database or Add user 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.


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).



Clone this wiki locally