Skip to content

Commit 3368094

Browse files
committed
fix(frontend): bump lucide-react to ^1.8.0 and align with Cloud UI
Cloud UI recently upgraded lucide-react to ^1.8.0. Because both apps declare lucide-react as a `singleton` in their Module Federation config, the Cloud UI host provides a single instance for the Console remote to consume. With Console pinned at ^0.563.0, the constraints are disjoint and MF resolves to Cloud UI's 1.8.0 — where `Linkedin` no longer exists (removed upstream for trademark reasons) — so Console's footer rendered `undefined` and the entire Console MF mount errored on every cluster route in Cloud UI. Align Console with Cloud UI and drop the now-unexported LinkedIn icon: - package.json: lucide-react ^0.563.0 -> ^1.8.0 - components/icons/index.tsx: remove the `Linkedin as LinkedInIcon` re-export - components/layout/footer.tsx: drop the LinkedIn link and its import
1 parent 49c8178 commit 3368094

4 files changed

Lines changed: 4 additions & 14 deletions

File tree

frontend/bun.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"json-bigint": "^1.0.0",
116116
"jwt-decode": "^4.0.0",
117117
"lottie-react": "^2.4.1",
118-
"lucide-react": "^0.563.0",
118+
"lucide-react": "^1.8.0",
119119
"moment": "^2.30.1",
120120
"monaco-editor": "^0.55.0",
121121
"monaco-editor-webpack-plugin": "^7.1.1",

frontend/src/components/icons/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ export {
6666
Layers as LayersIcon, // MdOutlineLayers
6767
LayoutGrid as CollectionIcon, // CollectionIcon (Heroicons) - Note: 3x3 grid → 2x2 grid
6868
Link as LinkIcon, // LinkIcon (Heroicons)
69-
Linkedin as LinkedInIcon, // FaLinkedin (LinkedIn removed from simple-icons)
7069
Loader2 as LoaderIcon, // Loading spinner
7170
Lock as LockIcon, // LockIcon (Octicons)
7271
Menu as MenuIcon, // ThreeBarsIcon (Octicons)

frontend/src/components/layout/footer.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
import { useLocation, useMatchRoute } from '@tanstack/react-router';
13-
import { GitHubIcon, LinkedInIcon, SlackIcon, TwitterIcon } from 'components/icons';
13+
import { GitHubIcon, SlackIcon, TwitterIcon } from 'components/icons';
1414

1515
import { isEmbedded } from '../../config';
1616
import env, { getBuildDate, IsCI, IsDev } from '../../utils/env';
@@ -88,14 +88,6 @@ export const AppFooter = () => {
8888
<a href="https://twitter.com/redpandadata" rel="noopener noreferrer" target="_blank" title="Twitter">
8989
<TwitterIcon size={16} />
9090
</a>
91-
<a
92-
href="https://www.linkedin.com/company/redpanda-data"
93-
rel="noopener noreferrer"
94-
target="_blank"
95-
title="LinkedIn"
96-
>
97-
<LinkedInIcon size={16} />
98-
</a>
9991
</div>
10092

10193
{/* Version Info */}

0 commit comments

Comments
 (0)