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
{{ message }}
Repository navigation
Commit 3d4d18d
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(console): restyle the access and audit screens and drop the local UI copies (#188)
* refactor(console): restyle the operator CA banners onto the kit
Moves the admin needs-attention banners for operator CAs onto the kit's
Notice, keeping each one's role=status so a danger-tone banner still reads
as a calm status update, not an interrupting alert. Same text, same
section landmark and accessible name.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle the operator credential dialogs onto the kit
Rebuilds the record-certificate and request-credential flows on the
kit's Dialog, Field, Input, Notice, CopyBlock and KeyBackupStep. The
wizard keeps its own key generation (a P-384 key and CSR made in the
browser) and now feeds the kit's generic save-your-backup step instead
of a bespoke one. Same fields, same steps, same wording; the CSR
download still goes through the console's own download helper so the
request-body-never-holds-a-key test doubles keep working.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle the operators screen onto the kit
Rebuilds the Operators page on the kit's DataTable, EmptyState, Notice
and Button: the credentials and pending-request tabs, the deny
confirmation and the two empty states (no operator CA configured, no
credentials seen yet). The hand-rolled tab buttons stay as they are;
the kit has no tab-switching coverage under fireEvent.click yet, so
this keeps the proven interaction instead of risking it. Same columns,
same admin gating, same wording.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle the operator CA dialogs and register form onto the kit
Register, retire, CRL source, upload-CRL and OCSP all move onto the
kit's Dialog, Field, Input and Notice. The CRL and OCSP sub-forms keep
their radio groups as plain inputs (the kit has no radio pattern yet)
but the surrounding labels, text fields and warnings are the kit's.
Same fields, same confirmation flow, same refusal wording.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle the operator CAs screen onto the kit
Rebuilds the Operator CAs list on the kit's DataTable and EmptyState.
Same columns (CA, State, Fingerprint, Not after, CRL, OCSP), same
admin-only action set, same config-managed read-only state.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle agent keys onto the kit
Moves the Agent keys list and its create/revoke dialogs onto the kit's
DataTable, EmptyState, Notice and ShownOnceSecret: the one-time plaintext
key display is now the kit's shared shown-once pattern instead of a
bespoke copy button. Same columns, same ceiling rule, same scope toggle
for admins.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle approvals onto the kit
Rebuilds the Approvals list and its decide confirmation on the kit's
DataTable and Dialog. The deep-link focus row now uses the kit's own
highlightKey (aria-current, the tinted row and the scroll-into-view)
instead of a page-local ref. Same columns, same level gating, same
wording about checking the approval ID and summary.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle the audit log onto the kit DataTable
Moves the audit log off the TanStack-table-backed local DataTable onto
the kit's presentational one: the kind, target, via and outcome facets
and the summary search are now page-level state rendered through the
shared component, the same pattern the nodes and protocols pages
already use. Same columns, same filters, same tones.
Drops the per-column sort toggle the old table exposed on every
column; no test or doc ever covered it, and the log already reads
newest first without it. The simpler, unsorted kit table matches the
other restyled list pages.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): restyle the 404 page onto the kit
Swaps the local shadcn Button for the kit's on the not-found page, and
adds the axe check the rest of this wave's screens get.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): drop the dead DialogFrame shell
Every dialog that used the hand-rolled DialogFrame (operator deny,
the operator CA dialogs, credential complete and the credential
request wizard) now renders through the kit's Dialog. Nothing imports
DialogFrame any more.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
* refactor(console): drop the local TanStack DataTable
Every list page now reads through the kit's presentational DataTable;
the audit log was the last one on the TanStack-table-backed local
copy, dropped in the previous commit. Nothing imports
components/data-table any more, so it goes, along with the
@tanstack/react-table dependency it was the only user of.
lucide-react has no importers left either (the kit's own icon set
replaced it over the P1/P2 waves), so it goes too.
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
---------
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Co-authored-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
0 commit comments