feat(feedback): add problem reporting flow

This commit is contained in:
2026-07-16 18:30:34 +08:00
parent 4981de9b18
commit 37f45f0736
34 changed files with 1866 additions and 4 deletions
@@ -0,0 +1,22 @@
export const FEEDBACK_CATEGORIES = [
"problem",
"suggestion",
"payment",
"other",
] as const;
export type FeedbackCategory = (typeof FEEDBACK_CATEGORIES)[number];
export interface FeedbackContext {
appVersion: string;
platform: string;
browser: string;
viewport: string;
}
export interface SubmitFeedbackInput {
category: FeedbackCategory;
content: string;
context: FeedbackContext;
images: readonly File[];
}