Skip to content

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

  • @beepdotgov I 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 lastViewedOrgId cookie?

Related issues

Closes #539 (closed)

How to test

  1. Log into CF via the command line, then run npm run dev-cf
  2. Visit /orgs

Screenshots

Desktop:

Screenshot 2024-10-09 at 12 15 42 PM

Mobile:

Screenshot 2024-10-07 at 4 05 20 PM

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

Merge request reports

Loading