Repository navigation
Rebuild the UI in the Workshop design - #7
Merged
Merged
Conversation
Replace the old shadcn look with the Workshop spec: concrete background, charcoal sidebar, one amber primary, ink for selection, 2px rules under titles and sheet headings, cards only for objects and sheets for lists. - Tokens, globals, Switch and Badge restyled; new Panel, SheetHeading, StatStrip, TagChip, DueTag, StatusText and Eyebrow primitives - Login and app shell rebuilt (sidebar, tablet rail, phone top bar and bottom nav, user menu) - Dashboard, assets list and detail, locations, services (schedule, calendar, plans, providers), labels, settings, catalog, tags, asset forms and scan redone against the spec - Asset detail gains next-service, label and photo panels plus inline status and location pickers - Locations page reworked into a tree with rolled-up counts and a detail panel; the old location-tree component is removed - "Service group" copy renamed to "service plan" - Hydration-safe client-only values via useSyncExternalStore - Tests updated for the new markup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Fixes from the two PR #7 reviews: - One global search dialog mounted in the shell; triggers share a store - Plan detail header rendered by the client only, no stale server copy - Overdue nav badge and dashboard refetch after service, location and feature changes (invalidate ["dashboard"], fix by-asset record key) - Shared schedule buckets so "due this week" matches between the services header and the scheduled list; header count only on /services and /services/calendar - Dashboard date rendered after hydration; changed-in-24h count no longer capped at 10 - Focus ring can't be cancelled by outline-none; link buttons lose padding - Mobile top bar controls inert while a MobileBar covers them; rail and bottom nav announce "Services, N overdue"; action sheets honour autofocus - Status picker opens as a popper so it stays on screen - Photo slot polls while processing; Log other service copy explains the schedule effect; card kebab is a visible, named button and only plain clicks on the card open the asset - Label template list uses list semantics; panel no longer reseeds templates; default template shows why it can't be deleted - Users table shows skeleton rows while loading; Log service waits for settings and schedule queries - Locations: delete disabled with a reason when a location has contents, 409 handled, selection reveals ancestors, counts only located assets, "Show all" past 50, non-admin ?new=1 gets a toast; taxonomy default colour; unused color-field removed - Mobile top bar offers New location only to admins - E2E specs updated for the new markup (shared helpers, exact locators, row click instead of link) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rebuilds the whole app against the Workshop design spec (https://stowage-mockups.ouicu.app/workshop/): concrete background, charcoal sidebar, one amber primary, ink for selection, 2px rules under titles and sheet headings, cards only for objects, sheets for lists, status colour only on exceptions.
Panel,SheetHeading,StatStrip,TagChip,DueTag,StatusText,Eyebrow.AuthShell); sidebar on desktop, rail on tablet (768–1023), top bar and bottom nav on phone; new user menu.location-treeis removed.useSyncExternalStore, so server and client render the same markup. Query data is gated until hydration.Removed on purpose
crud/color-field.tsxis deleted.Review fixes
Two independent reviews found issues that are fixed in the follow-up commit:
Test plan
pnpm typecheckcleanpnpm lintcleanpnpm test: 91 files, 418 tests passingpnpm test:e2e(desktop and Pixel 7 projects): 76 passed, 6 skipped, 0 failed🤖 Generated with Claude Code