Skip to content

feat(8f): PR1 Foundation — shape-change wallLayoutStore to useCanvasViewportStore#160

Merged
jukka-matti merged 13 commits into
mainfrom
canvas-viewport-8f
May 13, 2026
Merged

feat(8f): PR1 Foundation — shape-change wallLayoutStore to useCanvasViewportStore#160
jukka-matti merged 13 commits into
mainfrom
canvas-viewport-8f

Conversation

@jukka-matti
Copy link
Copy Markdown
Owner

Summary

  • Reframes PR1 docs/spec/ADR from a clean rename to a hub-keyed canvas viewport shape change with clean-break Dexie persistence.
  • Adds the core canvas viewport level model and d3-zoom dependency foundation.
  • Shape-changes wallLayoutStore into useCanvasViewportStore with viewports: Record<ProcessHubId, CanvasViewportSnapshot>, hub-keyed persistence, lifecycle hooks, and updated PWA/Azure/UI consumers.
  • Fixes PWA hub-id threading so lifecycle persistence and Wall/Canvas viewport consumers use the same effective hub id.

Test Plan

  • pnpm --filter @variscout/pwa test -- --run src/components/views/__tests__/InvestigationView.mapwall.test.tsx src/components/views/__tests__/FrameView.test.tsx
  • pnpm --filter @variscout/ui test -- --run src/components/Canvas/__tests__/CanvasWorkspace.test.tsx
  • rg -n "useWallLayoutStore|persistWallLayout|rehydrateWallLayout|useWallLayoutLifecycle|WallLayoutSnapshot|WALL_LAYOUT_STORE_LAYER" apps packages --glob '*.{ts,tsx}' (no matches)
  • bash scripts/pr-ready-check.sh
  • pnpm --filter @variscout/ui build

Notes

  • Pre-8f Wall/canvas UI layout persistence is intentionally clean-break dropped; domain data remains in the hub/domain stores.
  • Final subagent review found one PWA hub-id mismatch, fixed in 035d7523, then re-reviewed with no findings.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

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

Project Deployment Actions Updated (UTC)
mean-beoynd-lite-pwa Ready Ready Preview, Comment May 13, 2026 11:52am
variscout_website Ready Ready Preview, Comment May 13, 2026 11:52am

@jukka-matti jukka-matti merged commit 57c48a2 into main May 13, 2026
3 checks passed
@jukka-matti jukka-matti deleted the canvas-viewport-8f branch May 13, 2026 11:56
jukka-matti added a commit that referenced this pull request May 13, 2026
3-agent retrospective on shipped 8f (PRs #160-#165) surfaced 20 findings:
5 HIGH, 8 MEDIUM, 7 LOW. Vision §5.4 closure has known scope gaps —
most notably the ADR-081 §2 Azure Blob sync commitment is unmet, and
AuthorL3View parallel-implements FRAME column-assignment in violation
of the ADR-074 amendment that ADR-081 codifies.

- decision-log.md: Amendment 2026-05-13 block on the "8f SHIPPED" entry
  acknowledging the 5 HIGH gaps
- investigations.md: new "8f followups" entry with full 20-finding enumeration
  + file:line references
- roadmap.md §2: followup workstream promoted to "in flight"
- docs/superpowers/plans/2026-05-13-canvas-viewport-8f-followups.md: 6-PR
  cleanup plan (PR0 direct-to-main; PR1-PR6 via subagent-driven-development)

Co-Authored-By: ruflo <ruv@ruv.net>
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