We should add a simple “Report a bug” dialog in the UI and pipe submissions into Bugsink to fix.
Dialog fields
- Title
- What happened? (description)
- Contact email (optional)
Backend
Add a tRPC mutation (e.g. bugReport.submit) that validates the payload and forwards it to Bugsink via the Sentry-compatible SDK (@sentry/nextjs) using the Bugsink DSN (Data Source Name).
Include basic context if available (current URL, user agent, app version, user id, other etc...).
Dev setup
- Add Bugsink to the dev docker-compose so we can test locally.
- Add SENTRY_DSN env var pointing at the local Bugsink project DSN.
Notes