Skip to content

chore(storybook): update IA + docs background#805

Merged
CalinaCristian merged 1 commit into
mainfrom
chore/storybook-ia
Jun 11, 2026
Merged

chore(storybook): update IA + docs background#805
CalinaCristian merged 1 commit into
mainfrom
chore/storybook-ia

Conversation

@CalinaCristian

Copy link
Copy Markdown
Collaborator

Small change to organize storybook more correlated to the packages:
Apollo Wind
Apollo React / Canvas
Apollo React / Material
Apollo Core

Fix background color on docs pages.

Copilot AI review requested due to automatic review settings June 11, 2026 08:42
@CalinaCristian CalinaCristian marked this pull request as ready for review June 11, 2026 08:42
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-design 🟢 Ready Preview, Logs Jun 11, 2026, 01:48:42 AM
apollo-docs 🟢 Ready Preview, Logs Jun 11, 2026, 01:48:42 AM
apollo-landing 🟢 Ready Preview, Logs Jun 11, 2026, 01:48:42 AM
apollo-vertex 🟢 Ready Preview, Logs Jun 11, 2026, 01:48:42 AM

@github-actions github-actions Bot added app:storybook size:L 100-499 changed lines. labels Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency License Review

  • 1922 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 2 package(s) excluded (see details below)
License distribution
License Packages
MIT 1692
ISC 89
Apache-2.0 55
BSD-3-Clause 27
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 4
MIT-0 3
CC0-1.0 3
MIT OR Apache-2.0 2
(MIT OR Apache-2.0) 2
Unlicense 2
LGPL-3.0-or-later 1
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reorganizes Storybook’s sidebar information architecture to better align with the monorepo’s package boundaries (Apollo Wind / Apollo React Canvas / Apollo React Material / Apollo Core) and fixes docs pages not reflecting the selected Apollo theme background.

Changes:

  • Adds a custom DocsContainer wrapper that tracks the theme global and applies the theme class to <body> for MDX-only docs pages.
  • Updates Storybook story sources and storySort ordering to group content under “Apollo Wind”, “Apollo React”, and “Apollo Core”.
  • Forces docs page surface background to use Apollo semantic tokens via --color-background.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
apps/storybook/.storybook/preview.tsx Registers the custom docs container and updates sidebar sorting/grouping labels.
apps/storybook/.storybook/main.ts Reorders story sources/title prefixes and injects docs background CSS based on Apollo tokens.
apps/storybook/.storybook/DocsContainer.tsx New theme-aware docs container that syncs the toolbar theme to docs pages and body class.

@CalinaCristian CalinaCristian merged commit c3fcf17 into main Jun 11, 2026
39 of 40 checks passed
@CalinaCristian CalinaCristian deleted the chore/storybook-ia branch June 11, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:storybook size:L 100-499 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants