Repository navigation
Conversation
astra-ui's Inventory now shows the project hierarchy in its sidebar and needs a host callback to act on a controlled selection. The dialog owns that selection: it starts from the page's analysis, its title follows the selected one, and it is keyed by the page's analysis so a page change or reopening starts there again. The dependency points at astra-ui PR #27's review build until that change is released. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
|
Lightcone previews: Paper · Playground — inventory, viewers, dialogs and glyphs d2a9678 · @astra-spec/ui 0.0.5 from 9c940eb · Lightcone brand 0.0.3 · astra-theme d2a9678 · content 3735fcc · MySTRA https://github.com/LightconeResearch/MySTRA/releases/download/v0.0.8/mystra.mjs |
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
@astra-spec/ui'sInventorynow renders the project hierarchy in its sidebar and callsonSelectAnalysiswhen a controlled host's selection should change (Inventory: simplify sections and add analysis navigation astra-ui#27). The inventory dialog now owns that selection: it opens on the page's analysis, its title follows whichever analysis is selected, and it is keyed by the page's analysis so a page change or reopening starts there again.publication inventorytests still pass, including the page-change case.Before merging
@astra-spec/uiis pinned to the pkg.pr.new review build of astra-ui45416e7; switch it to the released version once astra-ui#27 ships. (npm 12 refuses remote tarballs by default; locally this needednpm install --allow-remote=all.)npm run typecheckandnpm testpass locally.🤖 Generated with Claude Code