Skip to content

feat(ui): clearer audit, change and trigger pages, and a signed-in sqb dev UI - #1445

Merged
kvlonge merged 4 commits into
mainfrom
feat/ui-admin-gaps
Nov 13, 2026
Merged

kvlonge merged 4 commits into
mainfrom
feat/ui-admin-gaps

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Why

The UI audit left a few gaps that a first user hits on admin and change pages, and sqb dev could not serve the person API, so its embedded UI had nothing to show.

Changes

  • Audit log: every audited action has a name. Location work reads as what was asked for, such as "Plan sqb build --select orders" or "Sync the warehouse copy", and run reads show a short run id. The raw before and after is shown only when there is no summary, and always in the tooltip.
  • Changes and Overview: a deploy with more than 20 node changes is counted by kind, with a "Show all N nodes" button. Overview's recent-change line uses the same counts.
  • Calendar triggers: the low-dates warning uses the same one-day horizon as the server, and "Known until" shows a relative time.
  • sqb dev keeps one local administrator and signs every loopback request in as it. The bootstrap read reports a new disabled login mode, Settings shows "Off: only reachable from this machine", and Sign out is hidden. Requests with a foreign Host or Origin are still refused. The TypeScript client is regenerated.

Provider details on Locations are not included; they need the server to publish provider facts first.

Verification

  • make check-ci passes.
  • cargo test -p sqlbuild-orchestration passes on SQLite and PostgreSQL; the development test now checks that the local person is kept across restarts and that the bootstrap read needs no sign-in.
  • UI: npm run check and 225 unit tests pass.
  • Ran sqb dev on a DuckDB project: the UI opened with no sign-in, a foreign Host got 403, and a revoked admin role came back on restart. Audit, Changes, Overview and trigger pages checked in screenshots.

…rator

sqb dev now keeps one local person, an installation administrator, and
mounts the person API for loopback requests as that person. The bootstrap
read reports the new disabled login mode, and the UI hides Sign out there.
@kvlonge kvlonge added the full-verify Run the full Verify matrix on this pull request label Nov 13, 2026
@kvlonge
kvlonge enabled auto-merge November 13, 2026 12:24
@kvlonge
kvlonge added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit ec80deb Nov 13, 2026
52 of 73 checks passed
@kvlonge
kvlonge deleted the feat/ui-admin-gaps branch November 13, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-verify Run the full Verify matrix on this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant