Skip to content

Task 017: Replace Font Awesome with inline SVGs - #15

Merged
Igloczek merged 3 commits into
masterfrom
task/017-replace-fontawesome
Jun 30, 2026
Merged

Igloczek merged 3 commits into
masterfrom
task/017-replace-fontawesome

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/017-replace-fontawesome.md from the ponytail audit backlog.

Goal

Remove four @fortawesome/* packages by serving icons without the FA runtime.

Scope

  • Audit src/icon.ts (~46 icons) and replace FA component registration with inline SVG components or a minimal sprite map.
  • Update all <font-awesome-icon> usages to the new icon component.
  • Remove @fortawesome/fontawesome-svg-core, free-solid-svg-icons, free-regular-svg-icons, vue-fontawesome from package.json.

Acceptance criteria

  • No @fortawesome packages in package.json or bun.lock.
  • No font-awesome-icon or @fortawesome imports in src/.
  • All previously icon-backed UI elements still render in dashboard, monitor list, and settings.
  • bun run lint passes.
  • bun run build:frontend succeeds.
  • Frontend JS bundle size decreases vs baseline (check analyze build).

Depends on

Nothing.

Verification

bun run lint
bun run build:frontend
rg "@fortawesome|font-awesome-icon" src package.json

Audit reference

Finding #18 — Font Awesome stack.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

Replaced Font Awesome with inline SVG AppIcon. Removed unused icon definitions during review.

Lean already. Ship.

38 files changed, 468 insertions(+), 286 deletions(-)

Igloczek added a commit that referenced this pull request Jun 30, 2026
Merge five near-identical per-provider analytics modules into a single
analytics-scripts.ts map. Keep analytics.ts as a thin dispatcher that
looks up providers and validates config. Add unit tests for all five
provider script outputs.

Task 009 — Finding #15.
@Igloczek
Igloczek force-pushed the task/017-replace-fontawesome branch from 6440b4f to 7f73951 Compare June 30, 2026 12:03
Igloczek added 3 commits June 30, 2026 14:18
Remove four @fortawesome/* packages and serve icons via a lightweight
AppIcon component backed by a minimal sprite map of 40 used icons.

- Add src/components/AppIcon.vue and src/icons/paths.ts
- Migrate all font-awesome-icon usages to app-icon
- Drop FA runtime from package.json and bun.lock
@Igloczek
Igloczek force-pushed the task/017-replace-fontawesome branch from 7f73951 to febc7ab Compare June 30, 2026 12:18
@Igloczek
Igloczek merged commit 963187f into master Jun 30, 2026
1 check passed
@Igloczek
Igloczek deleted the task/017-replace-fontawesome branch June 30, 2026 12:58
Igloczek added a commit that referenced this pull request Aug 8, 2026
Merge five near-identical per-provider analytics modules into a single
analytics-scripts.ts map. Keep analytics.ts as a thin dispatcher that
looks up providers and validates config. Add unit tests for all five
provider script outputs.

Task 009 — Finding #15.
Igloczek added a commit that referenced this pull request Aug 8, 2026
Task 017: Replace Font Awesome with inline SVGs
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.

1 participant