mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
## Problem The support form's "What issue are you having?" dropdown has no option for permission problems. Users who are blocked by a permission error can't tell us that's what they're hitting, so the backend can't treat those submissions differently. Linear: https://linear.app/supabase/issue/FE-5101 ## Solution Adds a `Permission issue` option to the category dropdown. It is sent to `POST /platform/feedback/send` as `category: 'Permission_issue'`, the same way the other categories are. - `@supabase/shared-types` is an external package, so I followed the existing `Plan_upgrade` and `Others` approach and added the value to the local `ExtendedSupportCategories` type instead of the shared enum. - Added the new value to the assistant handoff zod schema so a handoff carrying this category passes validation. - Added a component test that selects the option and checks the submitted payload. This PR is frontend only. No backend behavior changes here. ## Review instructions 1. Open the support form (`/support/new`). 2. Open the "What issue are you having?" dropdown and check that `Permission issue` is listed after "Issues with logging in", with the description "Issues accessing an organization or project you should have access to". 3. Select it, fill in the summary and message, and submit. In the browser network tab, check the `POST /platform/feedback/send` request body contains "category": "Permission_issue"`.