🤖 tests: make README screenshots reproducible via Storybook#2035
Open
ibetitsmike wants to merge 10 commits intomainfrom
Open
🤖 tests: make README screenshots reproducible via Storybook#2035ibetitsmike wants to merge 10 commits intomainfrom
ibetitsmike wants to merge 10 commits intomainfrom
Conversation
d69380a to
ae3615f
Compare
ae3615f to
ec120d7
Compare
Expand MessageWithImages into a 4-message bug-report arc with screenshots, add MultipleImageFormats story with 3 distinct placeholder image types (screenshot, diagram, photo), and add SingleLargeImage for non-gallery layout testing.
…tories - Enrich WithTitles: 8 workspaces across 3 projects (my-app, backend-api, docs-site) with mixed titles/no-titles and varied age timestamps - Add FuzzySearch: same rich set with 'refac' typed into palette input to demonstrate fuzzy filtering behavior - Add ManyWorkspaces: 14 workspaces across 5 projects (adds infra-tools, design-system) to stress-test palette scrolling and grouping - Extract shared helpers (createRichWorkspaces, setupStory, openPalette) to reduce boilerplate across stories
- Enrich MacOSDesktop with 4 workspaces across 2 projects so the sidebar shows real content behind the traffic lights - Extract createPopulatedClient() helper shared by both stories - Add BrowserMode story showing the non-Electron title bar variant - Use selectWorkspace + expandProjects + collapseRightSidebar for a lived-in app state
…stories - Expand setupGovernorStory from 1 workspace to 5 across 2 projects (my-app + infra-tools) for a lived-in sidebar behind the modal - Import expandProjects/collapseRightSidebar from storyHelpers - Add PolicyBlocked story: policyState 'blocked' with no providers, no MCP, only local runtime - Add RichPolicy story: enforced policy with 3 providers (anthropic with specific models, openai with forced proxy URL, google with all models allowed)
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
README.md.screenState).docs/img/*.webpfrom those stories and noted the source-of-truth mapping in the README.Background
The README screenshots were previously “hand captured” and not easily reproducible, making it hard to review/regress future UI changes. These stories provide a stable, named source for each screenshot state.
Implementation
src/browser/stories/App.readmeScreenshots.stories.tsx// README: docs/img/<file>.webpcomments.src/browser/stories/mocks/orpc.tsscreenStatesupport so terminal output is deterministic in Storybook.Validation
make static-checkRisks
Generated with
mux• Model:mux-gateway:openai/gpt-5.2• Thinking:xhigh• Cost:5.05