Skip to content

[UI] Flat refresh: flat design and a dashboard that lists what needs attention (tracking) #450

Open
6 of 9 issues completed

Description

@LarsLaskowski

Tracking issue for a visual refresh of the web UI. It is not implemented itself; the work is in its nine sub-issues.

Goal

The current interface uses a glass look: translucent surfaces with blur, blue gradients, 24 px radii, a dark navigation drawer and a hero panel on the dashboard. The dashboard shows the same counters two or three times (metric cards, Update pressure, Coverage snapshot) and no concrete item a user could act on.

The refresh

  • replaces the glass look with flat white panels on a cool grey ground, hairlines instead of shadows, small radii and one accent color,
  • moves the navigation from the drawer into the top bar,
  • rebuilds the dashboard around "what needs attention": a headline sentence, three lists of concrete items, a strip of the last ten scans and the inventory counters,
  • gives every page one header (title and one sentence) and one table style,
  • shows scan status as a dot and a word, and update state, vulnerability status and severity as chips.

The technology stack (Blazor Server, MudBlazor), the routes, the actions, the responsive card layout of tables below 960 px, the skeleton loaders, persistent component state and the light/dark toggle stay.

Previews

Static mockups with sample data at 1360 px; they are not screenshots of the running application.

Dashboard

Dashboard

Dashboard, dark theme

Dashboard, dark theme

Runtime Containers

Runtime Containers

Concept

The concept document with all design tokens (light and dark), the static HTML mockups and the script that renders them is in docs/ui-concept/flat-refresh/:

Every sub-issue repeats the values it needs, so it can be implemented from its own text and images.

Sub-issues and order

Step Issue Depends on
1/9 #451 Design tokens, typography and MudBlazor theme —
2/9 #452 Shared components for status, severity, page header, panel and tables #451
3/9 #453 Dashboard that lists what needs attention #451, #452
4/9 #454 App shell with a top navigation instead of the drawer #451, #453
5/9 #455 Runtime Containers list #451, #452
6/9 #456 Runtime Container detail #451, #452
7/9 #457 Vulnerabilities page #451, #452
8/9 #458 List pages My Images, Observed Images, Base Images, Docker Instances, Scan History #451, #452, #455, #456
9/9 #459 Remaining detail pages, error pages, removal of the old styles all others

Order: 1 → 2 → (3, 5, 6, 7) → (4 after 3, 8 after 5 and 6) → 9. Between two steps the application is usable: converted pages have the new structure, the others keep their old structure in the flat style of step 1.

Related issues

Rules that hold for every sub-issue

  • No route, no action and no computed value changes unless the sub-issue says so. Which values the pages show is owned by the area documents under docs/areas/.
  • Fonts and styles are self-hosted; the application loads nothing from a CDN.
  • Text has a contrast of at least 4.5:1 against its background in both themes (3:1 from 24 px). Colors that must be told apart also differ in lightness.
  • Controls are real button, a and input elements with a label or an aria-label, at least 44 px high.
  • prefers-reduced-motion keeps switching off transitions.
  • Tests that assert CSS class names are adapted in the sub-issue that changes the markup; every new component gets bUnit tests.
  • docs/areas/web-ui.md and section 9 of docs/ARCHITECTURE.md are updated in the sub-issue that changes what they describe.
  • A pull request that changes the UI shows before and after screenshots in its description (docs/CONTRIBUTING.md).

Sub-issues

Sub-issues

6 of 9 Issues completed
Loading 9 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions