Skip to content

fix(webui): apply redesign styling to remaining pages and settings dialogs #1123

Done

Description

@jatmn

🤖 Kit (jatmn's assistant agent)

The Sentinel Fleet Workbench redesign landed on the shell and a few main Configuration surfaces, but most workspace pages, Administration, and the settings dialogs still use the pre-redesign card, table, and modal look. Dustin asked that every page and settings popup be walked through and brought onto the same styling approach. Analytics, Bot Resources, and other data/chart/table/stats pages need a full overhaul, not a light restyle: they were only lightly touched and still mostly look the way they did before.

Investigated read-only on main at de66727. No open issue already covers this.

What the redesign established

  • #1096 replaced daisyUI and Headless UI with Mantine for shared panels, buttons, badges, tables, filters, and editor dialogs, while keeping the existing compact appearance (Light / Dark / System, Navy Dark and Ice-Blue Light tokens in frontend/style.css).
  • #1114 centered every workspace tab and Administration at a shared 1,440px max width. Layout only.
  • #1118 (PR 1/2) is the visual redesign: the Sentinel Fleet Workbench shell (telemetry ribbon .sf-ribbon, 58px server/fleet rail .sf-rail, hub pills .sf-hub-pills, sub-tabs .sf-sub-tabs), elevated .sf-card / bento Command Center, modernized sign-in landing (.sf-login-*), and tonal badges. Tokens stay on :root / :root[data-theme="dark"].
  • #1119 (PR 2/2) added zero-modal master-detail Configuration workbenches (.sf-wb-*, .sf-diff-table, .sf-log-nav) for Automod Rules, Commands, and Log Channels. The "Full editor" buttons still open the old modal editors.

The new approach lives in frontend/style.css (Sentinel Fleet section from the "Sentinel Fleet Workbench" comment through the configuration workbench rules) plus the sf-* markup in frontend/app.js. Shared controls still come from Mantine (tools/webui/mantine.js, @mantine/core).

Already on the new look (4 pages + shell):

  • Shell chrome and Discord sign-in landing (frontend/app.js, TelemetryRibbon / App / Workspace)
  • Command Center / Dashboard — tabDashboard (with leftover card / card-body / card-title in a few spots)
  • Automod Rules — tabRules / RuleWorkbenchInspector
  • Commands — tabCommands / CommandWorkbenchInspector
  • Log Channels — tabLogChannels (stream cards still use card-body / card-border)

Still old or mixed: 22 workspace pages, the owner Administration Updates page, and all 6 settings / record dialogs. The shell wraps those pages, but their content was not restyled.

Priority: Analytics, Resources, and same-kind data pages need a full overhaul

These pages were only lightly touched (#1118 mentioned Analytics polish; #1114 only shared the page width). They still use the pre-Sentinel analytics / usage / resources systems and should be rebuilt to the new site style, not given a light pass over the existing KPI strips, charts, and tables.

Analytics hub (chart / KPI / stats)

  • Analytics — tabAnalytics / analyticsPanel in frontend/app.js; charts from frontend/charts.js; styles in frontend/style.css ("Analytics dashboard (feat(webui): redesign the Analytics page so it is dense and informative #587)", including the shared chart layout and KPI strip). Still analytics-page chart-page, an-kpis, an-grid, an-metric-select, an-panel / an-panel-header / an-panel-title, an-empty, dashboard-note. Filters and chrome: RangeSelector, NativeSelect metric filter, KpiTile strip, EnforcementChart, MembershipChart, ActivityHeatmap, RankList. No .sf-card or bento layout.
  • Platform analytics — TabPlatformAnalytics / PlatformAnalytics / PlatformServerTable in frontend/app.js; styles under "Platform analytics (feat(webui): redesign Owner Platform analytics as an at-a-glance dashboard #618)" in frontend/style.css. Still analytics-page platform-page chart-page, the same an-kpis / an-grid / an-empty / alert alert-soft chrome, plus a pre-redesign fleet table: pa-table, pa-controls, pa-sort, pa-metric, table table-sm table-scroll rounded-box, badge badge-soft, input input-sm, select select-sm. Same KpiTile, RangeSelector, EnforcementChart, MembershipChart, and RankList stack as Analytics.
  • Bot Resources — TabBotResources / BotResources / ResourceCard / MemoryBillingPanel / BunnyCostPanel / BunnyCdnPanel in frontend/app.js; styles under "Bot Resources (feat(webui): Owners → Bot Resources page (bot + API CPU, memory, disk, activity and trends) #652)" in frontend/style.css. Still analytics-page plus daisy-era card card-body card-border, br-card / br-costs / br-metrics / br-section, and Database Usage-era du-card / du-grid / du-metrics / du-head. Process cards, CPU/memory time-series, rate/gauge charts, cost history, and CDN breakdowns were not moved onto .sf-card or the bento grid.
  • Database Usage — TabDatabaseUsage / DatabaseUsage / UsageCard in frontend/app.js; styles under "Database usage (feat(webui): move Database Usage to the Owners section of the main web UI and make it an at-a-glance view with graphs #613)" in frontend/style.css. Still card card-body card-border and the du-card / du-grid / du-metrics / du-health / du-trend-* system: usage cards, health chips, fact rows, and trend charts with the old look.

Records and Fleet tables (same kind: data / table / stats)

These are not on the workbench or bento language either. They should be included in the same overhaul so list, filter, and stats pages match Analytics and Resources rather than keeping the old table-zebra / card / bare h2 treatment.

Remaining pages still on the old card / form look

Walk each of these and apply the same tokens and components as the Command Center and Configuration workbenches (sf-card, page-header or workbench chrome, tonal badges, shared controls).

Configuration

  • Badwords — tabBadwords (list-page, list-card, card bg-base-100 card-border card-title)
  • Known spam — tabKnownSpam (same list-page / card stack)
  • Known-bad images — tabKnownBadImages (same list-page / card stack)
  • Templates — tabTemplates / TemplateCard (card card-body card-border, template-card, reference-panel, bare h2)
  • Settings — tabSettings / AccessRolesCard (stacked card bg-base-100 card-border / card-title / card-actions sections, bare h2)

Fleet & Access and other forms

  • Your servers — TabServerEnrollment (card bg-base-100 card-border)
  • Server approvals — TabServerApprovals (uses pageHeader, content not on .sf-card)
  • System log channels — TabSystemLogChannels / SystemLogDestinationEditor (card card-body card-border, inline form still btn / input / row)
  • Server admins — TabServerAdmins / ServerAdminRow
  • System admins — TabSystemAdmins (list / list-row)
  • Deletions — TabDeletions (card card-body card-border card-title)
  • Deletions (all servers) — TabOwnerDeletions (same deletion cards)

Owner Administration (separate entry)

Settings popups and dialogs still on the old modal look

All of these open in the shared Mantine Modal (classNames: { content: "modal-overlay" } in frontend/app.js). The overlay behavior can stay; the interiors still use .modal-box, .modal-action, .rule-editor, and daisy-era btn / input / toggle classes, not the workbench inspector / .sf-card language.

  • Automod rule editor — RuleEditor (.modal-box.rule-editor)
  • Custom automod rule editor — CustomRuleEditor (same)
  • Onboarding trap editor — OnboardingTrapEditor (same)
  • Command editor — CommandEditor (.modal-box.command-editor / .rule-editor)
  • Case file dialog — CaseView (.modal-box.case-view, case header/sections)
  • Ban dialog — BanDialog (.modal-box.ban-dialog)

"Full editor" on the already-restyled Rules and Commands workbenches still opens the old rule/command modals, so those popups stay visibly behind the new pages until they are restyled.

Shared component and token gaps

Closing these will make a consistent pass much easier than restyling each page from scratch:

Acceptance criteria

  • Every workspace page, Administration Updates, and every settings/record dialog uses the same Sentinel Fleet tokens and shared components as the Command Center and Configuration workbenches.
  • Analytics, Platform analytics, Bot Resources, Database Usage, and the other data/chart/table/stats pages listed above are fully overhauled to the new style, not lightly patched.
  • Light, Dark, and System appearance still work; contrast stays at the existing WCAG AA bar.
  • Layouts stay usable on the existing responsive breakpoints (including the shared 1,440px workspace width).
  • This is a visual consistency pass only: no behavior, permission, or API changes.
  • Frontend contrast / state coverage is updated for the restyled surfaces where the current tests assert layout or chrome.

Activity

  1. jatmn commented on Dec 3, 2026

    @jatmn
    OwnerAuthor

    🤖 Kit (jatmn's assistant agent)

    Follow-up sweep after Dustin asked to check every page and settings pop-up for old style, bare/unstyled text, and missing CSS (11:45 PM PT). Still report-only: no code changes, PRs, or assignees.

    Related: #1128 found that Your servers uses daisyUI list / list-row / list-col-grow classes that were never redefined after #1096, so the list renders bare. This sweep looked for more of that pattern. #1127 is the post-redesign unused-library and dead-CSS cleanup and should stay blocked by this issue; do not delete leftover CSS until the restyle lands.

    Investigated read-only on main at de66727. Method: every class / className token in frontend/*.js, frontend/charts.js, frontend/list-controls.js, and both HTML entries was compared to class selectors in frontend/style.css, frontend/controls.css, and tools/webui/style.css. Dynamic prefixes such as an-heat-${n}, sf-tri-${mode}, and sf-infra-fill-${tone} were treated as defined when the prefix exists.

    Counts

    • (a) Old pre-Sentinel styling: 22 workspace pages, Administration Updates, all 6 Mantine editor/record dialogs, the shared emptyPanel hero, and the toast still use the pre-Sentinel card / btn / table-zebra / modal-box / an-* / du-* language (same set as the issue body, plus the empty/error hero and toast).
    • (b) Undefined classes: 35 class tokens appear in markup but have no CSS rule. 3 of those have no fallback and actually render bare: list, list-row, list-col-grow on 5 pages. 9 are leftover daisyUI modifiers (badge-soft, badge-sm, badge-neutral, alert-soft, table-sm, toggle-sm, toast-end, toast-bottom, menu-sm) whose base class (.badge, .alert, .table, .toggle, .toast, .menu) still applies. The rest are unused aliases next to a class or id that does provide layout (see the list below).
    • (c) Bare unstyled headings / lists / forms: 16 pages use a raw h2 instead of pageHeader() / .page-header. 5 Fleet pages use an unstyled ul.list / li.list-row. Settings preview mode uses a raw <ul> with no classes at all. Deletion preview/result blocks have no CSS. Dialog h2 / h3 inside the Mantine modal portal miss #content typography (see portals). 21 native confirm() dialogs are browser chrome and sit outside the design system.
    • (d) Mixed old/new on one screen: Command Center, Automod Rules, Commands, Log Channels, the shell header/rail, and the owner infrastructure strip combine .sf-* with leftover card / card-title / btn / bare h2.

    Undefined classes

    No CSS and no fallback (these render bare)

    Class Where used
    list, list-row ServerAdminApplications (Server admins), ServerEnrollmentApprovals (Server approvals), TabSystemAdmins, TabSystemLogChannels (“Saved destinations”), TabServerEnrollment (Your servers) in frontend/app.js
    list-col-grow TabServerEnrollment only (the name/status column)

    This is the same bug #1128 reported on Your servers. It also affects System admins, System log channels, Server approvals, and the Server admin requests list on Server admins.

    Leftover daisyUI modifiers (base class still styles the control)

    These were never reimplemented in frontend/controls.css after #1096. The control is not fully unstyled, but size, tone, or placement utilities do nothing:

    • badge-soft (21), badge-sm (17), badge-neutral (6) — Bot servers, Usage, Platform analytics, Resources, Badwords, Commands, Log Channels, Members, Cases, Case file dialog, Bans, Deletions, Administration badges, and others
    • alert-soft (10) — Usage, Platform analytics, Bot Resources, preview banner, toast, Members, Administration notice
    • table-sm (7) — Platform analytics server table, Bot Resources billing/cost tables, Templates variable table, Members
    • toggle-sm (5) — Rule editor header/exceptions and Command editor / enabled-cell toggles
    • toast-end, toast-bottom — Notification in frontend/app.js (.toast already pins the corner)
    • menu-sm (2) — ServerPicker listbox and IdPicker result list (frontend/app.js)

    Defined name nearby, so layout still works (dead aliases; clean up with #1127)

    • sf-rail — rail root also has .sidebar (Workspace)
    • sf-hub-bar, navbar — header also has .workspace-header
    • sf-infra — section also has .sf-card / .sf-bento-card
    • administration-grid — grid is actually #update-cards in frontend/style.css
    • administration-content — frontend/administration/index.html; layout is #content
    • chart-page, database-usage-page, platform-page, resources-page — kept on purpose for “embedded clients still using the previous stylesheet” (DatabaseUsage comment in frontend/app.js); no rules on current main
    • br-card, br-kpi, br-metric — Resources also uses du-card / an-kpi / du-metric
    • log-channel-card, template-card, case-table, list-add, entry-count, access-role-row, dashboard-overview-head, last-updated, trend-pick, an-heatmap (cells use defined .an-heat-*), override-tag (usually next to .badge or .rule-badge)

    Undefined wrappers that leave a real layout/style gap

    • rule-editor-title — RuleEditorHeader / CommandEditor (frontend/app.js); children have .eyebrow / .card-title, but the header wrapper itself has no rules
    • deletion-preview, deletion-controls, deletion-result, deletion-result-text — DeletionPreview / DeletionRequestControls (frontend/app.js); no fallback classes

    Per-screen checklist

    Problem types: (a) old pre-Sentinel look, (b) undefined class, (c) bare unstyled heading/list/form, (d) mixed old/new.

    Shell, sign-in, empty and error states

    • Workspace shell (d, b) — Workspace in frontend/app.js. Rail is sidebar sf-rail (.sf-rail undefined; .sidebar supplies the 58px layout). Header is navbar bg-base-100 workspace-header sf-hub-bar (.navbar / .sf-hub-bar undefined). Sub-tabs are restyled. Server picker uses undefined menu-sm.
    • Sign-in and startup — login-card / .sf-login-* in frontend/style.css. Already on the new look. Leave as the reference for this pass.
    • emptyPanel (a, c) — emptyPanel in frontend/app.js: hero bg-base-200 rounded-box. Used for “no access”, “configuration unavailable”, and similar. Pre-Sentinel hero, not .sf-card.
    • Toast (a, b) — Notification: toast toast-end toast-bottom plus alert alert-soft. .toast / .alert work; the placement and “soft” classes do not.
    • Preview banner (a, b) — Workspace uses alert alert-soft.
    • Info tips — .info-tip* in frontend/style.css are defined and are not portaled. No issue found.
    • Native confirm dialogs (c) — 21 confirm(...) call sites in frontend/app.js (discard drafts, revoke grants, remove a server, delete a command, unban, erase deletion data, and others). These are browser chrome and cannot pick up Sentinel tokens until they become in-app dialogs. No drawers were found.

    Command Center (already restyled, leftovers)

    • Command Center / Dashboard (d, b) — tabDashboard, DashboardTelemetryBento, ActiveShieldsCard, OwnerInfraStrip. Bento / .sf-card / .sf-tri are in place, but Overview still uses stats / card-title / undefined dashboard-overview-head. Getting-started is a leftover card-title. Owner infra is card bg-base-100 sf-card sf-bento-card sf-infra.

    Analytics, Resources, and same-kind data pages (full overhaul, as in the issue body)

    • Analytics (a, b) — tabAnalytics / analyticsPanel / frontend/charts.js. Still analytics-page / an-*. Root also has undefined chart-page. Heatmap cells are .an-heat-* (defined); the SVG root .an-heatmap is not. Metric picker uses undefined trend-pick on top of .btn.
    • Platform analytics (a, b) — PlatformAnalytics / PlatformServerTable. Same an-* stack plus pa-table, table table-sm, badge-soft / badge-neutral, alert-soft, undefined platform-page / chart-page.
    • Bot Resources (a, b) — BotResources / ResourceCard / billing and Bunny panels. card + du-* + undefined br-card / br-kpi / br-metric / resources-page / chart-page, table-sm, badge-soft.
    • Database Usage (a, b) — DatabaseUsage / UsageCard. card + du-*, badge-soft, alert-soft, undefined database-usage-page / chart-page.
    • Cases (a, b, c) — tabCases. Bare h2, card, table table-zebra, undefined case-table, ListControls.
    • Bans (a, b, c) — tabBans. Bare h2, ban-table, badge-soft.
    • Members (a, b, c) — tabMembers. Bare h2, card, table-sm, badge-soft, alert-soft.
    • Audit Log (a, c) — tabEvents. Bare h2, table table-zebra audit-table, btn pagination.
    • Bot actions (a, c) — tabActions. Bare h2, DataTable.
    • Bot servers (a, b, c) — TabOwnerServers. Bare h2, DataTable, badge-soft.

    Configuration

    • Automod Rules (d, b) — Workbench is restyled; rule cards still mix card / rule-list-card. “server override” uses undefined override-tag. “Full editor” still opens the old modal.
    • Commands (d, b, c) — Workbench is restyled but the page still has a bare h2 (“Commands”), leftover badge-soft / override-tag, and a bare h3 (“System admin only”). “Full editor” is the old modal.
    • Log Channels (d, b, c) — Workbench nav is restyled; a bare h2 remains, and each stream card is card bg-base-100 card-border log-channel-card (.log-channel-card undefined).
    • Badwords, Known spam, Known-bad images (a, b, c) — list-page / card / list-card plus undefined list-add / entry-count, badge-soft, bare h2.
    • Templates (a, b, c) — Bare h2 / h3, card + undefined template-card, table-sm in the variable reference panel.
    • Settings (a, b, c) — Bare h2, stacked card bg-base-100 card-border sections. AccessRolesCard preview mode renders a raw <ul> with no classes. Edit mode rows use undefined access-role-row (they also have .row.form-row).

    Fleet & Access

    • Your servers (a, b, c) — TabServerEnrollment. Old card, bare h2, bare status <p>, and undefined list / list-row / list-col-grow. Layout overhaul is owned by feat(webui): redesign the Your servers page #1128. This issue should not treat it as a light restyle; keep it checked off here when feat(webui): redesign the Your servers page #1128 lands.
    • Server approvals (a, b, c) — TabServerApprovals / ServerEnrollmentApprovals. Uses pageHeader, but enrollment requests are ul.list / li.list-row with a bare h3. Same bare-list bug as feat(webui): redesign the Your servers page #1128.
    • Server admins (a, b, c) — TabServerAdmins / ServerAdminApplications. pageHeader plus the same unstyled list / list-row under a bare h3 (“Server admin requests”).
    • System admins (a, b, c) — TabSystemAdmins. pageHeader, then the same unstyled list / list-row for grants.
    • System log channels (a, b, c) — TabSystemLogChannels. Old card, undefined list / list-row for “Saved destinations”, bare h3, inline SystemLogDestinationEditor (btn / input / row).
    • Deletions and Deletions (all servers) (a, b, c) — Bare h2, old cards, and undefined deletion-preview / deletion-controls / deletion-result / deletion-result-text.

    Administration (separate entry)

    • Updates (a, b, c) — frontend/administration.js / frontend/administration/index.html. Old card / btn / badge-soft / alert-soft. Status uses undefined alert-soft. Card grid class administration-grid is undefined; layout currently comes from #update-cards. “Component updates” is a bare h2. Owner-denied and sign-in states still use card / card-title.

    Settings pop-ups and record dialogs (Mantine Modal)

    All six open in Modal.Root (frontend/app.js, classNames: { content: "modal-overlay" }). The root is inside WebuiTheme / MantineProvider, and document.documentElement.dataset.theme plus Mantine CSS variables still apply in the portal, so theme tokens are not lost. Two gaps remain:

    1. Heading and paragraph typography is scoped to #content h2, #content h3, and #content p in frontend/style.css. The portal mounts outside #content, so dialog titles fall back to unstyled heading metrics (only the global margin: 0 reset, plus whatever .case-title / .card-title provide).
    2. #content .input / .select / .textarea also miss the portal, but the same properties are already set globally in frontend/controls.css, so fields still paint.
    • Rule editor, Custom rule editor, Onboarding trap editor (a, b, c) — .modal-box.rule-editor; undefined rule-editor-title; toggle-sm.
    • Command editor (a, b, c) — .modal-box.command-editor / .rule-editor; same header class; toggle-sm.
    • Case file dialog (a, b, c) — .modal-box.case-view; section h3s (“Who”, “Why”, “Timeline”, “Evidence”) have no heading class; badge-soft.
    • Ban dialog (a, c) — .modal-box.ban-dialog; h2 “Ban a user” relies on .case-title inside the portal.

    Added acceptance criteria

    In addition to the criteria already in this issue:

    • No workspace page, Administration screen, empty/error state, toast, picker, or dialog uses a class that is not defined in the shipped CSS (no more list / list-row / list-col-grow or other dead tokens).
    • No screen or dialog leaves headings, lists, tables, or forms as unstyled raw elements (every h2/ul/table/input group uses a shared token or component, including content inside the Mantine modal portal).
    • The five Fleet lists that share the feat(webui): redesign the Your servers page #1128 bare-list bug are all fixed (Your servers via feat(webui): redesign the Your servers page #1128; the other four here unless a later issue takes them).
    • Native confirm() prompts are either replaced with in-app dialogs that use the same tokens, or explicitly accepted as browser chrome. No behavior changes.
  2. jatmn commented on Dec 3, 2026

    @jatmn
    OwnerAuthor

    🤖 Kit (jatmn's assistant agent)

    Merge order for this umbrella is in the master plan: #1151.

  3. jatmn commented on Dec 3, 2026

    @jatmn
    OwnerAuthor

    🤖 Kit (jatmn's assistant agent)

    jatmn decided (3 Dec 2026): every pop-up and confirmation must be an in-app dialog, no exceptions. Replace all 21 native confirm() dialogs (and any alert()/prompt()) with in-app dialogs.

  4. jatmn commented on Dec 4, 2026

    @jatmn
    OwnerAuthor

    fix-issue-queue claim 2026-12-04T07:58:37Z 8243c719eee75101

  5. self-assigned this
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions