Skip to content

Point the HTTP commands icon link at the Fluent System Icons catalog - #2010

Merged
David Pine (IEvangelist) merged 1 commit into
mainfrom
fix/fluentui-icons-catalog-link
Nov 1, 2026
Merged

David Pine (IEvangelist) merged 1 commit into
mainfrom
fix/fluentui-icons-catalog-link

Conversation

@davidfowl

Copy link
Copy Markdown
Contributor

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)

The Fluent UI React storybook removed its local Icons stories in
microsoft/fluentui#35991, so the icons-catalog--docs deep link no longer
resolves there. Link to the catalog's current home in the
fluentui-system-icons docsite and add a regression test.

Co-authored-by: Copilot <[email protected]>
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #2010. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #2010 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@davidfowl
David Fowler (davidfowl) marked this pull request as ready for review October 31, 2026 15:04
Copilot AI balanced review requested due to automatic review settings October 31, 2026 15:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are identified for the documentation icon-catalog link update.

No open issues 🎉

What changed in this PR

Addresses part 2 of #1287 by updating the icon catalog link in the English and Japanese Custom HTTP commands documentation. This complements #2009’s TypeScript API description fix.

Changes:

  • Replaces the removed Fluent UI React Storybook link with the Fluent System Icons catalog URL.
  • Adds regression tests to reject removed icon-story links across documentation and verify the replacement URL in both pages.
File Description
src/​frontend/​tests/​unit/​fluentui-icon-links.vitest.test.ts Adds checks for obsolete links and the expected catalog URL.
src/​frontend/​src/​content/​docs/​ja/​fundamentals/​http-commands.mdx Updates the Japanese page’s catalog link.
src/​frontend/​src/​content/​docs/​fundamentals/​http-commands.mdx Updates the English page’s catalog link.

Review effort: Balanced

@IEvangelist
David Pine (IEvangelist) enabled auto-merge (squash) November 1, 2026 14:48
@IEvangelist
David Pine (IEvangelist) merged commit bde5b1c into main Nov 1, 2026
20 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the fix/fluentui-icons-catalog-link branch November 1, 2026 14:50
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.

3 participants