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 — fix(app): classify existing web profiles for layout transition by dleopold · Pull Request #38117 · anomalyco/opencode

Conversation

@dleopold

@dleopold dleopold commented Jul 21, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Issue for this PR

Fixes #38124

Partially addresses #37546 by restoring the web layout escape hatch. Workspace support in the new layout remains outside this PR.

Related context: #37012 requests retaining the legacy layout permanently; this PR does not change the existing sunset policy.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Existing web profiles never receive layoutTransitionEligible because eligibility is currently initialized only by desktop onboarding. As a result, the existing layout transition control is hidden on web.

This change classifies previously unclassified web profiles once persisted settings and launch state are ready:

  • profiles with existing settings.v3 state or a recorded app version are eligible
  • blank web profiles are explicitly ineligible
  • the result is persisted in the existing settings field
  • desktop eligibility remains unchanged
  • the existing layout sunset remains unchanged

This keeps the original transition behavior: existing users get the temporary escape hatch, while blank profiles start on the new layout without the option to switch back.

How did you verify your code works?

  • bun test src/context/settings.test.ts — 12 passed, 0 failed
  • bun typecheck — passed
  • bun run build — passed
  • Manually tested the production preview:
    • blank web profile did not show the layout transition control
    • existing web state caused the control to appear
    • switching to the previous layout worked
    • the selected layout persisted after reload

Screenshots / recordings

The rendered control is unchanged; this PR only makes the existing control reachable for eligible web profiles.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

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

markuest reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dleopold
fix(app): allow existing web users to switch layouts
ff799b4
@dleopold
dleopold requested review from Brendonovich and Hona as code owners July 21, 2026 14:17
@github-actions github-actions Bot added the needs:issue label Jul 21, 2026
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dleopold dleopold mentioned this pull request Jul 21, 2026
Web: no way to revert the new layout, and the new layout is missing workspaces/worktrees #37546
Closed
@github-actions github-actions Bot removed the needs:issue label Jul 21, 2026
This was referenced Jul 21, 2026
Web: existing profiles are not eligible for the layout transition toggle #38124
Closed
[FEATURE] : keep legacy layout option #37012
Closed
@Brendonovich
Merge branch 'dev' into web-layout-toggle
edc9291
@Brendonovich
Brendonovich enabled auto-merge (squash) July 24, 2026 08:15
@onelpawarai

onelpawarai commented Jul 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

@Hona 🌟 Please contribute to my project and support me.
I would be truly grateful for your help and contributions. My goal is to make this project much bigger, more powerful, and more useful for everyone. Every idea, pull request, bug fix, feature, or suggestion makes a difference.
Let's build something amazing together. Thank you for your support! ❤️🚀

All reactions

Sorry, something went wrong.

Uh oh!

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

@Brendonovich
Brendonovich merged commit 57ddfeb into anomalyco:dev Jul 24, 2026
8 checks passed

Uh oh!

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

@LogicLyra LogicLyra mentioned this pull request Jul 25, 2026
chore: sync upstream through a85d8d23 (v1.18.5) LogicLyra/opencode-classic#10
Merged
@unemployabot unemployabot Bot mentioned this pull request Jul 25, 2026
Termux v1.18.5 wallentx/opencode-termux#32
Merged
moonug pushed a commit to moonug/opencode that referenced this pull request Aug 19, 2026
@dleopold @Brendonovich Konstantin Sazonov
fix(app): classify existing web profiles for layout transition (anoma…
8d78f27
…lyco#38117)

Co-authored-by: Brendan Allan <[email protected]>
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@dleopold @Brendonovich
fix(app): classify existing web profiles for layout transition (anoma…
3400e1c
…lyco#38117)

Co-authored-by: Brendan Allan <[email protected]>
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@dleopold @Brendonovich
fix(app): classify existing web profiles for layout transition (anoma…
0cc2524
…lyco#38117)

Co-authored-by: Brendan Allan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Hona Hona Awaiting requested review from Hona
@Brendonovich Brendonovich Awaiting requested review from Brendonovich

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.

Web: existing profiles are not eligible for the layout transition toggle

Uh oh!

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

3 participants

@dleopold @onelpawarai @Brendonovich
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.