Improve the way users confirm deletions of sales and user accounts

Replaces native confirm() dialogs with AlertDialog modals from shadcn/ui in SalesHistory and Administration components.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/af392dda-fd07-4339-ad27-aa15ea23c8ed.jpg
This commit is contained in:
michaelschal committed 2025-07-09 19:21:31 +00:00
1 parent c8164a1699
commit 04aff6fbbe
3 files changed
+112 -37

No files matched your search

+8 -1
View File
@@ -151,4 +151,11 @@ Preferred communication style: Simple, everyday language.
- ✅ Generated default admin account (admin/admin123) for initial setup
- ✅ Updated all components to work with database instead of local storage
- ✅ Added session-based authentication with PostgreSQL session store
- ✅ Implemented comprehensive API with proper validation and error handling
- ✅ Implemented comprehensive API with proper validation and error handling
### User Experience Improvements (January 9, 2025)
- ✅ Fixed authentication flow issues with login/logout redirects
- ✅ Replaced native browser confirm() dialogs with modern AlertDialog modals
- ✅ Enhanced deletion confirmations in sales history and administration panels
- ✅ Improved visual feedback with detailed confirmation dialogs showing item details
- ✅ Added proper modal management with shadcn/ui AlertDialog components