Skip to content

fix(ui): use the MD3 window classes on the content pages - #1274

Merged
TheMeinerLP merged 2 commits into
mainfrom
fix/ui-window-classes-content-pages
Nov 23, 2026
Merged

TheMeinerLP merged 2 commits into
mainfrom
fix/ui-window-classes-content-pages

Conversation

@TheMeinerLP

@TheMeinerLP TheMeinerLP commented Nov 23, 2026 •

Copy link
Copy Markdown

Description

Task 7.5 of migrate-content-to-components. The repository browser, search, overview, plugin blocks, status dashboard and the header hero still changed their layout at the default Tailwind widths, so on a tablet or a narrow desktop window they switched at different widths than every other page. They now switch at the MD3 window classes the design names: medium from 600 px, expanded from 840 px, large from 1240 px.

Layout changes by width (window width in px), following the mapping of the design (sm: to medium:, md: to expanded:, lg: and xl: to large:, max-sm: to max-medium:):

  • 600 to 639: file upload fields (3 columns), search result row padding and the plugin block action row already use their wider arrangement (sm: became medium:); the narrow header hero padding now ends at 600 instead of 640 (max-sm: became max-medium:).
  • 768 to 839: status panel tiles (3 columns) and the header hero (logo beside the text) now switch at 840 instead of 768 (md: became expanded:).
  • 1024 to 1239: file browser details card, overview snippet card (this grid used a 1024 arbitrary width) and search filters beside the results now switch at 1240 instead of 1024 (lg: and min-[1024px]: became large:).
  • 1240 to 1279: status panel tiles (5 or 6 columns) already use their wider arrangement (xl: became large:).

The side-by-side grids with an arbitrary column value move their entry in the style-gate baseline (now large:), no new exception is added.

Type of change

  • fix - bug fix

How was this tested?

  • Class-level tests added for the header hero, status panel tiles and search layout; the browser and overview tests now pin the window class.
  • npm run eslint (whole frontend), npm run typecheck, vitest on the touched folders plus src/anchors and src/style-gate: all green.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md
  • Tests cover the change
  • ./gradlew build passes locally (frontend-only change; frontend checks listed above)
  • Documentation and configuration samples are updated if the change is user-facing (not needed)
  • Existing copyright headers are preserved
  • No credentials, tokens or personal data are included in the diff

The pages still switched layout at the default Tailwind widths (640,
768, 1024 and 1280 px) while the rest of the dashboard follows the MD3
window classes (600, 840, 1240 px). Between those widths they showed a
layout that no other page uses. sm: and md: become medium:, lg: becomes
expanded:, xl: becomes large:, max-sm: becomes max-medium:.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP TheMeinerLP added the ci:e2e Run the dashboard end-to-end tests label Nov 23, 2026
The design maps md: (768) to expanded: (840) and lg: and the 1024
pixel arbitrary width to large: (1240). The previous change used
medium: for md: and expanded: for lg:. Correct the classes, the class
level tests and the style-gate baseline entries.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 1e6f2cc Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix/ui-window-classes-content-pages branch November 23, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:e2e Run the dashboard end-to-end tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant