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 — [FEATURE]: Restore the legacy UI with the persistent left sidebar as an option · Issue #48882 · anomalyco/opencode

[FEATURE]: Restore the legacy UI with the persistent left sidebar as an option #48882

New issue
Copy link
New issue
Copy link
Open
Open
[FEATURE]: Restore the legacy UI with the persistent left sidebar as an option#48882
Copy link
Assignees
Brendonovich

Description

@HRronaldo
HRronaldo
opened on Sep 14, 2026
Issue body actions

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The recent sidebar redesign (#20242) replaced the classic two-panel layout
(persistent left sidebar + session panel) with a Codex-style unified view.
For me this is not a visual refresh — it removed the single most important
part of my daily workflow, and there is currently no way to go back.

What I want changed / added:

  1. Keep the legacy UI with the persistent left sidebar available as an
    option (a legacy / classic UI toggle or config flag is enough — it
    doesn't have to be the default).
  2. If the legacy layout can't be maintained, at minimum restore an
    always-visible left sidebar — not hover-only menus or a collapsed rail
    that requires extra clicks.

Why this matters (the benefit):

I live inside opencode for hours every day. The left sidebar gives me an
at-a-glance, persistent view of my projects, workspaces, and sessions:

  • I can see and switch between projects/contexts without breaking flow.
  • Sessions are one click away, not buried behind hover or search.
  • Context switching stays fast and predictable.

The new interface hides all of this behind a single unified list with
hover/focus interactions. Every session feels slower and more disoriented.
This is not an aesthetic preference — removing the sidebar with no escape
hatch is a functional regression for anyone who relies on it.

Related:

  • Can we have a setting to go back to the old UI? #4583 asked for a way to go back to the old UI.
  • feat: redesign sidebar with Codex-style unified view #20242 introduced the sidebar redesign.

Happy to provide screenshots, my opencode version, and platform details if
that helps. Please don't leave those of us who depend on the left sidebar
behind.

Reacted by intlex, hxl11Zzz, diuwu, 严浩, ellamas-grupoarpada, Kevin Riemens, beliefchen398, Eugene, Igor Chakrygin, Florian Buenzli and 37 more

Activity

Next
  1. github-actions
    assigned
    Brendonovich
    on Sep 14, 2026
  2. github-actions commented on Sep 14, 2026

    @github-actions
    github-actionsBot
    on Sep 14, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [UI feedback] Forced V2 interface destroys productivity for multi-project/multi-agent workflows (20+ sessions) #48837: Same request — restore persistent sidebar/old layout for power users managing many sessions
    • [FEATURE] : keep legacy layout option #37012: "keep legacy layout option" — directly requests preserving the old two-panel layout
    • [FEATURE]New users can't switch back from the new layout — no layout toggle available #39835: No layout toggle available for switching back to the old layout
    • Web: no way to revert the new layout, and the new layout is missing workspaces/worktrees #37546: Web UI has no way to revert to the old layout

    Please review these issues and consider adding your feedback there instead, or linking them as related.

    Reacted by LAO, daudef and 0-SamboNZ-0
  3. HRronaldo commented on Sep 14, 2026

    @HRronaldo
    HRronaldo
    on Sep 14, 2026
    Author
    More actions
    Image

    win11 opencode desktop
    version:v1.18.30

  4. zhengxingjian commented on Sep 14, 2026

    @zhengxingjian
    zhengxingjian
    on Sep 14, 2026
    More actions

    准备换deepseek-harness,新布局生产力不行

    Reacted by kapaandyy, beliefchen398, daudef and 0-SamboNZ-0
  5. aa2013 commented on Sep 14, 2026

    @aa2013
    aa2013
    on Sep 14, 2026
    More actions

    新UI太难用了,完全没用旧UI好用,新UI操作太反人类

    Reacted by 理查德, intlex, diuwu, kapaandyy, beliefchen398, 0-SamboNZ-0, ZenDevMaster, anonymous2100 and frank
  6. 0-SamboNZ-0 commented on Sep 14, 2026

    @0-SamboNZ-0
    0-SamboNZ-0
    on Sep 14, 2026
    More actions

    I also agree that the original layout was MUCH easier to use; this is a significant loss for usability!

    Reacted by intlex, diuwu, aa2013, kapaandyy, Kevin Riemens, beliefchen398, Igor Chakrygin, Florian Buenzli, drobin04, 0-SamboNZ-0 and 3 more
  7. aa2013 commented on Sep 14, 2026

    @aa2013
    aa2013
    on Sep 14, 2026
    More actions

    写了个powersell脚本,替换opencode打包后的 asar 里面的新布局判断逻辑强制使用旧布局,执行powershell,输入asar的文件夹,通常是:
    C:\Users\%Username%\AppData\Local\Programs\@opencode-aidesktop\resources
    注意替换路径里面的用户名,脚本会自动备份当前的asar,执行完成后重启opencode即可,支持 1.18.30 版本
    注意:每次更新opencode后需要重新执行

    I wrote a PowerShell script that replaces the new layout detection logic inside the packaged asar of opencode, forcing it to use the old layout. Run PowerShell and enter the asar folder, which is usually:
    C:\Users\%Username%\AppData\Local\Programs\@opencode-aidesktop\resources
    Note: replace the username in the path. The script will automatically back up the current asar. After it finishes, just restart opencode. It supports version 1.18.30.
    Note: You need to run it again after each opencode update.

    Image

    script

    generated by ai

    Copy and save it as a .ps1 file, then run it.

    $ErrorActionPreference = "Stop"
    
    # Wait for a key press so the console window does not close before the result is visible.
    function Wait-Key {
        Write-Host ""
        Write-Host "Press any key to exit ..."
        [void][Console]::ReadKey($true)
    }
    
    # ---------- Step 0: locate app.asar ----------
    Write-Host "[1/8] Resolve app.asar path from the folder you provide ..."
    $inputPath = Read-Host "Enter the opencode install folder"
    $inputPath = $inputPath.Trim().Trim('"', "'")
    
    if ([string]::IsNullOrWhiteSpace($inputPath)) {
        Write-Host "Error: path cannot be empty."
        Wait-Key
        exit 1
    }
    
    if (-not (Test-Path -LiteralPath $inputPath -PathType Container)) {
        Write-Host "Error: folder not found: $inputPath"
        Wait-Key
        exit 1
    }
    
    # 只接受文件夹:优先找其下的 resources\app.asar,其次文件夹内直接存在的 app.asar
    $item = Get-Item -LiteralPath $inputPath
    $candidates = @(
        (Join-Path $item.FullName "resources\app.asar"),
        (Join-Path $item.FullName "app.asar")
    )
    $AsarPath = $null
    foreach ($candidate in $candidates) {
        if (Test-Path -LiteralPath $candidate -PathType Leaf) {
            $AsarPath = $candidate
            break
        }
    }
    if (-not $AsarPath) {
        Write-Host "Error: no app.asar found under: $($item.FullName)"
        Write-Host "Expected at 'resources\app.asar' or 'app.asar'."
        Wait-Key
        exit 1
    }
    Write-Host "       app.asar: $AsarPath"
    
    # ---------- Step 1: prepare equal-length replacement ----------
    Write-Host "[2/8] Building equal-length replacement string ..."
    $target = "if (layoutUpgrade()) return true;"
    $replacement = "return false;"
    $pad = " " * ($target.Length - $replacement.Length)
    $newString = $replacement + $pad
    
    # Equal-length invariant must hold, otherwise the ASAR header offsets break.
    if ($newString.Length -ne $target.Length) {
        Write-Host "Error: equal-length invariant broken."
        Wait-Key
        exit 1
    }
    Write-Host "       target len: $($target.Length) / replacement len: $($newString.Length)"
    
    # ---------- Step 2: read bytes ----------
    Write-Host "[3/8] Reading bytes from $AsarPath ..."
    $targetBytes = [System.Text.Encoding]::ASCII.GetBytes($target)
    $newBytes = [System.Text.Encoding]::ASCII.GetBytes($newString)
    $bytes = [System.IO.File]::ReadAllBytes($AsarPath)
    Write-Host "       read $($bytes.Length) bytes"
    
    # Naive scan for a byte sub-sequence; good enough for a short needle.
    function Find-Bytes {
        param(
            [byte[]]$Data,
            [byte[]]$Pattern,
            [int]$StartIndex = 0
        )
        $last = $Data.Length - $Pattern.Length
        for ($i = $StartIndex; $i -le $last; $i++) {
            if ($Data[$i] -ne $Pattern[0]) { continue }
            $ok = $true
            for ($j = 1; $j -lt $Pattern.Length; $j++) {
                if ($Data[$i + $j] -ne $Pattern[$j]) {
                    $ok = $false
                    break
                }
            }
            if ($ok) { return $i }
        }
        return -1
    }
    
    # ---------- Step 3: search for target ----------
    Write-Host "[4/8] Searching for target string ..."
    $index = Find-Bytes -Data $bytes -Pattern $targetBytes
    
    if ($index -lt 0) {
        Write-Host "       Target string not found; maybe already locked."
        Wait-Key
        exit 0
    }
    Write-Host "       found at offset $index"
    
    # Ensure the match is unique so we never patch the wrong spot.
    $second = Find-Bytes -Data $bytes -Pattern $targetBytes -StartIndex ($index + 1)
    if ($second -ne -1) {
        Write-Host "Error: multiple matches found (offset $second); aborting."
        Wait-Key
        exit 1
    }
    
    # ---------- Step 4: backup ----------
    Write-Host "[5/8] Creating backup ..."
    $bakPath = [System.IO.Path]::ChangeExtension($AsarPath, "asar.bak")
    if (-not (Test-Path -LiteralPath $bakPath)) {
        Copy-Item -LiteralPath $AsarPath -Destination $bakPath
        Write-Host "       Backup created: $bakPath"
    }
    else {
        Write-Host "       Backup exists, skip: $bakPath"
    }
    
    # ---------- Step 5: patch in memory ----------
    Write-Host "[6/8] Applying equal-length replacement ..."
    $originalLength = $bytes.Length
    
    # Overwrite the matched region with the equal-length replacement.
    [System.Array]::Copy($newBytes, 0, $bytes, $index, $newBytes.Length)
    
    if ($bytes.Length -ne $originalLength) {
        Write-Host "Error: array length changed; aborting before write."
        Wait-Key
        exit 1
    }
    
    # ---------- Step 6: write back ----------
    Write-Host "[7/8] Writing patched bytes back ..."
    [System.IO.File]::WriteAllBytes($AsarPath, $bytes)
    
    # ---------- Step 7: verify ----------
    Write-Host "[8/8] Verifying patched region ..."
    $verifyBytes = [System.IO.File]::ReadAllBytes($AsarPath)
    $verifySlice = $verifyBytes[$index..($index + $newBytes.Length - 1)]
    $verifyText = [System.Text.Encoding]::ASCII.GetString($verifySlice)
    if (-not $verifyText.StartsWith($replacement)) {
        Write-Host "Error: verification failed; unexpected content after write."
        Wait-Key
        exit 1
    }
    
    Write-Host "Success: old layout locked."
    Wait-Key
    Reacted by 0-SamboNZ-0, 理查德, qingfengguoyun, QQQ27, beliefchen398, Meepo268, Axel Po, Kirill Lebedinov and Liu Peng
    Reacted by LAO
    Reacted by Meepo268
  8. JamesLi2013 commented on Sep 14, 2026

    @JamesLi2013
    JamesLi2013
    on Sep 14, 2026
    More actions

    Keep legacy layout option
    If the new layout is used, I never want to use it again.

    Reacted by 0-SamboNZ-0, kapaandyy, 理查德, qingfengguoyun, ellamas-grupoarpada, Axel Po, tommy-codez, beliefchen398, Magnus Shaffer, ZenDevMaster and 2 more
  9. diuwu commented on Sep 14, 2026

    @diuwu
    diuwu
    on Sep 14, 2026
    More actions

    We strongly demand that the old layout be restored. Ever since it was changed to the new layout, my colleagues and I have all given up on opencode.

    Reacted by 0-SamboNZ-0, 理查德, qingfengguoyun, Axel Po, beliefchen398, Kirill Lebedinov and Vlad L.
  10. 0-SamboNZ-0 commented on Sep 14, 2026

    @0-SamboNZ-0
    0-SamboNZ-0
    on Sep 14, 2026
    More actions

    I wrote a PowerShell script that replaces the new layout detection logic inside the packaged asar of opencode, forcing it to use the old layout.

    Beautiful! Works perfectly! Thank you for sharing!

    Reacted by 理查德 and qingfengguoyun
  11. ellamas-grupoarpada commented on Sep 14, 2026

    @ellamas-grupoarpada
    ellamas-grupoarpada
    on Sep 14, 2026
    More actions

    写了个powersell脚本,替换opencode打包后的 asar 里面的新布局判断逻辑强制使用旧布局,执行powershell,输入asar的文件夹,通常是: C:\Users\%Username%\AppData\Local\Programs\@opencode-aidesktop\resources 注意替换路径里面的用户名,脚本会自动备份当前的asar,执行完成后重启opencode即可,支持 1.18.30 版本 注意:每次更新opencode后需要重新执行

    I wrote a PowerShell script that replaces the new layout detection logic inside the packaged asar of opencode, forcing it to use the old layout. Run PowerShell and enter the asar folder, which is usually: C:\Users\%Username%\AppData\Local\Programs\@opencode-aidesktop\resources Note: replace the username in the path. The script will automatically back up the current asar. After it finishes, just restart opencode. It supports version 1.18.30. Note: You need to run it again after each opencode update.

    Image

    script

    generated by ai

    Copy and save it as a .ps1 file, then run it.

    $ErrorActionPreference = "Stop"

    Wait for a key press so the console window does not close before the result is visible.

    function Wait-Key {
    Write-Host ""
    Write-Host "Press any key to exit ..."
    [void][Console]::ReadKey($true)
    }

    ---------- Step 0: locate app.asar ----------

    Write-Host "[1/8] Resolve app.asar path from the folder you provide ..."
    $inputPath = Read-Host "Enter the opencode install folder"
    $inputPath = $inputPath.Trim().Trim('"', "'")

    if ([string]::IsNullOrWhiteSpace($inputPath)) {
    Write-Host "Error: path cannot be empty."
    Wait-Key
    exit 1
    }

    if (-not (Test-Path -LiteralPath $inputPath -PathType Container)) {
    Write-Host "Error: folder not found: $inputPath"
    Wait-Key
    exit 1
    }

    只接受文件夹:优先找其下的 resources\app.asar,其次文件夹内直接存在的 app.asar

    $item = Get-Item -LiteralPath $inputPath
    $candidates = @(
    (Join-Path $item.FullName "resources\app.asar"),
    (Join-Path $item.FullName "app.asar")
    )
    $AsarPath = $null
    foreach ($candidate in $candidates) {
    if (Test-Path -LiteralPath $candidate -PathType Leaf) {
    $AsarPath = $candidate
    break
    }
    }
    if (-not $AsarPath) {
    Write-Host "Error: no app.asar found under: $($item.FullName)"
    Write-Host "Expected at 'resources\app.asar' or 'app.asar'."
    Wait-Key
    exit 1
    }
    Write-Host " app.asar: $AsarPath"

    ---------- Step 1: prepare equal-length replacement ----------

    Write-Host "[2/8] Building equal-length replacement string ..."
    $target = "if (layoutUpgrade()) return true;"
    $replacement = "return false;"
    $pad = " " * ($target.Length - $replacement.Length)
    $newString = $replacement + $pad

    Equal-length invariant must hold, otherwise the ASAR header offsets break.

    if ($newString.Length -ne $target.Length) {
    Write-Host "Error: equal-length invariant broken."
    Wait-Key
    exit 1
    }
    Write-Host " target len: $($target.Length) / replacement len: $($newString.Length)"

    ---------- Step 2: read bytes ----------

    Write-Host "[3/8] Reading bytes from $AsarPath ..."
    $targetBytes = [System.Text.Encoding]::ASCII.GetBytes($target)
    $newBytes = [System.Text.Encoding]::ASCII.GetBytes($newString)
    $bytes = [System.IO.File]::ReadAllBytes($AsarPath)
    Write-Host " read $($bytes.Length) bytes"

    Naive scan for a byte sub-sequence; good enough for a short needle.

    function Find-Bytes {
    param(
    [byte[]]$Data,
    [byte[]]$Pattern,
    [int]$StartIndex = 0
    )
    $last = $Data.Length - $Pattern.Length
    for ($i = $StartIndex; $i -le $last; $i++) {
    if ($Data[$i] -ne $Pattern[0]) { continue }
    $ok = $true
    for ($j = 1; $j -lt $Pattern.Length; $j++) {
    if ($Data[$i + $j] -ne $Pattern[$j]) {
    $ok = $false
    break
    }
    }
    if ($ok) { return $i }
    }
    return -1
    }

    ---------- Step 3: search for target ----------

    Write-Host "[4/8] Searching for target string ..."
    $index = Find-Bytes -Data $bytes -Pattern $targetBytes

    if ($index -lt 0) {
    Write-Host " Target string not found; maybe already locked."
    Wait-Key
    exit 0
    }
    Write-Host " found at offset $index"

    Ensure the match is unique so we never patch the wrong spot.

    $second = Find-Bytes -Data $bytes -Pattern $targetBytes -StartIndex ($index + 1)
    if ($second -ne -1) {
    Write-Host "Error: multiple matches found (offset $second); aborting."
    Wait-Key
    exit 1
    }

    ---------- Step 4: backup ----------

    Write-Host "[5/8] Creating backup ..."
    $bakPath = [System.IO.Path]::ChangeExtension($AsarPath, "asar.bak")
    if (-not (Test-Path -LiteralPath $bakPath)) {
    Copy-Item -LiteralPath $AsarPath -Destination $bakPath
    Write-Host " Backup created: $bakPath"
    }
    else {
    Write-Host " Backup exists, skip: $bakPath"
    }

    ---------- Step 5: patch in memory ----------

    Write-Host "[6/8] Applying equal-length replacement ..."
    $originalLength = $bytes.Length

    Overwrite the matched region with the equal-length replacement.

    [System.Array]::Copy($newBytes, 0, $bytes, $index, $newBytes.Length)

    if ($bytes.Length -ne $originalLength) {
    Write-Host "Error: array length changed; aborting before write."
    Wait-Key
    exit 1
    }

    ---------- Step 6: write back ----------

    Write-Host "[7/8] Writing patched bytes back ..."
    [System.IO.File]::WriteAllBytes($AsarPath, $bytes)

    ---------- Step 7: verify ----------

    Write-Host "[8/8] Verifying patched region ..."
    $verifyBytes = [System.IO.File]::ReadAllBytes($AsarPath)
    $verifySlice = $verifyBytes[$index..($index + $newBytes.Length - 1)]
    $verifyText = [System.Text.Encoding]::ASCII.GetString($verifySlice)
    if (-not $verifyText.StartsWith($replacement)) {
    Write-Host "Error: verification failed; unexpected content after write."
    Wait-Key
    exit 1
    }

    Write-Host "Success: old layout locked."
    Wait-Key

    Works! Thanks!

    Made opencode check for security, and it added timestamped .bak (just in case of repetition):


    $ErrorActionPreference = "Stop"

    Wait for a key press so the console window does not close before the result is visible.

    function Wait-Key {
    Write-Host ""
    Write-Host "Press any key to exit ..."
    [void][Console]::ReadKey($true)
    }

    function Find-Bytes {
    param(
    [byte[]]$Data,
    [byte[]]$Pattern,
    [int]$StartIndex = 0
    )

    $last = $Data.Length - $Pattern.Length
    for ($i = $StartIndex; $i -le $last; $i++) {
        if ($Data[$i] -ne $Pattern[0]) { continue }
    
        $match = $true
        for ($j = 1; $j -lt $Pattern.Length; $j++) {
            if ($Data[$i + $j] -ne $Pattern[$j]) {
                $match = $false
                break
            }
        }
    
        if ($match) { return $i }
    }
    
    return -1
    

    }

    Write-Host "[1/8] Resolve app.asar path from the folder you provide ..."
    $inputPath = Read-Host "Enter the opencode install folder"
    $inputPath = $inputPath.Trim().Trim([char[]]@([char]34, [char]39))

    if ([string]::IsNullOrWhiteSpace($inputPath)) {
    Write-Host "Error: path cannot be empty."
    Wait-Key
    exit 1
    }

    if (-not (Test-Path -LiteralPath $inputPath -PathType Container)) {
    Write-Host "Error: folder not found: $inputPath"
    Wait-Key
    exit 1
    }

    $item = Get-Item -LiteralPath $inputPath
    $candidates = @(
    (Join-Path $item.FullName "resources\app.asar"),
    (Join-Path $item.FullName "app.asar")
    )

    $asarPath = $null
    foreach ($candidate in $candidates) {
    if (Test-Path -LiteralPath $candidate -PathType Leaf) {
    $asarPath = $candidate
    break
    }
    }

    if (-not $asarPath) {
    Write-Host "Error: no app.asar found under: $($item.FullName)"
    Write-Host "Expected at 'resources\app.asar' or 'app.asar'."
    Wait-Key
    exit 1
    }
    Write-Host " app.asar: $asarPath"

    Write-Host "[2/8] Building equal-length replacement string ..."
    $target = "if (layoutUpgrade()) return true;"
    $replacement = "return false;"
    $paddingLength = $target.Length - $replacement.Length

    if ($paddingLength -lt 0) {
    Write-Host "Error: replacement is longer than target."
    Wait-Key
    exit 1
    }

    $newString = $replacement + (" " * $paddingLength)
    if ($newString.Length -ne $target.Length) {
    Write-Host "Error: equal-length invariant broken."
    Wait-Key
    exit 1
    }
    Write-Host " target len: $($target.Length) / replacement len: $($newString.Length)"

    Write-Host "[3/8] Reading bytes from $asarPath ..."
    $targetBytes = [System.Text.Encoding]::ASCII.GetBytes($target)
    $newBytes = [System.Text.Encoding]::ASCII.GetBytes($newString)
    $bytes = [System.IO.File]::ReadAllBytes($asarPath)
    Write-Host " read $($bytes.Length) bytes"

    Write-Host "[4/8] Searching for target string ..."
    $index = Find-Bytes -Data $bytes -Pattern $targetBytes
    if ($index -lt 0) {
    Write-Host " Target string not found; no changes were made."
    Wait-Key
    exit 0
    }
    Write-Host " found at offset $index"

    $second = Find-Bytes -Data $bytes -Pattern $targetBytes -StartIndex ($index + 1)
    if ($second -ne -1) {
    Write-Host "Error: multiple matches found (second offset: $second); aborting."
    Wait-Key
    exit 1
    }

    Write-Host "[5/8] Creating timestamped backup ..."
    $timestamp = Get-Date -Format "yyyyMMddHHmmss"
    $backupPath = "$asarPath.$timestamp.bak"

    if (Test-Path -LiteralPath $backupPath) {
    Write-Host "Error: backup already exists: $backupPath"
    Wait-Key
    exit 1
    }

    Copy-Item -LiteralPath $asarPath -Destination $backupPath
    Write-Host " Backup created: $backupPath"

    Write-Host "[6/8] Applying equal-length replacement ..."
    $originalLength = $bytes.Length
    [System.Array]::Copy($newBytes, 0, $bytes, $index, $newBytes.Length)

    if ($bytes.Length -ne $originalLength) {
    Write-Host "Error: array length changed; aborting before write."
    Wait-Key
    exit 1
    }

    try {
    Write-Host "[7/8] Writing patched bytes back ..."
    [System.IO.File]::WriteAllBytes($asarPath, $bytes)

    Write-Host "[8/8] Verifying patched file ..."
    $verifyBytes = [System.IO.File]::ReadAllBytes($asarPath)
    if ($verifyBytes.Length -ne $originalLength) {
        throw "File length changed after write."
    }
    
    $verifySlice = $verifyBytes[$index..($index + $newBytes.Length - 1)]
    $verifyText = [System.Text.Encoding]::ASCII.GetString($verifySlice)
    if ($verifyText -ne $newString) {
        throw "Unexpected content in the patched region."
    }
    

    }
    catch {
    Write-Host "Error: patch failed: $($.Exception.Message)"
    Write-Host " Restoring backup ..."
    try {
    Copy-Item -LiteralPath $backupPath -Destination $asarPath -Force
    Write-Host " Original file restored."
    }
    catch {
    Write-Host "CRITICAL: automatic restore failed: $($
    .Exception.Message)"
    Write-Host " Restore manually from: $backupPath"
    }

    Wait-Key
    exit 1
    

    }

    Write-Host "Success: old layout locked."
    Write-Host "Backup: $backupPath"
    Wait-Key

    Reacted by 理查德
  12. pav18 commented on Sep 14, 2026

    @pav18
    pav18
    on Sep 14, 2026
    More actions

    Thank you so much for your script!!!!!

    Reacted by 理查德
  13. enngins commented on Sep 14, 2026

    @enngins
    enngins
    on Sep 14, 2026
    More actions

    Guys WTH!
    We really need to patch it for old (NORMAL) layout? I can't image who can work with this new dumb's interface.

    Reacted by daudef, 0-SamboNZ-0 and 理查德
  14. drobin04 commented on Sep 14, 2026

    @drobin04
    drobin04
    on Sep 14, 2026
    More actions

    I HATE the new layout. I stayed on an old version for quite a while for the old layout, and then forgot one day and updated. HATE IT. PLEASE add a toggle to restore the old layout. The new one is AWFUL.

    Reacted by Eugene, daudef, Kyle Anderson, 0-SamboNZ-0 and 理查德
  15. kmanderson12 commented on Sep 14, 2026

    @kmanderson12
    kmanderson12
    on Sep 14, 2026
    More actions

    The recent change to force the new layout completely breaks the mental model that the previous layout encouraged. I no longer have easy visibility over which one of my projects has active agent activity. I'm left to try to infer the activity from the thread's title, which might not always be relevant or accurate. This adds friction and confusion that is completely unnecessary.

    The old layout needs to stay as a configurable option in order to support the workflows we've grown to love as we've used this tool.

    Reacted by 0-SamboNZ-0 and 理查德
  16. 32 remaining items

  17. opencodejr commented on Oct 28, 2026

    @opencodejr
    opencodejrBot
    on Oct 28, 2026
    Contributor
    More actions

    Thanks for the detailed write-up! You're asking for the classic layout, with an always-visible left sidebar showing projects, workspaces and sessions, to come back as an option (it doesn't have to be the default). If that isn't possible, you'd like at least a left sidebar that stays visible instead of hover menus or a collapsed rail. Maintainers will consider it, and this issue is where the request is being tracked. Others asking for the same thing are pointed here, so 👍 reactions and use cases on this issue help.

    Until then, Settings → Appearance → Tabs → Vertical puts session tabs in a sidebar on the left instead of across the top. It isn't the old project → workspace → session tree, but it may get you closer.

    Related issues:

    • [FEATURE]: Add a persistent left sidebar layout option to the new UI #48956, [FEATURE]:Restore the Persistent Left Sidebar in the Desktop App (or Provide a Sidebar/Top-Tabs Layout Toggle) #57710, [UI feedback] Forced V2 interface destroys productivity for multi-project/multi-agent workflows (20+ sessions) #48837, [FEATURE]: Replace top tab bar with a sidebar session list to prevent accidental session loss #48802: the same request, closed as duplicates of this issue
    • 关于opencode windows桌面版的布局 #59617: the same request for the Windows desktop app, flagged as a duplicate of this issue
    • Desktop: "Toggle Sidebar" doesn't do anything #55536: the Toggle Sidebar menu item doesn't do anything in the desktop app
    • desktop/web: group sidebar sessions by project like Codex Projects view #55446: group sidebar sessions by project
    • Web: no way to revert the new layout, and the new layout is missing workspaces/worktrees #37546: there was no way to switch the web app back to the old layout
    • [FEATURE]: Bring Back the Classic Layout in OpenCode #43381, [FEATURE]:新布局这么难用,请还原回去旧版本 #48902: earlier requests to bring back the classic layout
  18. albgen commented on Oct 28, 2026

    @albgen
    albgen
    on Oct 28, 2026
    More actions

    29. tabs in a sidebar on

    we are talking about the Desktop version here you dumb bot

    Reacted by Vlad L. and 理查德
  19. Evil-Spirit commented on Nov 3, 2026

    @Evil-Spirit
    Evil-Spirit
    on Nov 3, 2026
    More actions

    Why to change things? Go and create another application instead. Oh my god whata fucking imitation of improvements. I mean you made UI once, don't touch it anymore. My bank application changed 100 times and still piece of shit. Don't touch UI, why I should revert your changes every time!

    Reacted by Vlad L. and 理查德
    Reacted by boes
  20. albgen commented on Nov 3, 2026

    @albgen
    albgen
    on Nov 3, 2026
    More actions

    i think they have changed it but seems nobody is reading the issues here.
    This is the current settings of opencode and i see this with a brand new installation. On my existing one, which is a continuous upgrade, i can't.
    Image

  21. ngutech21 commented on Nov 3, 2026

    @ngutech21
    ngutech21
    on Nov 3, 2026
    More actions

    @albgen The tabs are not grouped by project. It‘s just a flat list

    Reacted by boes, Vlad L., ZenDevMaster and 理查德
  22. VL4DST3R commented on Nov 3, 2026

    @VL4DST3R
    VL4DST3R
    on Nov 3, 2026
    More actions

    i think they have changed it but seems nobody is reading the issues here.

    They virtually never do. Wish someone with enough claude tokens would just vibecode the v1 ui back at this point.

    Reacted by 理查德
  23. albgen commented on Nov 3, 2026

    @albgen
    albgen
    on Nov 3, 2026
    More actions

    28. @albgen The tabs are not grouped by project. It‘s just a flat list

    True. Way better though than having only horisontal tabs.

    Reacted by 理查德
  24. boesbo commented on Nov 3, 2026

    @boesbo
    boesbo
    on Nov 3, 2026
    More actions

    I will contribute to this: #60867

    Reacted by frank and 理查德
    Reacted by Vlad L. and 理查德
  25. joe-ieta commented on Nov 4, 2026

    @joe-ieta
    joe-ieta
    on Nov 4, 2026
    Contributor
    More actions

    Side tab mode is just a simple list. far behind from competitors.

    Reacted by 理查德
  26. joe-ieta commented on Nov 4, 2026

    @joe-ieta
    joe-ieta
    on Nov 4, 2026
    Contributor
    More actions

    5. 新UI太难用了,完全没用旧UI好用,新UI操作太反人类

    实在忍不了了,最近修改了一个Side bar模式,看看 #60867

    Reacted by 理查德
  27. pav18 commented on Nov 10, 2026

    @pav18
    pav18
    on Nov 10, 2026
    More actions

    YEEESSSSS Projects in the sidebar (Experimental Settings)

    Reacted by boes
  28. neriousy
    marked 关于opencode windows桌面版的布局 #59617 as a duplicate of this issue on Nov 12, 2026
  29. balabommablock-cpu commented on Nov 13, 2026

    @balabommablock-cpu
    balabommablock-cpu
    on Nov 13, 2026
    More actions

    For anyone landing here: a persistent project sidebar is in v2.2.7, behind two settings.

    1. Settings → General → Interface layout → Side tabs
    2. Settings → Experimental → Organize vertical sidebar → Projects

    From the code (sidebar-organized.tsx), that gives you a sidebar that stays open next to the session, grouped by project. It lists the project's sessions, not just open tabs: 5 per project and 7 projects, each with Show more. Each session shows a spinner while it's running and a dot when it's unread, and you can drag projects to reorder them.

    That covers most of what's asked above: seeing which project has a running session, and switching in one click without going Home. What it doesn't cover yet: workspaces as their own level, and phones (side tabs are desktop-only).

    A small suggestion for maintainers: once it leaves Experimental, a one-click "Classic sidebar" choice in Interface layout would help the people in this thread, and in the closed duplicates (#48837, #37012, #39835, #37546), find it.

    Reacted by 0-SamboNZ-0
    Reacted by 理查德
  30. 0-SamboNZ-0 commented on Nov 16, 2026

    @0-SamboNZ-0
    0-SamboNZ-0
    on Nov 16, 2026
    More actions

    MUCH better!!
    Thank you team!

  31. 0-SamboNZ-0 commented on Nov 16, 2026

    @0-SamboNZ-0
    0-SamboNZ-0
    on Nov 16, 2026
    More actions

    That said; in this configuration closing a project only removes it from the home screen; it continues to appear in the left-hand pane.
    Also, it is not always possible to close the last 'active' session.
    And manual sorting does not work.

    EDIT: It seems most of the issues above are only in the 'Customize' vertical sidebar mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Brendonovich
    Brendonovich

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

    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.