User_interface

Michal Čihař edited this page Apr 18, 2016 · 6 revisions
Clone this wiki locally

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

Required_field.png

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

AJAX_confirmation.png

Category:Devel