You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add audit log page
Add an admin-only, per-connection audit log page at /audit-log:
- New AuditLog page with a connection dropdown filter that drives the
connectionId query param, gated on the connection's admin permission
- Route wired in App.tsx; connection-validation redirect generalized to
cover connection-scoped routes (/ and /audit-log)
- Sidebar footer entry point: an audit-log icon plus the app version,
with the git commit hash shown on hover
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix: address review feedback on audit log page
- AuditLog: defer the admin gate until connections load so admins don't
flash the denied state; keep the connection dropdown outside the gate
so non-admins can switch to a connection they can access
- App: gate useEditorNavigation to the editor route so /audit-log no longer
writes editor URL params (schema/object) or fires schema/table queries;
reset the invalid-connection toast guard on valid connections
- useEditorNavigation/useQuery: thread an enabled flag through to disable
schema/table queries and the URL-sync effect when inactive
- ObjectSidebar: add aria-label to the audit-log icon button and make the
version tooltip trigger keyboard-focusable
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix: handle connection load error and empty list on audit log page
Resolve useConnections() error and empty-list states explicitly before
the admin gate, so a query error no longer shows "Loading…" forever and
zero connections shows a clear message instead of "need admin permission".
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix: use semantic button for version tooltip trigger
Replace the focusable <span tabIndex=0> with a <button type="button"> so
the version/commit tooltip trigger has proper interactive semantics for
keyboard and screen-reader users.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments