feat: add user feedback form with DB persistence and email notifications #81

Merged
chihlasm merged 16 commits from feat/feedback-form into main 2026-02-19 00:04:20 +00:00
2 changed files with 22 additions and 0 deletions
Showing only changes of commit 47c2ee42c6 - Show all commits

View File

@@ -0,0 +1,21 @@
import { apiClient } from './client'
export interface FeedbackSubmission {
email: string
feedback_type: string
message: string
}
export interface FeedbackResponse {
success: boolean
message: string
}
export const feedbackApi = {
submit: async (data: FeedbackSubmission): Promise<FeedbackResponse> => {
const { data: response } = await apiClient.post('/feedback', data)
return response
},
}
export default feedbackApi

View File

@@ -15,3 +15,4 @@ export { default as pinnedFlowsApi } from './pinnedFlows'
export { default as analyticsApi } from './analytics'
export { targetListsApi } from './targetLists'
export { maintenanceSchedulesApi, batchLaunchApi } from './maintenanceSchedules'
export { default as feedbackApi } from './feedback'