Commit Graph

3 Commits

Author SHA1 Message Date
RockChinQ d30f2c427e style: fix prettier formatting issues 2026-04-03 11:54:19 +08:00
RockChinQ 2a4ba237c4 refactor(web): migrate from Next.js to Vite + React Router 2026-04-03 11:24:14 +08:00
Junyan Chin 2d837c9cb4 feat: add in-product survey system (#2008)
* feat: add in-product survey system

- SurveyManager: event-based trigger, Space API communication
- Trigger on first successful non-WebSocket response
- Backend API: /api/v1/survey/{pending,respond,dismiss}
- Frontend: floating survey widget with progressive questions
- Flat radio/checkbox style (not dropdown Select)

* fix: persist triggered survey events to disk across restarts

Store triggered events in data/survey_triggered_events.json so that
restarting the process doesn't re-query Space for already-triggered events.

* fix: use metadata table for survey event persistence instead of file

Store triggered events in the existing metadata KV table
(key='survey_triggered_events') instead of a standalone JSON file.

* fix: ruff format and prettier fixes
2026-02-26 13:50:14 +08:00