Stu Mason
Stu Mason

Activity

StuMason/cleanconnect
TidyLinker.com
TypeScript
Pull Request Opened

PR #95 opened: feat: support request widget and admin panel

Summary

  • Floating "Need help?" button (bottom-right, all pages) opens a support form
  • Logged-in users auto-identified ("Sending as..."), guests provide name/email
  • Type dropdown for triage: Question, Bug, Feedback, Payment, Account, Other
  • Captures current page URL automatically
  • Stores in support_requests table, emails configurable recipients via SUPPORT_NOTIFY_EMAILS
  • Admin panel at /admin/support — list, view detail, resolve/reopen
  • Fixes pre-existing StatusBadge crash on unknown status values
  • Env var added to both production and staging Coolify apps

Test plan

  • Submit support request while logged out (name/email fields shown, toast on success)
  • Submit support request while logged in (shows "Sending as...", no name/email fields)
  • Check /admin/support lists the request
  • Click through to detail view, verify all fields shown
  • Resolve and reopen a request
  • Verify email sent to configured recipients
+1148
additions
-2
deletions
22
files changed