Skip to content

chore(deps): migrate to lucide-react 1.x - #44

Merged
SckyzO merged 1 commit into
mainfrom
chore/deps-lucide-react-1x
Jun 8, 2026
Merged

chore(deps): migrate to lucide-react 1.x#44
SckyzO merged 1 commit into
mainfrom
chore/deps-lucide-react-1x

Conversation

@SckyzO

@SckyzO SckyzO commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Part of ISSUE_P (tier 2 of 3). lucide-react 1.x removed all brand/logo icons. We used two of them (Github, Twitter).

Change

Replaced with local inline SVG components — no new dependency added (a brand-icon package would be heavyweight for two glyphs):

  • new frontend/src/app/components/icons/BrandIcons.tsxGithubIcon + XIcon (simple-icons CC0 paths, 24×24, fill=currentColor, className-compatible so they drop into both JSX usage and the icon={...} component-reference prop).
  • AboutPage.tsxGithubGithubIcon (3 sites, incl. ExtLink icon={...}).
  • PopoversPage.tsx (UI showcase/demo) — TwitterXIcon, GithubGithubIcon.
  • lucide-react ^0.577.0^1.17.0; lockfile regenerated.

Twitter is rendered as the current X logo (brand was renamed). Only affected a demo page.

Validation

  • frontend npm run build — OK (tsc -b confirms no missing icon exports across all 141 icons we import)
  • make lint — 9 linters, 0 errors

Note

peerDeps of lucide-react 1.17.0 (react ^16.5.1 || 17 || 18 || 19) are satisfied by React 19 — no peer conflict.

lucide-react 1.x removed all brand/logo icons. Replace the two we used
(Github, Twitter) with local inline SVG components — no new dependency:

- add frontend/src/app/components/icons/BrandIcons.tsx (GithubIcon, XIcon;
  simple-icons paths, currentColor, className-compatible with lucide API)
- AboutPage.tsx: Github -> GithubIcon (3 sites incl. ExtLink icon prop)
- PopoversPage.tsx (UI demo): Twitter -> XIcon, Github -> GithubIcon
- bump lucide-react ^0.577.0 -> ^1.17.0

Validated: frontend build (tsc, no missing exports), make lint (9/9).
@SckyzO
SckyzO merged commit ea2b3b9 into main Jun 8, 2026
2 checks passed
@SckyzO
SckyzO deleted the chore/deps-lucide-react-1x branch June 8, 2026 15:59
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