-
Notifications
You must be signed in to change notification settings - Fork 2
feat(adminsupport): Implement admin support ticket management dashboard #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Implement new support ticket detail page with dynamic routing - Add support ticket API routes for fetching and updating tickets - Enhance admin sidebar with new Support Tickets navigation item - Create detailed ticket view with status tracking and user information - Implement loading skeletons and error handling for ticket management - Add internal notes section for admin communication - Support different ticket types (bug report and contact request) - Integrate toast notifications for ticket status updates
…improved UX - Refactor page layout with responsive padding and spacing - Update header and title styles for better readability on different screen sizes - Simplify and improve filter section layout with more compact design - Add responsive adjustments to buttons and text sizes - Optimize ticket list display with more compact and mobile-friendly elements - Improve visual hierarchy and spacing across the support tickets page - Enhance filter buttons with flex-wrap and size-adaptive labels
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces a comprehensive admin support ticket management system. It adds a sidebar navigation entry, creates a ticket listing page with filtering and search capabilities, develops a detailed ticket view page, and implements backend API routes for retrieving and updating ticket data with admin authentication checks. Changes
Sequence DiagramsequenceDiagram
actor Admin
participant UI as Support Pages
participant API as API Routes
participant DB as Supabase
Admin->>UI: Access support tickets page
UI->>API: GET /api/admin/support/tickets
API->>DB: Verify admin, fetch tickets + profiles
DB-->>API: Tickets with user data
API-->>UI: Return tickets list
UI-->>Admin: Display filtered ticket list with stats
Admin->>UI: Click ticket to view details
UI->>API: GET /api/admin/support/tickets/[id]
API->>DB: Fetch ticket & author profile
DB-->>API: Ticket details
API-->>UI: Return ticket data
UI-->>Admin: Display ticket detail view
Admin->>UI: Update ticket status
UI->>API: PATCH /api/admin/support/tickets/[id]
API->>DB: Validate status, update ticket
DB-->>API: Updated ticket
API-->>UI: Confirmation response
UI-->>Admin: Show success, refresh ticket
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
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. Comment |
Summary
This PR introduces a complete Admin Support Ticket Management System that allows administrators to view, manage, and respond to user-submitted support tickets efficiently.
Key Features Added
open,in_progress,resolved,closed) directly from the dashboard.support_ticketstable and RLS policies for secure data access.Technical Notes
support_ticketsandprofiles.Authored by: @akshay0611
Summary by CodeRabbit
Release Notes
New Features