Skip to content

Fix navigation and implement 3D Dark UI theme - #12

Open
arslanvuzmal wants to merge 2 commits into
mainfrom
fix-nav-and-3d-dark-ui-6253863470002860216
Open

arslanvuzmal wants to merge 2 commits into
mainfrom
fix-nav-and-3d-dark-ui-6253863470002860216

Conversation

@arslanvuzmal

Copy link
Copy Markdown
Owner

This PR addresses both functional navigation issues and the user's request for a professional, "3D" dark theme UI.

Functional Fixes:

  1. Broken Links: Fixed the logo and setup wizard completion buttons which were either non-functional or using standard anchor tags that caused full page reloads.
  2. API Client: Updated apps/web/src/lib/api.ts to correctly unwrap data payloads in its generic return types, preventing type errors across the frontend.

UI Improvements (3D Dark Theme):

  1. Theming: Introduced a sophisticated grey and black color palette with high-contrast accents in globals.css and tailwind.config.ts.
  2. 3D Aesthetic: Added custom shadow and gradient tokens to create depth, bevel effects, and interactive "floating" card states.
  3. Dashboard: Overhauled with interactive BarChart and PieChart components for lead analytics, and modernized metric cards with trend indicators.
  4. Lead Details: Redesigned the analysis view into a structured grid with a dedicated intelligence sidebar, utilizing radar charts for score visualization.
  5. Component Refinement: Updated shared components (ScoreBadge, LeadCard, CriteriaEditor) to maintain aesthetic consistency across the platform.

Quality Assurance:

  • Backend: Successfully ran all 86 unit tests via pytest.
  • Frontend: Passed npm run type-check and npm run lint.
  • Visual: Verified the new theme through Playwright screenshots.

PR created automatically by Jules for task 6253863470002860216 started by @avuzmal

- Fixed broken navigation links in Sidebar and Setup pages using Next.js Link.
- Corrected API client generic types to handle unwrapped data payloads.
- Implemented a "3D Dark" theme with grey and black palette, layered shadows, and glassmorphism.
- Redesigned Dashboard and Lead Detail pages with professional visualizations using Recharts.
- Verified changes with full pytest suite (backend) and type-checking/linting (frontend).

Co-authored-by: avuzmal <291293085+avuzmal@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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.

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