Skip to content

Upgrade Next.js, Tailwind CSS, and HeroUI to Latest Versions#30

Merged
amrabed merged 12 commits intomainfrom
upgrade-next-tailwind-heroui-15687692994589951899
Apr 18, 2026
Merged

Upgrade Next.js, Tailwind CSS, and HeroUI to Latest Versions#30
amrabed merged 12 commits intomainfrom
upgrade-next-tailwind-heroui-15687692994589951899

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

The project has been successfully upgraded to the latest available versions of Next.js (16.2.3), Tailwind CSS (4.2.2), and HeroUI (3.0.2).

Major changes include:

  • HeroUI v3 Migration: Extensive refactoring of Card, Modal, Popover, Tooltip, Chip, and Switch components to use the new compound component architecture. Replaced Divider with Separator and useDisclosure with useOverlayState.
  • Navbar Implementation: Since HeroUI v3 removed the built-in Navbar, a custom, accessible Navbar using semantic HTML and Tailwind was implemented to maintain existing functionality.
  • Tailwind CSS v4: Migrated from a TypeScript configuration file to a CSS-first setup in globals.css using theme variables and @import "tailwindcss".
  • Next.js 16 Support: Updated configuration and components for compatibility with Next.js 16, including fixing event handler prop warnings and ensuring proper Suspense boundaries for search params.
  • Code Quality: Updated ESLint to version 9 with a flat configuration and resolved critical linting and security issues.

All changes have been verified through successful production builds (npm run build) and visual verification of key user journeys using Playwright.


PR created automatically by Jules for task 15687692994589951899 started by @amrabed

@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@amrabed
Copy link
Copy Markdown
Owner

amrabed commented Apr 18, 2026

@jules rebase

@google-labs-jules
Copy link
Copy Markdown
Contributor Author

@jules rebase

Successfully rebased on main. I have also verified that the production build and linting still pass, and my previous fixes for HeroUI v3 and Tailwind CSS v4 are preserved.

google-labs-jules Bot and others added 11 commits April 18, 2026 06:47
This commit upgrades the core frontend stack and refactors the codebase to comply with HeroUI v3 breaking changes.

Key changes:
- Next.js upgraded to v16.2.3 (Turbopack enabled).
- Tailwind CSS upgraded to v4.2.2 (CSS-first configuration).
- HeroUI (formerly NextUI) upgraded to v3.0.2.
- Refactored all UI components to use HeroUI v3 compound component patterns.
- Replaced removed HeroUI Navbar with a custom implementation.
- Migrated ESLint to a flat configuration (v9).
- Verified build and frontend functionality via Playwright.
Summary of changes:
- Core Upgrades: Updated Next.js, Tailwind CSS, HeroUI, and TypeScript to latest versions.
- Tailwind v4 Migration: Configured CSS-first theme in globals.css and removed tailwind.config.ts.
- HeroUI v3 Migration: Refactored components to use compound component patterns (Card, Modal, Tooltip, etc.). Replaced removed library Navbar with a custom semantic implementation.
- Bug Fixes:
  - Resolved infinite refresh loop in URL synchronization.
  - Fixed broken dark mode toggle.
  - Corrected overlapping layout in the Intro section.
  - Balanced footer layout and removed duplicate social icons.
- Regressions Fixed: Restored full project card functionality including publication links and tech icons.
- Quality Assurance: Migrated to ESLint 9 flat configuration to resolve library incompatibilities. Verified build, lint, and frontend UI via Playwright.
@amrabed amrabed force-pushed the upgrade-next-tailwind-heroui-15687692994589951899 branch from 7c4cadc to 2cde74a Compare April 18, 2026 10:51
@sonarqubecloud
Copy link
Copy Markdown

@amrabed amrabed marked this pull request as ready for review April 18, 2026 21:26
@amrabed amrabed merged commit 4540684 into main Apr 18, 2026
5 checks passed
@amrabed amrabed deleted the upgrade-next-tailwind-heroui-15687692994589951899 branch April 18, 2026 21:37
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