mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Add note to docs about async form behavior
This commit is contained in:
@@ -14,6 +14,7 @@ Have questions about this document or anything not covered here? Feel free to re
|
|||||||
* [Accessing the AWX web interface](#accessing-the-awx-web-interface)
|
* [Accessing the AWX web interface](#accessing-the-awx-web-interface)
|
||||||
* [AWX REST API Interaction](#awx-rest-api-interaction)
|
* [AWX REST API Interaction](#awx-rest-api-interaction)
|
||||||
* [Handling API Errors](#handling-api-errors)
|
* [Handling API Errors](#handling-api-errors)
|
||||||
|
* [Forms](#forms)
|
||||||
* [Working with React](#working-with-react)
|
* [Working with React](#working-with-react)
|
||||||
* [App structure](#app-structure)
|
* [App structure](#app-structure)
|
||||||
* [Naming files](#naming-files)
|
* [Naming files](#naming-files)
|
||||||
@@ -124,6 +125,9 @@ API requests can and will fail occasionally so they should include explicit erro
|
|||||||
|
|
||||||
- **other errors** - Most errors will fall into the first two categories, but for miscellaneous actions like toggling notifications, deleting a list item, etc. we display an alert modal to notify the user that their requested action couldn't be performed.
|
- **other errors** - Most errors will fall into the first two categories, but for miscellaneous actions like toggling notifications, deleting a list item, etc. we display an alert modal to notify the user that their requested action couldn't be performed.
|
||||||
|
|
||||||
|
## Forms
|
||||||
|
Our forms should have a known, consistent, and fully-resolved starting state before it is possible for a user, keyboard-mouse, screen reader, or automated test to interact with them. If multiple network calls are needed to populate a form, resolve them all before displaying the form or showing a content error. When multiple requests are needed to create or update the resources represented by a form, resolve them all before transitioning the ui to a success or failure state.
|
||||||
|
|
||||||
## Working with React
|
## Working with React
|
||||||
|
|
||||||
### App structure
|
### App structure
|
||||||
|
|||||||
Reference in New Issue
Block a user