Skip to content

feat: Custom alert components and responsive layout fixes#20

Open
jisnu-glitch wants to merge 4 commits into
AndrewJerryV:mainfrom
jisnu-glitch:fix-chat-responsive
Open

feat: Custom alert components and responsive layout fixes#20
jisnu-glitch wants to merge 4 commits into
AndrewJerryV:mainfrom
jisnu-glitch:fix-chat-responsive

Conversation

@jisnu-glitch
Copy link
Copy Markdown
Collaborator

Overview

This PR improves the user interface by replacing native browser alerts with custom animated components and fixes layout scaling issues on mobile devices.

Changes

  • Alert System: Replaced native alert(), confirm(), and prompt() with a custom AlertContext using Framer Motion for better aesthetics and dark-mode support.
  • Error Handling: Improved the User History Modal to properly display API deletion errors to the user.
  • Responsive Design: Fixed layout compression issues in the Chat section and Time Tracking tabs for smaller screens.

…erlays

- Implemented AlertContext and useAlert hook for animated, dark-mode compatible toasts and modals using Framer Motion.

- Replaced native alert(), confirm(), and prompt() across all dashboard pages and components.

- Wrapped application root layout with AlertProvider.

- Updated tailwind.config.js to scan the contexts directory to ensure proper styling for the new overlays.

- Improved UserHistoryModal to gracefully display API deletion errors via useAlert instead of suppressing them silently.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

@jisnu-glitch is attempting to deploy a commit to the Andrew's projects Team on Vercel.

A member of the Team first needs to authorize it.

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