[FEATURE]: Keep the side panel width stable across panel tabs

オープン
#66,972 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
desktop

調査の方向性

The payload names no source files, so start from where the side region reads Panel.width and stores a dragged width per panel, then read #60389 for why the width changes on tab switch. Decide between the proposed setting and a per-panel width: "inherit" opt-out, since the thread has not settled it. Done means a shared width holds across side tabs when the setting is on, and default behaviour is unchanged.

索引モデルが issue の本文から書いたものです。

説明

area/desktop platform/windows type/feature version/v2
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

In Desktop, the side region can resize whenever the selected side-panel tab changes. A panel may declare its own width (for example Panel.width: "narrow"), and the host remembers a dragged width per panel. Switching between tabs with different widths resizes the whole side region, which reflows the active panel and the conversation, and makes tab switching feel unstable.

This is intentional from #60389, but there is no way to opt out. A related request, #66661, asks for a configurable default and persistent width, but not specifically for one stable width across panel tabs.

Proposal: add a setting such as "Keep side panel width across tabs" (or "Remember side panel width per tab", defaulting to today's behavior). When enabled, one dragged width is shared by every side tab; a panel's declared width acts only as a default or minimum. A per-panel opt-out such as width: "inherit" would also work.

This would keep the conversation and panel from jumping while inspecting different tabs, and give users control over whether panels may resize the layout. No server change is needed.

Environment: OpenCode Desktop 2.4.1 and recent dev builds, Windows 10. Example panels: GUI plugin side tabs that declare a narrow width.

主要言語
TypeScript
スター
230k
フォーク
31.3k
平均マージ
5時間 32分
マージ済み PR(30日)
453

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。