feat(editor): hierarchical function-tree Items browse#345
Merged
Conversation
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>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Co-Authored-By: Claude Opus 4.7 <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
functionTree,ItemsPaneldelegates to a newFunctionTreePanelthat renders roots as category tabs and child tags as a secondary chip row, filtering items by the selected node + any descendant slug. Without afunctionTree, the legacy hardcoded-category path is used unchanged.AssetInput.functionTags(optionalstring[]) so catalog items can carry their function-axis tag slugs.FunctionTreeNodefrom 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
functionTreeprovided).tsc --buildpasses forcoreandeditor.🤖 Generated with Claude Code