Skip to content

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

Description

@dleopold

Description

Description

Existing OpenCode Web profiles do not receive layoutTransitionEligible, so the layout transition control is hidden during the current grace period.

Eligibility is currently initialized only through desktop onboarding:

ts
settings.general.setOldLayoutEligible(existingInstall)

The web app does not run that onboarding path, even when the browser already has persisted settings.v3 state or a recorded app version. As a result, existing web users cannot access the already-implemented transition control.

This is the web eligibility portion of #37546. That issue also covers missing workspace/worktree functionality in the new layout, which is a separate problem.

Related context: #37012 requests retaining the legacy layout permanently. This report is narrower and does not request changing the existing sunset policy.

Expected behavior

Existing web profiles should be classified as eligible and see the existing layout transition control before the configured sunset.

Blank web profiles should remain ineligible and start on the new layout without the control.

Steps to reproduce

  1. Open OpenCode Web using a browser profile with existing OpenCode settings.
  2. Upgrade into the current new-layout transition release.
  3. Open Settings → General.
  4. Observe that the layout transition control is absent.

The profile has persisted settings.v3 and/or app-version.v1 state, but layoutTransitionEligible is never initialized because web does not run the desktop onboarding path.

OpenCode version

Web client 1.18.3, OpenCode CLI/server 1.18.4; also reproducible on the current dev branch

Proposed scope

Classify 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 layoutTransitionEligible field.
  • Desktop eligibility behavior remains unchanged.
  • The existing layout sunset remains unchanged.

Related issues

Operating System

Ubuntu 26.04 LTS

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions