Feedback Module
Module
User feedback collection and management for app and docs surfaces.
Includes drawer widget, element selection, and admin triage. Use this module for collecting and managing user feedback.
Features
Feedback Drawer
Slide-out drawer for collecting user feedback with element selection.
Categories
Organize feedback by type: bug, feature, question, other.
Status Tracking
Track feedback status: open, in progress, resolved, closed.
Attachments
File attachments with Supabase storage (5MB limit).
Storage Configuration
| Constant | Value | Description |
|---|---|---|
| FEEDBACK_BUCKET | feedback-attachments | Supabase storage bucket |
| FEEDBACK_MAX_FILE_SIZE | 5MB | Maximum attachment size |
Public API
import {
// Components
FeedbackDrawer, FeedbackList, FeedbackDetail,
// Storage
FEEDBACK_BUCKET,
FEEDBACK_MAX_FILE_SIZE,
FEEDBACK_ALLOWED_TYPES,
createFeedbackAttachmentPath,
// Hooks
useFeedback, useFeedbackList,
// Types
Feedback, FeedbackCategory, FeedbackStatus,
} from "@/modules/feedback"Try It
Full Documentation
For complete documentation including storage setup, RLS policies, and removal instructions, see modules/feedback/MODULE-FEEDBACK.md