FriendChise Docs
Feedback System
Documentation page for Feedback System
Users can submit feedback (bug reports or feature ideas) from anywhere in the app via the Feedback button in the navbar. Submissions are stored in the Feedback table and reviewed by admins at /admin/feedback.
How it works
- User clicks the Feedback button (top-right of the navbar).
- An
ActionSidebarpanel opens with a two-step form:- Step 1 — pick a type: Issue or Idea.
- Step 2 — write a message and optionally attach a screenshot.
- Screenshots are compressed client-side (max 1 MB / 1280px via
browser-image-compression), then uploaded directly from the browser to Supabase Storage (friendchise-publicbucket, pathfeedback/{userId}/{uuid}.{ext}) using a signed upload URL — bypassing Vercel's 4.5 MB body limit. - On submit,
submitFeedbackActionsaves the feedback row (with the optionalimageUrlstorage path).
