Skip to content

feat(heft-storybook-plugin): add --quiet opt-out and --no-open flag - #5681

Merged
Pete Gonzalez (octogonz) merged 2 commits into
microsoft:mainfrom
UberMouse:allow-overriding-quiet-flag-in-storybook
May 23, 2026
Merged

feat(heft-storybook-plugin): add --quiet opt-out and --no-open flag#5681
Pete Gonzalez (octogonz) merged 2 commits into
microsoft:mainfrom
UberMouse:allow-overriding-quiet-flag-in-storybook

Conversation

@UberMouse

@UberMouse Taylor Lodge (UberMouse) commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Two new opt-in behaviours for @rushstack/heft-storybook-plugin:

  • quiet option (plugin options in heft.json): controls whether --quiet is passed to the Storybook CLI. Defaults to true (existing behaviour). Set to false to suppress --quiet, which is useful when --verbose is not wanted but more Storybook output is needed.

  • --no-open CLI flag: when passed alongside --storybook in serve mode, prevents Storybook from automatically opening a browser window. Useful for CI-adjacent tooling or daemon processes that start Storybook programmatically.

Changes

  • heft-plugin.json — registers the --no-open parameter on the storybook task
  • StorybookPlugin.ts — wires up both behaviours
  • schemas/storybook.schema.json — adds quiet to the options schema

Test plan

  • heft build --storybook--quiet is passed by default (no change)
  • heft build --storybook with "quiet": false in plugin options — --quiet is omitted
  • heft start --storybook --no-open — Storybook starts without opening a browser tab
  • heft build --storybook --no-open--no-open is silently ignored in build mode (only applies to serve mode)

@UberMouse
Taylor Lodge (UberMouse) force-pushed the allow-overriding-quiet-flag-in-storybook branch from 564ef4c to e3448fa Compare May 22, 2026 04:21
…h in serve mode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@UberMouse Taylor Lodge (UberMouse) changed the title allow omitting --quiet flag in heft-storybook-plugin without requiring --verbose feat(heft-storybook-plugin): add --quiet opt-out and --no-open flag May 22, 2026
@UberMouse

Copy link
Copy Markdown
Contributor Author

Pete Gonzalez (@octogonz) can I get this looked at? Thanks 🙏

@octogonz

Copy link
Copy Markdown
Collaborator

Taylor Lodge (@UberMouse) sorry this didn't get reviewed sooner!

@octogonz
Pete Gonzalez (octogonz) merged commit 7292bf8 into microsoft:main May 23, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Needs triage to Closed in Bug Triage May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants