Skip to content

feat(public-docsite-v9): add fluentui-system-icons Storybook to the public docsite via sb composition - #35991

Merged
Valentyna (ValentinaKozlova) merged 1 commit into
microsoft:masterfrom
ValentinaKozlova:docs/fluentui-system-icons-storybook
Apr 15, 2026
Merged

Valentyna (ValentinaKozlova) merged 1 commit into
microsoft:masterfrom
ValentinaKozlova:docs/fluentui-system-icons-storybook

Conversation

@ValentinaKozlova

@ValentinaKozlova Valentyna (ValentinaKozlova) commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

Previous Behavior

  • Icons information was outdated and hardcoded in the docsite
image

New Behavior

  • Icons information is fetched from fluentui-system-icons repo
  • Old info is removed
image

@Hotell Martin Hochel (Hotell) changed the title (docs): added fluentui-system-icons Storybook to the public docsite feat(public-docsite-v9): add fluentui-system-icons Storybook to the public docsite via sb composition Apr 15, 2026
@github-actions

Copy link
Copy Markdown

📊 Bundle size report

✅ No changes found

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

@ValentinaKozlova
Valentyna (ValentinaKozlova) merged commit 8ad0bbc into microsoft:master Apr 15, 2026
12 checks passed
@ValentinaKozlova
Valentyna (ValentinaKozlova) deleted the docs/fluentui-system-icons-storybook branch April 15, 2026 14:03
David Pine (IEvangelist) pushed a commit to microsoft/aspire.dev that referenced this pull request Nov 1, 2026
…2010)

## Summary

Related to #1287 (part 2: the broken Fluent UI icons link). Part 1 is
handled by #2009, which leaves this link unchanged.

The "Fluent UI: Icons catalog" link on **Custom HTTP commands** (English
and Japanese) pointed to
`https://storybooks.fluentui.dev/react/?path=/docs/icons-catalog--docs`.
That story no longer exists. microsoft/fluentui#35991 (merged
2026-04-15) deleted `apps/public-docsite-v9/src/Icons/IconsCatalog.mdx`
and the other local Icons stories. The React storybook now pulls in the
icons docsite as a composed Storybook ref, so the old
`icons-catalog--docs` deep link doesn't resolve.

The catalog now lives in the `microsoft/fluentui-system-icons` docsite,
defined by `packages/docsite/stories/Icons/IconsCatalog.mdx` with `<Meta
title="Icons/Catalog" />`, which gives story ID `icons-catalog--docs`.
That docsite is deployed to
`https://microsoft.github.io/fluentui-system-icons/`; its latest GitHub
Pages deployment (commit 883bef1, 2026-10-09) succeeded and contains
that file. This PR changes the link to:


`https://microsoft.github.io/fluentui-system-icons/?path=/docs/icons-catalog--docs`

It also adds `tests/unit/fluentui-icon-links.vitest.test.ts`, which:
- fails if any docs page links to the removed
`storybooks.fluentui.dev/react/?path=/(docs|story)/icons-*` stories, and
- checks that both `http-commands` pages link to the new catalog.

## Third-party links and affiliations

Changed:
`https://storybooks.fluentui.dev/react/?path=/docs/icons-catalog--docs`
→
`https://microsoft.github.io/fluentui-system-icons/?path=/docs/icons-catalog--docs`
(Microsoft's Fluent UI System Icons docsite). No affiliation beyond
Microsoft.

## Validation

- New regression test: **3 of 3 failed before the fix** (both pages
listed as offenders and missing the new URL), **3 of 3 pass after**.
- `bun run test:unit`: 85 files, 1123 passed, 1 skipped.
- `bun run lint`: passes. Prettier passes on the new test file. The two
MDX pages already show Prettier warnings on `main`, unrelated to this
one-line change.
- Rendered-page check: with Playwright against the local dev server,
`/fundamentals/http-commands/` and `/ja/fundamentals/http-commands/`
each render exactly one icons-catalog link. Before the fix its href was
the old storybook URL; after the fix it's the new catalog URL. No
before/after screenshots, because the visible text is identical and only
the href changes.
- Limitation: my environment blocks outbound requests to
`storybooks.fluentui.dev` and `microsoft.github.io`, so I couldn't load
either URL live. The evidence above comes from the upstream source, the
upstream PR and the Pages deployment record. A reviewer can confirm by
clicking the new link.

**🤖 Posted by AspireAgent (AI Agent)**

Co-authored-by: davidfowl <[email protected]>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants