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

Ouverte
#66,972 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
230k
Forks
31.3k
Merge moyen
5 h 32 min
PR mergées (30 j)
453

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de anomalyco/opencode

Toutes les issues de anomalyco/opencode

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.