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

Aperta
#66,972 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
230k
Fork
31.3k
Merge medio
5h 32m
PR unite (30g)
453

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.