feat(studio): Labs mock features — Projects and the feature tour - #984
Closed
jtenniswood wants to merge 1 commit into
Closed
feat(studio): Labs mock features — Projects and the feature tour#984jtenniswood wants to merge 1 commit into
jtenniswood wants to merge 1 commit into
Conversation
The one sanctioned daemon-never mock exception, isolated and default-off. mock-projects and mock-tour carry the canned content with tests pinning that a mock id never reaches the daemon; Settings gains the Labs page (the sections registry takes its last row) with the mock-features toggle and the convenience mock-provider switch. The sidebar grows MockProjectList, the chat workspace its showMockProjects/isMockTourSession guards, the chat view the read-only MockThreadPanel, and the composer its Projects dropdown. With the preference unset (the default) every guard branch is dead at runtime — zero behavior change for non-Labs users. profile-preferences and the settings registry reach their final states. Co-Authored-By: Claude Fable 5 <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.
Stack 19/21 — Studio: Labs mock features — Projects and the feature tour
The one sanctioned daemon-never mock exception, isolated and default-off.
mock-projects.ts+mock-tour.ts(+tests): mock ids are hard-gated from ever reaching the daemon — the tests pin it.session-sidebargains MockProjectList;chat-workspacetheshowMockProjects+isMockTourSessionguards (~8 one-liners);chat-viewthe MockThreadPanel + read-only placeholder; the composer its ProjectsDropdown.profile-preferencesreaches its final state (useMockFeatures).Demo at this stack point: flip Labs on, browse the mock Projects section, run the canned feature tour (which exercises PR 16's canvas).
Part of the stacked landing of #618.
🤖 Generated with Claude Code