Add collapsible panel groups to reduce horizontal clutter in the tiling layout

Offen
#175 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 4 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
typescript
Bereich
frontend

Rechercherichtung

The issue describes changes to panel grouping in the tiling layout, including collapse and expand interactions, resizing, persistence, tests, and styles, but names no files or test entry points. Start by locating the tiling layout implementation and related tests, then trace how panel state is saved and restored. Done means groups can be collapsed and expanded, resizing remains usable, and the collapsed state survives an app restart; note that the author says an implementation already exists on a local branch.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Problem

When many tasks or agent panels are open at the same time, the current tiling layout can become very crowded horizontally and requires frequent horizontal scrolling.

This is especially noticeable when multiple panels belong to the same project or are part of the same coordinated workflow. They are logically related, but they are still displayed as fully separate panels in the UI. Even if the user only wants to keep those related tasks available in the background, they still take up a lot of horizontal space.

Proposed solution

I would like to add support for collapsible panel groups.

The general idea is to group adjacent panels that belong to the same project and the same task type, for example:

  • regular independent task panels
  • coordinator / coordinated task panels

Each group can be collapsed. When collapsed:

  • the first panel in the group remains visible
  • the other panels in the same group are temporarily hidden
  • an expand button is shown beside the visible panel
  • resize handle behavior remains reasonable while collapsed
  • the collapsed state can be persisted and restored after restarting the app

This would reduce horizontal space usage while still keeping related task context available, making multi-task workflows easier to manage.

Current status

I already have an initial implementation in a local branch, but I have not pushed it to a remote branch yet.

The current implementation roughly includes:

  • detecting and rendering panel groups in the tiling layout
  • adding collapse / expand interactions for groups
  • adapting resize handle behavior for collapsed groups
  • saving and restoring panel group collapsed state
  • adding related tests
  • adjusting visual styles to make grouping and collapse controls clearer
Image Image

Next steps

I think the ability to expand or collapse a group of task panels is quite useful. I have a branch implementing this feature, and I have to admit that the current implementation still has room for improvement. For example, the background color of the task panel covering the task panel looks a bit awkward. I would like to hear your thoughts.

Vorherrschende Sprache
TypeScript
Sterne
1k
Forks
144
Ø Merge
4 T. 19 Std.
Gemergte PRs (30 T.)
28

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus johannesjo/parallel-code

Alle Issues in johannesjo/parallel-code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.