Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Dec 14, 2025

Fixes Storybook flakiness where Sidebar > Multiple Projects would sometimes render a chat input depending on leftover localStorage workspace selection.

Changes:

  • Add an App/Sidebar-level decorator that clears the persisted selected workspace before each story render.
  • Refactor shared Storybook helpers by exporting and reusing createOnChatAdapter / createGitStatusExecutor (removes duplicated code in App demo/sidebar stories).

Validation:

  • make static-check

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@ammario ammario merged commit 10e73fe into main Dec 14, 2025
20 checks passed
@ammario ammario deleted the fix/sidebar-storybook-selection-flake branch December 14, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants