Repository navigation
Commit c927f2f
Audit log (#2860)
https://console-git-audit-log-oxidecomputer.vercel.app/system/audit-log
Copied from
[#2849](<#2849>), which I
accidentally merged and couldn't reopen even after I fixed `main`.
---
Still very rough, but has been a helpful exercise in working through
some of the design due to the sheer amount of information and differing
layout from other pages.
https://github.com/user-attachments/assets/84cbb9f6-d22b-4e64-9b1d-e39d74d22902
Stubbing out based on
[https://github.com/oxidecomputer/omicron/pull/7339](<https://github.com/oxidecomputer/omicron/pull/7339>).
Uses [Tanstack Virtual](<https://tanstack.com/virtual/latest>). On
testing with > 500 lines without virtualisation it starts to get a bit
chunky especially if you're interacting with the page (e.g. opening the
row).
Hoping that silo name and actor display name can be plumbed through so
those are hard-coded for now.
Still needs:
- [X] Error state
- [X] Loading/placeholder state
- [X] Copy JSON to clipboard
- [ ] Equivalent CLI/API command
- [X] Fix giant footer spacing
- [X] Arrow key selected item navigation
- [X] Hide overflowing columns
- [X] Improved focus visible look
- [ ] Timestamp hover
- [X] Fix gradient on light mode
- [X] Syntax highlighting
---------
Co-authored-by: Benjamin Leonard <benji@oxide.computer>
Co-authored-by: Joe Thel <joe.thel@oxidecomputer.com>1 parent c1e623c commit c927f2f
25 files changed
Lines changed: 1388 additions & 47 deletions
File tree
- app
- components/form/fields
- layouts
- pages/system
- ui
- lib
- styles
- components
- util
- __snapshots__
- mock-api
- msw
- test/e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
0 commit comments