Skip to content

feat(editor): hierarchical function-tree Items browse#345

Merged
wass08 merged 2 commits into
mainfrom
community/preset-system-items-tree
May 28, 2026
Merged

feat(editor): hierarchical function-tree Items browse#345
wass08 merged 2 commits into
mainfrom
community/preset-system-items-tree

Conversation

@wass08
Copy link
Copy Markdown
Collaborator

@wass08 wass08 commented May 28, 2026

Summary

  • Add an optional DB-driven taxonomy browse to the Items panel. When the embedder passes a functionTree, ItemsPanel delegates to a new FunctionTreePanel that renders roots as category tabs and child tags as a secondary chip row, filtering items by the selected node + any descendant slug. Without a functionTree, the legacy hardcoded-category path is used unchanged.
  • Add AssetInput.functionTags (optional string[]) so catalog items can carry their function-axis tag slugs.
  • Export FunctionTreeNode from the package so embedders (the hosted community app) can type the tree they supply.

Context

Editor half of pascalorg/private-editor#50 (preset-system taxonomy schema + Items tab with function tree). The hosted app feeds the tree from items_tags/items_taggings; the standalone editor app keeps the legacy behavior since it passes no tree.

Test plan

  • Standalone editor app: Items tab still renders the legacy category tabs and places items (no functionTree provided).
  • Community app: Items tab renders the function-tree tabs, child chips filter to descendants, Library/Community/Mine still narrows, search still works.
  • tsc --build passes for core and editor.

🤖 Generated with Claude Code

Add an optional DB-driven taxonomy browse to the Items panel. When the
embedder supplies a `functionTree`, the panel renders roots as category
tabs and child tags as a secondary chip row, filtering items by the
selected node and any descendant slug; otherwise it falls back to the
legacy hardcoded category path untouched.

Adds `AssetInput.functionTags` so items can carry their function-axis
tag slugs, and exports `FunctionTreeNode` for embedders to type the tree.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mintlify
Copy link
Copy Markdown

mintlify Bot commented May 28, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
pascal 🔴 Failed May 28, 2026, 6:45 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@wass08 wass08 merged commit a144502 into main May 28, 2026
1 of 2 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