fix(frontend): remove copyright and social-links footer bar#4550
Conversation
Drop the bottom bar that showed the GitHub, LinkedIn, and X icons and the 'Copyright © <year> | Agenta.' line from the platform layout. Remove the FooterIsland component, its styles, and the footerHeight resize observer that only existed to size the footer.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR removes footer rendering and its related styling and wiring from the web/oss Layout: the FooterIsland component and footer JSX are deleted, footerHeight is removed from styles and layout logic, and footer-specific style rules and imports are removed. ChangesFooter island removal
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: db633bed-fcd0-4e88-b577-cf7fcdfce86e
📒 Files selected for processing (3)
web/oss/src/components/Layout/FooterIsland.tsxweb/oss/src/components/Layout/Layout.tsxweb/oss/src/components/Layout/assets/styles.ts
💤 Files with no reviewable changes (1)
- web/oss/src/components/Layout/FooterIsland.tsx
Railway Preview Environment
Updated at 2026-06-05T10:11:27.368Z |
The useStyles call cast its arg to StyleProps, but StyleProps was never
imported in Layout.tsx (a latent issue, flagged by review). With footerHeight
gone, StyleProps is just {themeMode}, so the cast is unnecessary. Pass the
arg directly; tsc confirms it type-checks.
Context
Every platform page rendered a bottom bar with the GitHub, LinkedIn, and X icons and a "Copyright © | Agenta." line. We want it gone.
Changes
Removed the footer from the app layout (
web/oss/src/components/Layout/Layout.tsx): the<FooterIsland>block, its 30px spacer, the dynamicFooterIslandimport, and the now-unused icon /Space/Linkimports.Deleted the
FooterIslandcomponent, which was only used by that layout.Cleaned up the styles (
assets/styles.ts): dropped thefooter,footerLeft, andfooterLinkIconrules, and removed thefooterHeightplumbing. AuseResizeObserverexisted only to measure the footer and feed its height into thecontentstyle'sheight/marginBottomcalc. With no footer, that measurement is always zero, so the observer, thefooterHeightprop threaded throughAppWithVariants, and the calc are all gone.StylePropsis now a plain alias of the shared style props (it only carriedfooterHeight).EE uses this same OSS layout, so the bar is removed everywhere.
Tests
npx eslinton the two edited files: passes.web/oss,web/ee, andweb/packagesforFooterIsland,footerHeight,footer,footerLeft,footerLinkIcon: no remaining source references.