Skip to content

Conversation

@Miodec
Copy link
Member

@Miodec Miodec commented Jan 25, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 25, 2026 08:38
@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Jan 25, 2026
@github-actions github-actions bot added the waiting for review Pull requests that require a review before continuing label Jan 25, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Font Awesome icon usage so icons are referenced with the literal fa- class names, ensuring the project’s Font Awesome font-subsetting process can detect and include the required glyphs.

Changes:

  • Switch Fa component to accept full icon class names (e.g., fa-ad) instead of building them at runtime.
  • Update icon references across UI components/tests to use fa--prefixed icon strings.
  • Update Font Awesome TypeScript icon unions to require the fa- prefix.

Reviewed changes

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

Show a summary per file
File Description
frontend/src/ts/types/font-awesome.d.ts Updates icon string unions to require fa- prefixes (improves subset detection + typing).
frontend/src/ts/components/common/Fa.tsx Changes rendering to use the provided icon class directly instead of interpolating fa-${icon}.
frontend/src/ts/components/pages/AboutPage.tsx Updates all page icons to fa--prefixed values.
frontend/src/ts/components/modals/SupportModal.tsx Updates modal icons to fa--prefixed values.
frontend/src/ts/components/modals/ContactModal.tsx Updates modal icons to fa--prefixed values.
frontend/src/ts/components/layout/overlays/Overlays.tsx Updates overlay icon to fa--prefixed value.
frontend/src/ts/components/layout/overlays/Banners.tsx Updates close icon to fa--prefixed value and adjusts z-index utility class.
frontend/src/ts/components/layout/footer/VersionButton.tsx Updates footer icon to fa--prefixed value.
frontend/src/ts/components/layout/footer/ThemeIndicator.tsx Updates theme indicator icons to fa--prefixed values.
frontend/src/ts/components/layout/footer/ScrollToTop.tsx Updates scroll-to-top icon to fa--prefixed value.
frontend/src/ts/components/layout/footer/Footer.tsx Updates footer button icons to fa--prefixed values.
frontend/src/ts/components/common/AsyncContent.tsx Updates loader spinner icon to fa--prefixed value.
frontend/tests/components/Button.spec.tsx Updates test icon strings to fa--prefixed values.
.github/copilot-instructions.md Adds repo-specific Copilot guidance document.

@Miodec Miodec changed the title fix: fa component breaking font-subset fix: fa component breaking font-subset (@miodec) Jan 25, 2026
@socket-security
Copy link

socket-security bot commented Jan 25, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants