feat(studio): remove home page, auto-select project#145
Merged
miguel-heygen merged 4 commits intomainfrom Mar 31, 2026
Merged
Conversation
Covers pnpm link, node alias, and npm pack workflows with a table of test scenarios for each bug fix category.
Addresses review feedback: move the local CLI testing guide out of the Guides nav group and into the Contributing section alongside contributing.mdx.
Removes ProjectPicker, ProjectCard, and ExpandedPreviewIframe components. On mount, the studio now auto-fetches /api/projects and navigates directly to the first project instead of showing a selection screen. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This was referenced Mar 30, 2026
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Mar 31, 2026
jrusso1020
reviewed
Mar 31, 2026
Comment on lines
+257
to
264
| // eslint-disable-next-line no-restricted-syntax | ||
| useEffect(() => { | ||
| const hashMatch = window.location.hash.match(/^#project\/([^/]+)/); | ||
| if (hashMatch) { | ||
| setProjectId(hashMatch[1]); | ||
| setResolving(false); | ||
| return; | ||
| } |
Collaborator
There was a problem hiding this comment.
why did we move from useMountEffect to useEffect?
jrusso1020
approved these changes
Mar 31, 2026
Collaborator
Author
Merge activity
|
10 tasks
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
Removes the
ProjectPickerhome screen entirely. The studio now boots directly into the editor by auto-selecting the first available project from/api/projects.Changes
#project/hash is present, fetches the project list and navigates to the first oneif (resolving || !projectId)early return so TypeScript narrowsprojectIdtostringfor all downstream propsProjectPicker,ProjectCard,ExpandedPreviewIframecomponents (~280 lines),handleSelectProjectcallback,ProjectEntryinterfaceWhy
The CLI studio always has exactly one project. The home page was an extra click with no value.
🤖 Generated with Claude Code