发布

  • [NA] [FE] Separate user opt-in from debug version override

    frostbyte_neo 发布于 2026-04-22 10:19:13 +00:00

    The user menu toggle now drives a dedicated opik-new-experience-opt-in
    localStorage key instead of sharing the opik-version-override key used
    for debugging. This keeps the opt-in semantics clean (only upgrades v1
    workspaces to v2, auto-cleared when the workspace migrates on the
    backend) and leaves the override as a true escape hatch that wins over
    everything.

    Resolver priority: explicit override > backend v2 > user opt-in > backend
    default. When the backend reports v2, any stale override or opt-in is
    cleared so localStorage cannot trap users on the wrong UI.

    The menu toggle is hidden whenever a version override is present, so
    the override remains the only knob in debug scenarios.

    下载附件