GeezerVison is showing github.com — feat(app): show the provider connect hint on Home by arvsrn · Pull Request #64885 · anomalyco/opencode
Conversation
arvsrn
commented
Nov 19, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
The provider connect hint ("Connect to 75+ providers…") only showed on the new session page. A new user who stays on Home never saw it, so it now shows on Home too.
What changed
- The hint and its rules now live in one shared component,
providers/connect/tip.tsx, used by both pages. The rules are unchanged: it shows when nothing is connected and it wasn't dismissed in the last 30 days. The saved dismissal (new-session.provider-tip) is the same key, so one dismissal hides it on both pages.
- On Home, the hint reads the current server's default Location. Home sits outside any server context, so it wraps the hint in
ServerProvider for the current server.
- On Home it floats over the bottom of the session area, on a 64px fade so rows don't show through it. It reserves no space in the list: when you scroll to the very end, the last row can sit under the hint until it's dismissed. Reserving space made the list jump by 48px when the hint was dismissed while scrolled to the bottom, and the hint is easy to dismiss.
- The Home scroll area is now
isolate, so the sticky date headings stack inside the list and stay under the fade and the hint.
Flag
None. This adds an existing, already shipped hint to one more page, with the same rules and dismissal.
Testing
bun typecheck in packages/app, and src/runtime/persistence/consumers.test.ts (covers the moved ProviderTipSchema).
- Checked in the desktop dev app: on a fresh new-user profile, and on my real data with the hint forced on, to see it over a long, overflowing session list. That covered the fade, the sticky headings, and dismissing it while scrolled to the end.
Visual
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none">
<style>
.rows { animation: scroll 6s ease-in-out infinite; }
@keyframes scroll { 0%, 20% { transform: translateY(0) } 50%, 70% { transform: translateY(-18px) } 100% { transform: translateY(0) } }
@media (prefers-reduced-motion: reduce) { .rows { animation: none } }
</style>
<defs>
<mask id="m"><rect width="240" height="72" fill="#fff"/><rect y="44" width="240" height="28" fill="url(#g)"/></mask>
<linearGradient id="g" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#fff"/><stop offset="0.6" stop-color="#000"/></linearGradient>
</defs>
<rect x="0.5" y="0.5" width="239" height="71" rx="8" stroke="currentColor" stroke-opacity="0.25"/>
<g mask="url(#m)">
<g class="rows" fill="currentColor" fill-opacity="0.35">
<rect x="16" y="10" width="120" height="5" rx="2.5"/><rect x="196" y="10" width="28" height="5" rx="2.5"/>
<rect x="16" y="22" width="96" height="5" rx="2.5"/><rect x="196" y="22" width="28" height="5" rx="2.5"/>
<rect x="16" y="34" width="132" height="5" rx="2.5"/><rect x="196" y="34" width="28" height="5" rx="2.5"/>
<rect x="16" y="46" width="108" height="5" rx="2.5"/><rect x="196" y="46" width="28" height="5" rx="2.5"/>
<rect x="16" y="58" width="88" height="5" rx="2.5"/><rect x="196" y="58" width="28" height="5" rx="2.5"/>
<rect x="16" y="70" width="116" height="5" rx="2.5"/><rect x="196" y="70" width="28" height="5" rx="2.5"/>
</g>
</g>
<g fill="currentColor">
<rect x="58" y="59" width="116" height="4" rx="2" fill-opacity="0.6"/>
<path d="M179 58.5l2.5 2.5-2.5 2.5" stroke="currentColor" stroke-opacity="0.6" stroke-width="1.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</g>
</svg>
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sound. The tip moves into providers/connect/tip.tsx unchanged, with the same dismissal key. On Home it reads the server's default Location through ServerProvider, using the same defaultLocation pattern as the provider settings page. The connect dialog keeps the server context because dialog.show keeps the context it was called from. tsc --noEmit in packages/app is clean, and consumers.test.ts passes.
I couldn't run this in the app here, since it's a web/desktop UI change. Could you add before/after screenshots or a short clip of Home with the hint showing over a long session list?
Public API: unchanged. The persisted key new-session.provider-tip and its schema are unchanged; only the file the schema lives in changed.
No blocking concerns.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|