Skip to content

Console UI rebuilt on the boards - #171

Open
sgomez wants to merge 58 commits into
mainfrom
frontend-rebuild
Open

sgomez wants to merge 58 commits into
mainfrom
frontend-rebuild

Conversation

@sgomez

@sgomez sgomez commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Merge with "Squash and merge" only. The branch history carries reference screenshots that were later removed; a squash brings only the final tree (no binaries).

Part of #135.

Summary

frontend/src/
├── lib/
├── design-system/   # primitives on React Aria, with stories and play tests
├── domain/          # slices: database, session, entities, publication, documents, forms,
│                    #   and Storybook-only: audit, nodes, overrides, overview, authsources
├── pages/           # composition only; every board state is a story
└── app/             # routes, ports, HTTP and memory adapters

The UI follows the prototype boards. Screens beyond M1 exist in Storybook only, over the memory adapters. Every story runs in Chromium with axe. No screenshot comparison: the look is reviewed against the boards in Storybook (npm run storybook, theme switch in the toolbar).

Evidence

  • After: CI green on frontend-rebuild: lint, tsc, Vitest in jsdom and Chromium (coverage over 98 % lines), build up to date, package contents, PHP suites.

To confirm in Storybook

Left out: #147 (Settings/PHP switch), #150 (import), #151 (remove screens/, robust timing tests). API follow-up: the 503 body to carry the module version and current Snapshot.

Merge Danger

Door: two-way

Blast Radius: UI

The Console's whole front end is replaced; the API gains fields and a list filter, and lists 12 rows per page ordered by name.

feat(api): data for the boards: list order, page size, filters, counts and names
Front-end tracer: layers, Storybook, React Aria, story tests and the service provider list
feat(frontend): display primitives and page layouts in Storybook
feat(frontend): the shell, sidebar and navigation as the boards show them
Overlay and navigation primitives on React Aria
feat(frontend): form primitives on React Aria
feat(frontend): state pages, 403 and 404 over the database and session slices
Delete flow over the entities slice
History, Rollback, Audit trail, Nodes and Compare in Storybook
…h the Options panel (#162)

* build(frontend): generate the root options of each document for the PHP view's Options panel

* feat(frontend): edit screen and PHP view over the entities slice, with the Options panel

* test(frontend): stories and page screenshots of the edit screen
* feat(frontend): row disclosure, focusable diff and the blocked Publish width

* feat(frontend): Publish as a page over the publication slice, with capability-gated diffs, discards and nodes

* test(frontend): Publish stories, page screenshots and tests over the publication slice
…#164)

* feat(frontend): Overview, the entity lists by set, External entities and Authsources over in-memory ports

* test(frontend): stories and page screenshots of Overview, the entity sets, External entities and Authsources

* build: rebuild the front end
* feat(frontend): add a service provider from pasted configuration over the entities slice

* test(frontend): stories and page screenshots of adding a service provider
* build: drop the remaining reference screenshots

* build: drop the last screenshot parameter
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