Implements all orgs page
Changes proposed in this pull request:
- Implements UI design for "all orgs" page
- Adds a cookie to save last visited org id; sets link to that org on "all orgs" page
Notes
-
@beepdotgovI assumed we'd want commas for large memory usage numbers, but it does make them a bit wider.
Pending
- Tests for LastViewedOrgLink are failing because cookies can't be mocked there for some reason?? Weird.
Questions
- Should we set an expiration for the
lastViewedOrgIdcookie?
Related issues
Closes #539 (closed)
How to test
- Log into CF via the command line, then run
npm run dev-cf - Visit
/orgs
Screenshots
Desktop:
Mobile:
Submitter checklist
-
Added logging is not capturing sensitive data and is set to an appropriate level (DEBUG vs INFO etc) -
Updated relevant documentation (README, ADRs, explainers, diagrams)
Security considerations
Pulls various data from CAPI to show page