Skip to content

feat(demo): redesign — show the grid first, and give the site a mark - #8

Merged
MeAkib merged 1 commit into
mainfrom
feat/example-viewer
Sep 14, 2026
Merged

MeAkib merged 1 commit into
mainfrom
feat/example-viewer

Conversation

@MeAkib

@MeAkib MeAkib commented Sep 14, 2026

Copy link
Copy Markdown
Owner

The demo's job is to show a layout, and it was showing an essay. On the dashboard route the first tile started 440px down the page, behind two paragraphs of prose and a wall of controls. It now starts at about 185px.

Every panel is closed by default. The example keeps a heading and a one-line summary; the long explanation moved into a Notes panel beside Config and Code, so it is one click away rather than in the way.

Design work beyond that:

  • Spacing, radius and colour are scales now rather than per-component guesses, which is what stops a page this dense looking accidental.
  • A compact sticky header, so the nav survives scrolling a long grid. It unpins below 680px, where half a phone screen of chrome costs more than it gives.
  • The three panel buttons became one segmented control: one object with three states rather than three competing buttons.
  • Cards lost their coloured top stripe and widgets their left border. The hue is sample data, not meaning, and a stripe reads as a status indicator for a status that does not exist. Widgets keep the colour as a small dot.
  • Dark mode rebalanced, focus-visible rings, and reduced-motion honoured.
  • Mobile: the nav scrolls horizontally, the segmented control goes full width.

Adds a logo mark — three equal-width columns, blocks of unequal height, no gaps left behind. Six shapes, because it has to survive 16px in a tab. The page had been asking for favicon.ico, which was not in public/ at all, so every visit took a 404.

Verified in Chromium at 1280 and 390, light and dark: all five routes, all three panels, copy against real clipboard contents, item counts unchanged after toggling, zero failed requests and no console errors. 185 library tests still pass.

What does this change?

How to see it

Checks

  • npm test passes
  • npm run format run on the files I touched
  • Added a test, if this fixes a bug — one that fails before the change and passes after
  • npm run verify:compat, if I changed anything public (builds a real app on Angular 17–22)

The demo's job is to show a layout, and it was showing an essay. On the
dashboard route the first tile started 440px down the page, behind two
paragraphs of prose and a wall of controls. It now starts at about 185px.

Every panel is closed by default. The example keeps a heading and a one-line
summary; the long explanation moved into a Notes panel beside Config and Code,
so it is one click away rather than in the way.

Design work beyond that:

- Spacing, radius and colour are scales now rather than per-component guesses,
  which is what stops a page this dense looking accidental.
- A compact sticky header, so the nav survives scrolling a long grid. It
  unpins below 680px, where half a phone screen of chrome costs more than it
  gives.
- The three panel buttons became one segmented control: one object with three
  states rather than three competing buttons.
- Cards lost their coloured top stripe and widgets their left border. The hue
  is sample data, not meaning, and a stripe reads as a status indicator for a
  status that does not exist. Widgets keep the colour as a small dot.
- Dark mode rebalanced, focus-visible rings, and reduced-motion honoured.
- Mobile: the nav scrolls horizontally, the segmented control goes full width.

Adds a logo mark — three equal-width columns, blocks of unequal height, no
gaps left behind. Six shapes, because it has to survive 16px in a tab. The
page had been asking for favicon.ico, which was not in public/ at all, so
every visit took a 404.

Verified in Chromium at 1280 and 390, light and dark: all five routes, all
three panels, copy against real clipboard contents, item counts unchanged
after toggling, zero failed requests and no console errors. 185 library tests
still pass.
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
masonry-angular Ready Ready Preview Sep 14, 2026 4:48am UTC
masonry-angular-examples Ready Ready Preview Sep 14, 2026 4:48am UTC

@MeAkib
MeAkib merged commit ac6ce42 into main Sep 14, 2026
8 checks passed

This branch was successfully deployed

2 active deployments
Preview – masonry-angular-examples f28428b9 Deployed Sep 14, 2026 by vercel[bot]
Preview – masonry-angular f28428b9 Deployed Sep 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant