mirror of
https://github.com/supabase/supabase.git
synced 2026-07-01 01:25:54 +08:00
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 --> [](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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user