le king fu
|
9e0adaf5c9
|
feat(feedback): integrate Feedback Hub widget in Settings (#68)
Add an in-app feedback form that POSTs to the centralized Feedback Hub
(feedback.lacompagniemaximus.com/api/feedback) with app_id "simpl-liste".
- src/services/feedback.ts: dependency-free client (pure helpers + fetch),
strict context whitelist, 2000-char cap, stable error codes
- src/hooks/useFeedback.ts: idle/sending/success/error state machine
- src/components/FeedbackModal.tsx: RN bottom-sheet with char counter,
opt-in navigation context and opt-in identity (Loi 25: both unchecked)
- Settings > About: new "Send feedback" button above the kept mailto entry
- i18n fr/en feedback block
- tests/feedback.test.mjs: node:test execution coverage of the client;
smoke.test.cjs static guards (app_id, endpoint, cap, import-free)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-27 19:43:12 -04:00 |
|