Skip to content

Commit cd161d0

Browse files
authored
Show the audit log as a full-width, filterable table (#853)
* Show the audit log as a full-width table under a centred header * Fit the audit page to the window and scroll only the table * Name the Bot a routing or lifecycle row is about under Bot * Keep a Bot's name on one line in the audit table * Draw the audit toolbar as a data table's: segmented views, filter buttons, smaller search * Sort the audit table's imports * Let React settle before the banner and audit tests remove the DOM
1 parent da9a3ca commit cd161d0

11 files changed

Lines changed: 1310 additions & 492 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ Newest first. `Unreleased` is what is on `main` and not yet tagged.
4343
`computers/<Bot id>` on the workspace volume (below). Files saved before the upgrade stay at the
4444
root of the volume, where no Bot sees them; move them into a Bot's folder to give them back.
4545

46+
### The audit log reads like a log
47+
48+
Admin → Audit fills the window and runs the table across the whole pane, with the title, the views
49+
and the search held in place while only the rows scroll. Each row shows the full date and time and a
50+
mark for what happened, with blocked rows tinted red and actions that did not happen tinted amber.
51+
The newest come first, and a press on When turns the order round. A search box and Outcome, Bot and
52+
Started by buttons narrow the events already loaded, and the count says how many of them match. A
53+
row about a Bot (a message routed to it, say) now names it under Bot.
54+
4655
### Each Bot on a shared computer has its own files
4756

4857
A computer that serves many Bots kept one folder of files for all of them, so a note one Bot saved

‎app/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@tanstack/react-hotkeys": "^0.10.0",
2828
"@tanstack/react-query": "^5.101.4",
2929
"@tanstack/react-router": "^1.170.27",
30+
"@tanstack/react-table": "^9.3.1",
3031
"better-auth": "^1.6.27",
3132
"boring-avatars": "^2.0.4",
3233
"class-variance-authority": "^0.7.1",

0 commit comments

Comments
 (0)