Repository navigation
Description
Problem
Since #648, prompt suggestions are mined from the brand's real Google Search Console queries when a GSC property is connected and mapped — measurably better suggestions (real impressions/clicks instead of modeled guesses). But nothing in the product tells the user this advantage exists: the suggestions card looks identical with and without GSC, and the connect flow lives in Settings → Integrations where nobody stumbles onto it from the Prompts page. Users who would benefit most simply don't know.
Proposal
On the prompt suggestions card, when GSC is not contributing to this brand's suggestions, show a subtle inline hint with a CTA linking to /dashboard/settings?tab=integrations:
"Connect Google Search Console to power suggestions with your site's real search queries." → Connect
State logic (existing server actions cover all of it — web/src/lib/actions/integrations.ts):
| GSC state | Card behavior |
|---|---|
| Not configured (self-host without Composio env) | No hint at all — don't advertise a flow that can't complete |
| Configured but org not connected | Show the connect hint above |
| Connected, but this brand has no property mapped | Show the hint with mapping wording — "Map this brand to a Search Console property to power suggestions with real queries." — same link |
| Connected + mapped | No hint (the GSC rows and badges speak for themselves) |
Design notes:
- Keep it quiet: a muted one-liner (icon + text + link) inside the card, not a banner that competes with the suggestions themselves. The pattern used for other inline nudges on the dashboard is fine to copy.
- The card lives at web/src/app/%5Blocale%5D/(dashboard)/dashboard/prompts/_suggestions-card.tsx; GSC-sourced rows are already distinguishable there via
source === 'gsc'. - Fetch the status lazily and treat any status-fetch failure as "show nothing" — the hint must never delay or break the suggestions themselves.
Acceptance criteria
- With GSC env unset, the card renders exactly as today.
- With GSC configured but not connected (or brand unmapped), the appropriate one-line hint appears and links to Settings → Integrations.
- With GSC connected and the brand mapped, no hint is shown.
- Suggestion loading/behavior is unchanged in every state.
Activity
BharadwajKanneveti commentedon Aug 7, 2026
Hi @gkhngyk I will work on this issue
gkhngyk commentedon Aug 15, 2026
@BharadwajKanneveti — unassigning this one, and the reason is on our side rather than yours: the design it describes is no longer the design we want.
This issue asked for a quiet one-line hint inside the suggestions card. We have since decided to restructure that surface — Tracked Prompts and Prompt Suggestions become two tabs, and the connect flow becomes a proper panel with a card per data source (Search Console, Analytics) rather than a muted link. The acceptance criteria above describe something that no longer exists in that shape, so building against them would have wasted your time.
We are taking it on because it is now part of a larger layout change rather than an isolated addition. Sorry for the churn — that is our error in scoping, not a comment on your work.
#655 and #657 are still yours and unaffected. If you would rather swap this for something else, #660 (zero-result filters hide the filter bar) is open and unclaimed.
BharadwajKanneveti commentedon Aug 15, 2026
@gkhngyk sure i will pick up #660
feat(prompts): give suggestions their own tab and show what feeds them (