Skip to content

feat(p33): finish org-chart block and split block docs pages - #54

Merged
jack755051 merged 6 commits into
mainfrom
feat/p33-org-chart-finish
Oct 2, 2026
Merged

jack755051 merged 6 commits into
mainfrom
feat/p33-org-chart-finish

Conversation

@jack755051

Copy link
Copy Markdown
Contributor

Summary

  • Complete org-chart block: pan/zoom, fit-to-view, optional tree directory (showTree), elkjs peer, registry entry.
  • Split Blocks docs into independent pages (/blocks/:id) with overview catalog; org-chart includes with-tree and canvas-only previews.
  • Add Blocks to the primary header nav (next to Docs / Components).

Notes

Test plan

  • Header shows Docs / Components / Blocks; Blocks goes to /blocks
  • /blocks lists all blocks; each card links to /blocks/<id>
  • /blocks/org-chart shows With directory tree + Canvas only previews
  • npx @sanring/cli add block/org-chart installs elkjs peer (dry-run / local)

Made with Cursor

jack755051 and others added 6 commits October 2, 2026 22:28
Viewport supports wheel zoom and drag pan; Fit recenters the layout. A solid-line reporting tree syncs selection and moves focus to the matching card for keyboard access.

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose block/org-chart in registry.json with elkjs peer dependency, and document EPL-2.0, worker size, and allowedCommonJsDependencies on the docs blocks page.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add Playwright coverage with axe, CLI dry-run assertion that block/org-chart installs elkjs, and a minor changeset. Mark P33 D–G complete in the charter.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move dashboard-shell, login, table-page, and org-chart off the single /blocks dump into /blocks/:id pages with scenario, composition links, install, TS/HTML usage, and live preview. Keep /blocks as the catalog index.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jack755051
jack755051 merged commit 109c8fc into main Oct 2, 2026
5 of 7 checks passed
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