Repository navigation
fix(storybook): use a size token Avatar still has in the Chat align story - #5381
Merged
Merged
Conversation
…tory Avatar's named scale became `xsm | sm | md | lg | xl` (#4140); the align story landed afterwards with `size="small"` (#3933), so `pnpm -F @astryxdesign/storybook typecheck` fails on main and takes the `build` job with it. Every open PR is blocked behind it. Every other Avatar in the file uses a token from the current scale.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
This branch was successfully deployed
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.
Problem
mainis red, and it blocks thebuildjob on every open PR:Avatar's named size scale became
xsm | sm | md | lg | xlin #4140. TheChatMessageList alignstory landed after that in #3933 still using the old"small", so the two are individually fine and broken together.build-storybookfails at its typecheck step,buildis the aggregator that asserts it passed, and auto-merge stays blocked. Found it on #5379, which touches one test file and nothing else.Change
One token:
size="small"→size="sm". It is the onlysize="small"left in the repo, and every other Avatar inChat.stories.tsxalready uses"md".Test plan
pnpm -F @astryxdesign/storybook typecheck— theTS2322is gone. TheTS2307s that remain locally are unbuilt workspace packages (@astryxdesign/vega,@astryxdesign/theme-neutral); CI builds those first, and this is the error it reported.No changeset — Storybook is not published.