Repository navigation
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: oxidecomputer/console
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c1e623ca
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: oxidecomputer/console
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 700ff8bf
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 4 commits
- 32 files changed
- 3 contributors
Commits on Sep 3, 2026
-
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 <[email protected]> Co-authored-by: Joe Thel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c927f2f - Browse repository at this point
Copy the full SHA c927f2fView commit details -
Keep row actions menu open when table actions callback changes identi…
…ty (#3364) The Firefox run on the audit log merge to main failed `Silo IP pools` on all three attempts, each time in `clickRowAction` on the menu item, with Chrome and Safari passing: https://github.com/oxidecomputer/console/actions/runs/33767277998/attempts/1 I could not repro locally with the code as-is, but I can make it happen by adding a delay in the mock API (see below). `SiloIpPoolsTab` fetches the silo's pools twice: the paginated list that the table renders, and a second `useQuery` for all of them, which the "Make default" confirm modal uses to find the existing default for the same IP version and type so it can warn that it will be replaced. `makeActions` depends on that second result. The sequence in the test: 1. The test unlinks a pool, and the mutation's `onSuccess` invalidates both the paginated list and the all-pools list. 2. The test waits for the unlinked row to disappear, which happens as soon as the paginated refetch lands, and then opens the next row's menu. 3. If the all-pools refetch has already landed by then, nothing happens. If it lands after the menu is open, it gives `makeActions` a new identity. 4. `useColsWithActions` builds a new actions column with a new inline `cell` closure. 5. [`flexRender`](https://github.com/TanStack/table/blob/ab2819c/packages/react-table/src/index.tsx#L18-L27) renders a function `cell` as a component, so a new function is a new element type and React remounts the whole cell. 6. The open menu is unmounted along with the cell and comes back closed, so the menu item Playwright was about to click is gone. To confirm this, I added a 150ms delay to the mock all-pools response so it lands right around the time the test opens the menu. On main, the e2e test fails 5 out of 42 runs on Firefox with exactly the CI error, detached menu item and all, at the same line. With the fix and the same delay, it passes 24 out of 24. A longer delay like 1.5s makes the test pass again on main because Playwright opens the menu and clicks before the refetch lands, which is also why the test has been fine locally. With the 1.5s delay and a throwaway e2e test that holds the menu open across it, the menu closed before the fix and stayed open after. The fix is to make the more actions button cell a single module-level `ActionsCell` component and pass `makeActions` and `copyIdLabel` through column `meta` instead of closing over them in a dynamic cell definition. The element type is then stable no matter how often the callback or the columns array changes identity, so it fixes every table using `getActionsCol` without touching any call sites. The browser spec opens a row menu, rerenders with a new `makeActions`, and asserts the menu is still open. It failed in all three browsers before the fix. This is the same mechanism behind the polling-closes-the-menu problems in #2112, #2460, and #2816. Each of those was fixed by memoizing `makeActions` or the columns array carefully enough to keep the closure identity stable. With a stable cell component, that memoization is only a render-count optimization, so I softened the doc comments on `useColsWithActions`. The `instanceState` hack on NIC rows from #2460 could be unwound now, but I've left that for a followup.
Configuration menu - View commit details
-
Copy full SHA for 7ac1e3c - Browse repository at this point
Copy the full SHA 7ac1e3cView commit details -
Drop
instanceStaterow hack from instance NIC and disk tables (#3365)We had a hack in a couple of spots to prevent certain row actions componenents from unmounting and remounting, which would cause an open row actions menu to close. #3364 makes the hack unnecessary, so we remove it. 4dccaed adds e2e tests for those exact scenarios and shows they pass in CI. But those tests are too specific, so they're not worth keeping around. The next commit reverts them. The last one adds some vitest browser tests that are a little more general, showing how an open menu behaves when its underlying state changes (in this case a delete button going from disabled to enabled).
Configuration menu - View commit details
-
Copy full SHA for da9d8b5 - Browse repository at this point
Copy the full SHA da9d8b5View commit details
Commits on Sep 4, 2026
-
Add
msback to content, fix header overflow (#3366)Before: <img width="130" height="292" alt="image" src="https://github.com/user-attachments/assets/85f4aff5-a33f-4083-aeb0-a47bbd99fe77" /> After: <img width="128" height="269" alt="image" src="https://github.com/user-attachments/assets/0593e209-fb99-4e16-813c-e9d38ba52707" />
Configuration menu - View commit details
-
Copy full SHA for 700ff8b - Browse repository at this point
Copy the full SHA 700ff8bView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff c1e623ca...700ff8bf