Skip to content

feat(AG-19778): restore mic icon (MicIcon)#81

Merged
amir-zahedi merged 2 commits into
mainfrom
fix/AG-19778-restore-mic-icon
Jun 23, 2026
Merged

feat(AG-19778): restore mic icon (MicIcon)#81
amir-zahedi merged 2 commits into
mainfrom
fix/AG-19778-restore-mic-icon

Conversation

@amir-zahedi

Copy link
Copy Markdown
Contributor

What

Restores the custom mic icon (MicIcon) to @autoguru/icons.

Why

The 2.0 Phosphor migration (AG-19073) dropped the custom mic.svg, so MicIcon stopped being exported. When the MFE monorepo moved to icons 2.0, the booking AI Summary was switched from MicIcon to the nearest-named Phosphor icon, MicrophoneIcon — a literal microphone, not the brand mark. The result: the FMO booking AI Summary → "Powered by" footer renders a microphone.

Changes

  • Re-add icons/mic.svg (the original pre-migration artwork) — the build regenerates and exports MicIcon.
  • Register mic under the AutoGuru category in categories.json and regenerate the category docs via node categories/generate.js (AutoGuru 44 → 45, total 1576 → 1577).
  • Changeset: minor (new export).

Follow-up

The MFE side is tracked by AG-19778: once this is released, bump @autoguru/icons and switch MicrophoneIconMicIcon in packages/booking-ai-summary/BookingAISummary.tsx.

Notes

  • lib/ and index.ts are generated and gitignored — the only icon source change is icons/mic.svg.
  • Opened as a draft; marking it ready triggers the checks build.

The 2.0 Phosphor migration (AG-19073) dropped the custom mic.svg, so MicIcon stopped being exported. That left the FMO booking AI Summary "Powered by" footer rendering a literal microphone instead of the brand mark.

Re-add icons/mic.svg (the original pre-migration artwork) so the build regenerates and exports MicIcon, and register mic under the AutoGuru category.
@amir-zahedi amir-zahedi requested a review from Copilot June 23, 2026 02:17
@amir-zahedi amir-zahedi marked this pull request as ready for review June 23, 2026 02:17
@amir-zahedi amir-zahedi requested a review from a team as a code owner June 23, 2026 02:17

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.

Pull request overview

Restores the bespoke AutoGuru mic icon source (icons/mic.svg) so the build can regenerate and export MicIcon again, and updates the category registry/docs to include it.

Changes:

  • Add icons/mic.svg (restoring the custom mic brand mark asset).
  • Register mic in categories/categories.json under AutoGuru and regenerate category docs/counts.
  • Add a changeset to publish a minor version with the restored export.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
readme.md Updates the category table count for AutoGuru.
icons/mic.svg Adds the restored mic SVG source.
categories/README.md Updates total icon counts to include the restored icon.
categories/categories.json Registers mic under the AutoGuru category.
categories/autoguru.md Adds MicIcon to the AutoGuru category listing and updates counts.
.changeset/restore-mic-icon.md Declares a minor release and documents the restoration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread readme.md
| Category | Icons | Category | Icons |
| --- | --: | --- | --: |
| [AutoGuru](./categories/autoguru.md) | 44 | [Filled](./categories/filled.md) | 9 |
| [AutoGuru](./categories/autoguru.md) | 45 | [Filled](./categories/filled.md) | 9 |

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch — fixed in 8803bf5. The prose total sat outside the <!-- categories --> markers, so the generator never touched it. I've taught generate.js to keep that sentence's icon + category counts in sync and regenerated, so it now reads 1,577 and won't drift on the next icon add.

The category generator only refreshed the table between the markers, so the intro sentence's count went stale (1,576 vs the regenerated 1,577). Teach generate.js to sync that prose total and category count too, and regenerate.
@amir-zahedi amir-zahedi merged commit bf8b5ae into main Jun 23, 2026
1 check passed
@amir-zahedi amir-zahedi deleted the fix/AG-19778-restore-mic-icon branch June 23, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants