-
Notifications
You must be signed in to change notification settings - Fork 2
feat(helpcentre): Implement comprehensive Help Centre with search, FAQs, and support channels #285
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 API routes for contact and bug report submissions - Add server-side handling for support ticket creation in Supabase - Enhance help page with dynamic contact and bug report forms - Implement form validation and error handling for support requests - Add state management for contact and bug report form interactions - Create quick action buttons for user support engagement - Improve user experience with responsive and interactive support features
…atures - Add comprehensive search functionality with debounce and highlighting - Implement dynamic FAQ filtering with real-time results count - Add quick actions and popular topics sections - Integrate toast notifications for form submissions - Enhance contact and bug report forms with advanced validation - Add keyboard interaction support (ESC key for closing dialogs) - Improve UI with loading skeletons and interactive accordion - Implement expand/collapse all functionality for FAQs - Add error handling and user feedback mechanisms
- Redesign support channels section with more detailed and visually appealing layout - Add Live Chat section with availability status and placeholder integration - Improve email support and support hours display with better visual hierarchy - Remove direct contact support button in favor of more granular support options - Add hover and interaction states for support channel cards - Implement placeholder toast for live chat integration - Refactor conditional rendering to use debouncedQuery instead of searchQuery
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. WalkthroughThis PR introduces a support ticket submission system with dedicated API routes for bug reports and contact forms, enhances the help page with interactive search, dialogs, and keyboard accessibility features, and implements a reusable toast notification system powered by Radix UI. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Help Page
participant API Route
participant Supabase
participant Toast System
User->>Help Page: Fill bug report / contact form
Help Page->>Help Page: Validate form (debounce & check fields)
Help Page->>API Route: POST request with validated data
API Route->>Supabase: Authenticate user (getUser)
Supabase-->>API Route: User ID or error
alt User Authenticated
API Route->>Supabase: Insert support_ticket record
Supabase-->>API Route: Success (ticket_id) or error
alt Insert Success
API Route-->>Help Page: 200 + success response
Help Page->>Toast System: Trigger success toast
Toast System-->>User: Show notification (auto-dismiss after delay)
else Insert Error
API Route-->>Help Page: 500 error
Help Page->>Toast System: Trigger error toast
Toast System-->>User: Show error notification
end
else Auth Failed
API Route-->>Help Page: 401 Unauthorized
Help Page->>Toast System: Trigger auth error toast
Toast System-->>User: Show error notification
end
User->>Help Page: Press ESC or click close
Help Page->>Help Page: Close dialog
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~30 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 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 |
Summary
This PR introduces a fully functional Help Centre section to improve user assistance and support accessibility across the platform.
Key Features Added
Technical Details
Additional Notes
Summary by CodeRabbit