GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(app): show the provider connect hint on Home by arvsrn · Pull Request #64885 · anomalyco/opencode

Conversation

@arvsrn

@arvsrn arvsrn commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

All reactions
@arvsrn
feat(app): show the provider connect hint on Home
db51134
opencodejr[bot]
opencodejr Bot reviewed Nov 19, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

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.

All reactions
arvsrn added 2 commits November 19, 2026 21:54
@arvsrn
fix(app): stop reserving list space under the Home connect hint
55b67cf
@arvsrn
chore(app): fix spacing lint in provider tip
f41adee
@arvsrn
arvsrn merged commit 193ced8 into dev Nov 19, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@arvsrn
arvsrn deleted the home-provider-tip branch November 19, 2026 16:30
@BrewTestBot BrewTestBot mentioned this pull request Nov 23, 2026
opencode 2.4.0 Homebrew/homebrew-core#327368
Merged
@amrkmn amrkmn mentioned this pull request Nov 23, 2026
opencode 2.4.0 amrkmn/homebrew-tap#1251
Closed
1 task
@github-actions github-actions Bot mentioned this pull request Nov 23, 2026
feat: opencode release v2.4.0 sprisa/opencode-server#95
Merged
@scottames-github-bot scottames-github-bot Bot mentioned this pull request Nov 27, 2026
chore(deps): update ⬆️ mise-packages scottames/dots#1181
Merged
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@arvsrn
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.