feat(web): add sidebar feedback popover

Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
This commit is contained in:
Hyu
2026-06-24 16:43:50 +08:00
committed by GitHub
parent 59b2a7cd51
commit 76471af179
8 changed files with 456 additions and 17 deletions
+13
View File
@@ -1332,6 +1332,19 @@ export class BackendClient extends BaseHttpClient {
return this.post('/api/v1/survey/dismiss', { survey_id: surveyId });
}
public submitFeedback(data: {
content: string;
page_url?: string;
user_agent?: string;
attachments?: Array<{
name: string;
mime_type: string;
data_url: string;
}>;
}): Promise<object> {
return this.post('/api/v1/survey/feedback', data);
}
// ============ Skills API ============
public getSkills(): Promise<ApiRespSkills> {