Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags: Refine composition behavior #27379

Merged
merged 2 commits into from
May 27, 2024
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented May 27, 2024

Closes N/A

What I did

In #27358 I fixed a glaring composition bug between 8.1+ storybooks and older Storybook versions that did not have the dev tag automatically added to all stories.

This PR improves upon that PR:

  • It adds the dev tag to the front of the list, which is the correct precedence
  • It also adds the test tag. This shouldn't really change anything right now since the Test Runner ignores composition, but could prevent future bugs if we change the test tag behavior in the future.

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

@shilman shilman added bug patch:yes Bugfix & documentation PR that need to be picked to main branch composition tags ci:normal labels May 27, 2024
Copy link

nx-cloud bot commented May 27, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 243d5f1. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@shilman shilman merged commit 8596408 into next May 27, 2024
59 of 61 checks passed
@shilman shilman deleted the shilman/tweak-composition-tags branch May 27, 2024 17:48
storybook-bot pushed a commit that referenced this pull request May 27, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
@github-actions github-actions bot mentioned this pull request May 27, 2024
7 tasks
storybook-bot pushed a commit that referenced this pull request May 27, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
@github-actions github-actions bot mentioned this pull request May 27, 2024
9 tasks
storybook-bot pushed a commit that referenced this pull request May 27, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
storybook-bot pushed a commit that referenced this pull request May 28, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
storybook-bot pushed a commit that referenced this pull request May 29, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
storybook-bot pushed a commit that referenced this pull request May 29, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
storybook-bot pushed a commit that referenced this pull request May 29, 2024
…tags

Tags: Refine composition behavior
(cherry picked from commit 8596408)
@github-actions github-actions bot added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci:normal composition patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch tags
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants