refactor(ai): welcome suggestions above the composer#4537
Closed
warcos-fact wants to merge 1 commit into
Closed
Conversation
When the triggering team supplies welcomeScreenSuggestions, render them above the textarea in fullscreen too (previously below), so the popover opens upward into empty space instead of covering the composer. No change when no suggestions are supplied — the row simply doesn't render. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
✅ No New Circular DependenciesNo new circular dependencies detected. Current count: 0 |
Contributor
📦 Alpha Package Version PublishedUse Use |
Contributor
🔍 Visual review for your branch is published 🔍Here are the links to: |
Contributor
✅ No breaking public API changesNo public exports were removed, renamed, or had existing props/types changed in a breaking way compared to Comparing |
Contributor
Coverage Report for packages/react
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
This was referenced Jun 22, 2026
Contributor
Author
warcos-fact
added a commit
that referenced
this pull request
Jun 22, 2026
Bake the welcome-cards capability into F0AiChat as a data-driven `welcomeScreenCards` prop (symmetric with `welcomeScreenSuggestions`), rendered by an internal WelcomeScreenCardsRow — replacing the standalone F0AiChatWelcomeCards component, which the consumer had to hand-wire through the `footer` slot. Also always render the welcome suggestions row above the composer so its popover opens upward instead of covering the input. Combines and supersedes #4534 and #4537. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
Folded into #4550 — the "suggestions above the composer" change ships alongside the native |
warcos-fact
added a commit
that referenced
this pull request
Jun 23, 2026
…mposer Bake the welcome-cards capability into F0AiChat as a data-driven welcomeScreenCards prop (symmetric with welcomeScreenSuggestions), rendered by an internal WelcomeScreenCardsRow — capped at 4 (2x2 grid). Replaces the standalone F0AiChatWelcomeCards component the consumer had to hand-wire through the footer slot. Also always render the welcome suggestions row above the composer so its popover opens upward instead of covering the input. Supersedes #4534 and #4537. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
On the F0AiChat welcome screen, when the triggering team supplies
welcomeScreenSuggestions, the suggestions row now sits above the composer in fullscreen too (previously it sat below in fullscreen, above in sidepanel). With the row above, the suggestion popover opens upward into empty space instead of covering the composer. When no suggestions are supplied the row simply doesn't render — unchanged.Extracted from the co-creation patterns PR (#4307). Note: this changes existing fullscreen placement, so it's worth a design sign-off.
Implementation details
WelcomeScreenSuggestionsRowpopover defaults to opening upward (side="top");"bottom"remains available