-
Notifications
You must be signed in to change notification settings - Fork 2
Feat: Enhance Support Ticket System with Replies, Filtering, and Improved UI #292
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
…tus tracking - Add dynamic ticket filtering by status with interactive buttons - Implement status count tracking for each ticket status - Add responsive design improvements to ticket history section - Include empty state handling with informative messaging - Enhance user experience with filter and status visualization - Improve component with useMemo for performance optimization - Add CardDescription for better context and user guidance
…sive design - Refactor ticket detail page layout with responsive grid system - Add dark mode styling for ticket cards and sections - Improve reply history display with enhanced visual hierarchy - Update icons and styling for ticket type and status indicators - Remove unused card description and simplify header components - Enhance user experience with more intuitive ticket information presentation - Optimize mobile and desktop layouts for better readability
…ctions - Add support for user and admin replies in ticket detail view - Implement dynamic styling for user and admin reply messages - Update ticket reply API to fetch and display user and admin profiles - Add new API route for submitting user ticket replies - Improve reply display with author details, timestamps, and badges - Enhance ticket detail page to handle mixed user and admin reply scenarios - Add documentation for support ticket system
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. WalkthroughThe pull request extends the support ticket system to enable both admin and user replies. Changes include updating data models to make Changes
Sequence DiagramsequenceDiagram
participant User
participant UserUI as User Page
participant API as /api/support/tickets/[id]/reply
participant DB as Database
participant Email as Email Service
participant Admin as Admin
rect rgb(200, 220, 240)
Note over User,Admin: User Reply Workflow
User->>UserUI: Enter reply message
UserUI->>API: POST reply
API->>DB: Verify user is ticket owner
DB-->>API: Ticket verified
API->>DB: Create user reply record
DB-->>API: Reply created
API->>Email: Send notification to support
Email->>Admin: Support reply notification
API-->>UserUI: Success response
UserUI->>UserUI: Clear input, refetch ticket
UserUI-->>User: Display new reply
end
rect rgb(240, 220, 200)
Note over User,Admin: Admin Reply Workflow
Admin->>API: Submit admin reply via separate route
API->>DB: Create admin reply record
DB-->>API: Reply created
API->>Email: Compose admin reply email
Email->>User: Send ticket reply email
API-->>Admin: Success response
Admin->>Admin: View updated ticket with replies
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
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 |
This pull request introduces major improvements to the Support Ticket System, enhancing both functionality and user experience for admins and users.
✨ Key Features Added
Support Ticket Replies System
Enhanced Ticket Detail Page
Advanced Ticket Filtering & Status Management
🧠 Backend Enhancements
support_ticket_repliestable with proper foreign keys and RLS.🧩 UI/UX Improvements
✅ Additional Notes
Authored by: @akshay0611 '
Summary by CodeRabbit