Skip to content

docs(cli): remove broken "MoreMenu — In Toolbar" example block#3173

Merged
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/remove-moremenu-intoolbar-example
Jun 27, 2026
Merged

docs(cli): remove broken "MoreMenu — In Toolbar" example block#3173
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/remove-moremenu-intoolbar-example

Conversation

@durvesh1992

Copy link
Copy Markdown
Contributor

Summary

Closes #2870.

The "MoreMenu — In Toolbar" example rendered incorrectly and duplicated coverage already provided by the other MoreMenu examples (Default, With Dividers, With Sections, Showcase). Removed the template block and its doc entry.

Deleted:

  • packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.tsx
  • packages/cli/templates/blocks/components/MoreMenu/MoreMenuInToolbar.doc.mjs

Testing

  • Re-ran the docsite data generation (node apps/docsite/scripts/generate-data.mjs) — example registry rebuilds cleanly without the block (no errors; block count drops accordingly).
  • check:changesets and check:sync pass.

Notes

  • @astryxdesign/cli ships templates/, so a patch changeset is included.
  • There is a separate Storybook story InToolbar in apps/storybook/stories/MoreMenu.stories.tsx. I left it untouched since this issue is scoped to the docsite example, and removing it would orphan the Button import (it's that story's only consumer). Happy to remove it too in a follow-up if you'd like.

Closes facebook#2870.

The 'MoreMenu — In Toolbar' example rendered incorrectly and duplicated
coverage already provided by the other MoreMenu examples. Remove the
template block and its doc entry; the docsite example registry
regenerates cleanly without it.
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 26, 2026
@cixzhang cixzhang merged commit b6827c4 into facebook:main Jun 27, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docsite: remove the "MoreMenu — In Toolbar" example

2 participants