Devr.AI icon indicating copy to clipboard operation
Devr.AI copied to clipboard

feat:UI/UX enhancement added using material UI library

Open vaishcodescape opened this issue 10 months ago β€’ 1 comments

Closes #

Overview

This PR refreshes the landing page UI with a modern, premium look and feel by leveraging Material UI, reusable custom components, and a refined turquoise/cyan theme. The goal is to improve visual appeal, consistency, responsiveness, and overall user experience, while keeping animations smooth and performance-friendly.


πŸ”§ What’s Changed

🧩 New Reusable Components

  • Introduced a custom Button component to standardize interactions across the app

    • Primary & secondary variants
    • Gradient backgrounds with shimmer effects
    • Icon support (startIcon, endIcon)
    • Designed for reusability and consistency

🧭 Material UI Integration

  • Navbar redesign using Material UI AppBar

    • Scroll-aware background with subtle glassmorphism
    • Responsive mobile drawer navigation
    • Reduced navbar height for a cleaner layout (80px β†’ 64px)
    • Animated gradient underlines on navigation links

🎨 Theme & Visual Enhancements

  • Added turquoise/cyan as the secondary brand color

    • New secondary palette: cyan-400 β†’ cyan-700
    • Gradient text accents (green β†’ cyan β†’ emerald)
    • Soft cyan glow effects and shadows
  • Extended tailwind.config.js to support the new design tokens


🐞 Bug Fixes & Stability Improvements

  • Fixed button text disappearing on hover (z-index issues)
  • Restored Sparkles icon visibility in the Waitlist CTA
  • Resolved Material UI dependency conflicts
  • Cleaned up lucide-react icon imports

🎯 CSS & Interaction Improvements

  • Smoother hover and transition effects for buttons
  • Animated gradient underlines for better visual feedback
  • Enhanced glassmorphism effects across components
  • Improved shadows and glow for better depth perception

πŸ“· Visual Highlights

  • Consistent turquoise theme across the landing page
  • Glassmorphic navbar with smooth scroll transitions
  • Polished animations on all interactive elements
  • Improved mobile responsiveness and touch interactions

Screenshot 2026-01-11 at 5 37 15β€―PM

🀝 Collaboration

None β€” implemented independently.


βœ… Checklist

  • [x] Followed contributing guidelines
  • [x] Components are responsive and tested
  • [x] Animations are smooth and performant
  • [x] Theme colors are consistent across the UI
  • [x] All CTAs use the reusable Button component
  • [x] Material UI integration is stable
  • [x] No console errors or warnings

βœ… Checklist

  • [x] I have read the contributing guidelines.
  • [x] UI components are responsive and tested
  • [x] Animations are smooth and performant
  • [x] Theme colors are consistent across all components
  • [x] All buttons use the reusable Button component
  • [x] Material UI is properly integrated
  • [x] No console errors or warnings

Summary by CodeRabbit

  • New Features

    • Animated, responsive footer with back-to-top and social links; smooth hash-scrolling in navbar
    • Revamped Hero with gradient headings, updated CTAs, and dashboard preview
    • Interactive Waitlist with form submission flow, success and error states
    • New reusable Button component used across CTAs
  • Style

    • Large visual overhaul: expanded design tokens, typography, spacing, gradients, textures, and animations
  • Chores

    • Added UI/styling dependencies
    • Removed several page re-exports (may require import updates)
    • Backend queue system refactored (infrastructure/internal change)

✏️ Tip: You can customize this high-level summary in your review settings.

vaishcodescape avatar Jan 10 '26 18:01 vaishcodescape

πŸ“ Walkthrough

Walkthrough

Adds MUI/Emotion deps and large UI rewrites (Hero, Waitlist, Navbar, Footer, new Button, CSS and Tailwind tokens), removes four frontend re-exports, and refactors the backend queue manager to a single RabbitMQ priority queue with updated enqueue/worker APIs.

Changes

Cohort / File(s) Summary
Dependencies
landing/package.json
Added @emotion/react, @emotion/styled, @mui/material, @mui/icons-material.
New UI Component
landing/src/components/ui/Button.tsx
New reusable Button component (primary/secondary, anchor support, icons, Framer Motion hover/tap, gradient/shimmer layers).
Footer
landing/src/components/layout/Footer.tsx
Full rewrite to MUI + Framer Motion: responsive multi-column layout, staggered animations, router-aware quick links, social icons, back-to-top control, layered gradient/grid backgrounds.
Navbar
landing/src/components/layout/Navbar.tsx
Added useNavigate-based smooth-hash scrolling on load and for link clicks, consolidated scroll handler, minor import cleanup, gradient site title styling.
Hero
landing/src/components/sections/Hero.tsx
Migrated to MUI primitives: gradient-accent headings, CTAs using new Button, preview card restyled, layered background accents.
Waitlist
landing/src/components/sections/Waitlist.tsx
Reimplemented with MUI form controls, typed state and submitted flow, Google Forms submission (FORM_ID/URL + field mappings), submitting/success/error handling, animated visuals and alerts.
Global Styles
landing/src/index.css
Large CSS overhaul: design tokens (colors, spacing, radii, shadows, transitions), expanded typography, gradient/shimmer utilities, elevation and background pattern utilities, focus/scrollbar styles.
Tailwind Config
landing/tailwind.config.js
Extended theme: gray palette, primary/secondary variants, added 8xl/9xl font sizes, extra spacing/radii, new shadows/glows, pulse-slow animation, xs backdrop blur.
Frontend exports
frontend/src/components/pages/index.ts
Removed four re-exports: Dashboard, BotIntegrationPage, ContributorsPage, PullRequestsPage.
Backend queue
backend/app/core/orchestration/queue_manager.py
Refactored to single durable RabbitMQ priority queue with x-max-priority, numeric PRIORITY_MAP, push-based consumers, changed signatures for connect/start/stop/enqueue/register_handler/_worker/_process_item. New DEFAULT_QUEUE_NAME and MAX_PRIORITY constants.

Sequence Diagram(s)

sequenceDiagram
  participant Producer as Producer (app/service)
  participant QueueMgr as AsyncQueueManager
  participant RabbitMQ as RabbitMQ (task_queue)
  participant Worker as Worker Handler

  Producer->>QueueMgr: enqueue(message, priority)
  QueueMgr->>RabbitMQ: publish message with numeric priority (x-priority)
  Note right of RabbitMQ: message queued in single priority-enabled queue
  RabbitMQ->>Worker: deliver message (push)
  Worker->>QueueMgr: _process_item(message)
  QueueMgr->>Worker: invoke registered handler (sync/async)
  Worker-->>RabbitMQ: ack on success / nack on failure (no requeue)

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~55 minutes

Possibly related PRs

  • AOSSIE-Org/Devr.AI#76 β€” Related to AsyncQueueManager refactor and its effects on enqueued tasks and consumers.
  • AOSSIE-Org/Devr.AI#113 β€” Overlapping UI/styling changes to Footer.tsx and Waitlist.tsx.
  • AOSSIE-Org/Devr.AI#72 β€” Conflicting queue designs: other PR modifies the same queue_manager behavior.

Suggested labels

enhancement

Suggested reviewers

  • chandansgowda
  • smokeyScraper

Poem

πŸ‡
I hopped through gradients and buttons that gleam,
Forms that hum softly and a navbar that beams,
Queues that now whisper tasks into night,
Footers that sparkle and icons take flight,
A carrot of CSS β€” the site feels just right.

πŸš₯ Pre-merge checks | βœ… 1 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Title check ⚠️ Warning The title is only partially related to the changeset. While UI/UX enhancement with Material UI is a significant part of the changes (landing page components), the PR also includes substantial backend changes (AsyncQueueManager refactoring) that are unrelated to the title. Consider a more comprehensive title that reflects both frontend UI changes and backend queue manager refactoring, such as 'feat: Material UI landing page redesign and queue manager refactoring' or split into separate PRs.
Docstring Coverage ⚠️ Warning Docstring coverage is 75.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
βœ… Passed checks (1 passed)
Check name Status Explanation
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • [ ] πŸ“ Generate docstrings

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.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Jan 10 '26 18:01 coderabbitai[bot]