Repository navigation
Create ideas via a preview dialog - #1374
Draft
microbit-robert wants to merge 8 commits into
Draft
microbit-robert wants to merge 8 commits into
microbit-robert wants to merge 8 commits into
Conversation
Idea cards on the home page now open a dialog with the idea's text and its code, read-only. Create makes a new project with the idea's code in main.py, through the editor route's action, and opens it on the Guide. Projects record the idea they were created from (ProjectMeta.ideaSlug, kept by duplicates), and those projects get a Guide tab first in the sidebar: the idea's content without its code. The Ideas tab is no longer in the sidebar; its components are left for now.
The sidebar no longer has an Ideas tab, and the Guide shows ideas without their code, so the panel's components, the "Open" action on idea code blocks and their strings are unused.
|
Preview build will be at |
These render as plain text instead
Reverts the removal of the old Ideas panel and its strings. Projects created from the home page idea dialog keep the Guide; other projects show the Ideas tab after Reference, as before.
Same size and style as the settings and help menus, and the tab strip's spacer is back to how it was.
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.
A Claude generated prototype and not manually reviewed. Requires review if we decide to go ahead with this approach.