• Will Chen's avatar
    Better UX for keep going in Supabase integration (#2123) · 99a5ffe0
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Improves the Supabase integration completion UX by adding an
    actionable control that advances the chat flow.
    > 
    > - Adds a `Continue` button (using `useStreamChat`) that sends
    `"Continue. I have completed the Supabase integration."` to the active
    chat via `selectedChatIdAtom`
    > - Disables the button while `isStreaming` and shows an error toast if
    no chat is available
    > - Removes the prior instructional text about clicking a chat
    suggestion
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    b384d8756c6861c7682b422883314eea522cc060. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Adds a Continue button to the Supabase integration flow that sends a
    “Continue. I have completed the Supabase integration.” message to the
    current chat, so users can proceed without hunting for the chat
    suggestion.
    
    - **New Features**
    - Added Continue button that calls streamMessage with the active chatId
    and disables while streaming.
      - Shows an error toast if no chat is available.
    
    <sup>Written for commit b384d8756c6861c7682b422883314eea522cc060.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatargemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    99a5ffe0
DyadAddIntegration.tsx 3.1 KB