Feedback
The Feedback
component is a widget for collecting user feedback. It provides a rating system with optional comments and integrates with the backend API for submitting feedback. Results are available in the Mission Control app.
Preview
Usage
Notes
The
Feedback
component uses thePopover
,PopoverTrigger
,PopoverContent
,Form
,Button
,Icon
, andViewContext
from'components/lib'
.The
Feedback
component manages its own state for displaying the rating and comments form.The
icons
array defines the icons and colors for the different rating options.The
saveRating
function sets the selected rating and shows the comments form.The
Form
component is used to submit feedback to the backend API.
Last updated