chore: add Storybook stories for 30 components missing coverage (#957)#961
Merged
sw-factory-automations merged 1 commit intomainfrom May 8, 2026
Merged
Conversation
Co-authored-by: Ona <no-reply@ona.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
✅ Post-merge verification skipped — |
Collaborator
Author
|
✅ UI verification skipped — no UI source changes detected. This PR adds 30 |
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.
Closes #957
What
Adds co-located
*.stories.tsxfiles for all 30 components that were missing Storybook coverage. This closes the visual regression gap and gives the UI Verifier and PR Reviewer a baseline for these components.Components covered
Editor plugins (18):
auto-link-plugin— URL/email auto-detection visual outputcallout-plugin— callout variants (info, warning, error, success)code-highlight-plugin— syntax highlighting visual outputcode-language-selector-plugin— language dropdown trigger and open statecollapsible-plugin— toggle blocks (collapsed, expanded, nested)database-plugin— database picker menu and embedded nodedemo-slash-command-plugin— demo editor slash menu (reduced command set)draggable-block-plugin— drag handle and drop indicatoreditor— full editor states (empty, rich content, code+callout, checklist)floating-image-toolbar-plugin— image alignment toolbarimage-node— image with alignment, caption, resize handlesimage-plugin— drag overlay, upload progress, error stateslist-tab-indentation-plugin— nested list indentation levelslocal-persistence-plugin— persistence states (saved, restoring, size limit)page-link-plugin— page search menu and inline page linkstable-action-menu-plugin— table context menu with row/column operationsturn-into-plugin— block type conversion before/afterword-count-plugin— word count display at various countsPage/workspace components (8):
danger-zone-settings— delete account button and confirmation dialogdelete-workspace-section— delete workspace with confirmation, error, deleting statespage-content-client— regular page, database page, row page, loading statepage-view-client— page view with cover, version history, loading stateworkspace-home-client— workspace home, empty state, loading statesettings-page-client— loading and loaded statessettings-page-content— personal workspace (all sections) and team workspaceproviders— theme context, toast examplesSidebar (2):
app-shell— sidebar open, collapsed, mobile layout, skip-to-contentsidebar-context— context values, keyboard shortcuts, focus modeMembers (2):
members-page— admin view, member view, error statemembers-page-client— loading and loaded statesHow
All stories use static representations (matching existing patterns in the codebase) since the actual components require Lexical editor context, Supabase, or router context that cannot be provided in Storybook. Each story file follows the project's named export pattern with
export { meta as default }.Testing
pnpm lint— 0 errors (only pre-existing warnings)pnpm typecheck— cleanpnpm test— 133 files, 1818 tests passedpnpm build-storybook— builds successfully--update-snapshots, then verified passing without the flag