-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ac7f98
commit a9210fb
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Loading indicator | ||
|
||
This is the requirements doc for loading indicators to be implemented on the LIS Jekyll website. | ||
It's a very simple spec intended to force consistency across the site. | ||
|
||
## Specification version | ||
Version: 1.0.0 | ||
|
||
<details> | ||
|
||
An initial implementation of the loading indicator functionality was completed in May of 2023 (see [Web Components PR #113](https://github.com/legumeinfo/web-components/pull/113)). | ||
|
||
</details> | ||
|
||
## Input | ||
|
||
- something is being loaded | ||
|
||
### Mockup | ||
|
||
None | ||
|
||
## Output | ||
|
||
- The part of the page data is being for is covered by a semi-opaque element | ||
- The [UIkit spinner](https://getuikit.com/docs/spinner) is placed at the vertical and horizontal center of the covering element | ||
- An alert element can be used to indicate loading status, e.g. load failed, load success, something else | ||
|
||
### Mockup | ||
|
||
None | ||
|
||
## Implementation notes | ||
|
||
None |