Support form Assistant Streamdown (#46248)

Re-adds support form Assistant response using a lighter weight
Streamdown component vs the more heavy `Message` component.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* AI Assistant follow-up card after ticket submission for project-scoped
requests.
* In-chat support request preview panels showing submitted subject and
message.

* **Improvements**
* Smarter project selection when opening the support form via
route/context.
* Success screen: cleaner layout, project-name messaging, optional
finish action, and a "Join Discord" button.
  * Category prompt text updated to "What issue are you having?"
  * New success/feedback section for consistent layouts.

* **Tests**
* Added tests covering support prompt serialization/parsing and UI
previews.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46248?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Saxon Fletcher
2026-05-26 19:56:52 +10:00
committed by GitHub
parent 2f24238fd9
commit 033daf223c
21 changed files with 924 additions and 80 deletions

View File

@@ -66,12 +66,7 @@ export const HelpPanel = ({
</div>
<div className="flex-1 overflow-hidden">
{isSupportView ? (
<SupportForm
initialParams={supportLinkQueryParams}
onFinish={() => {
setView('home')
}}
/>
<SupportForm initialParams={supportLinkQueryParams} />
) : (
<div className="flex h-full flex-col overflow-y-auto pb-5">
<HelpSection