Arrange mode and the Tray (D87)

Ouverte
#41 1 commentaire 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é
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
18/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
rust
Domaine
frontend

Piste de recherche

Start with D87 in docs/DESIGN-TREE.md, ADR 0005 and GLOSSARY.md, then the parent spec #34; the acceptance criteria name the behaviours but not the files, so read how the App's layer ordering and existing Pane/Widget drag paths are implemented first. This ticket is blocked by #39 and #40, so confirm those landed before starting. Done means the Tray round-trips through save/restart and undo, the pointer tests and pty arrange session pass, and run-hidden tools/check.sh is green.

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

Description

enhancement ready-for-agent

Parent

#34 (spec), D87 in docs/DESIGN-TREE.md, ADR 0005, terms in GLOSSARY.md.

What to build

Arrange mode is where rearranging happens: the Tray strip shows at the bottom edge, empty Panes say so, each Pane gets split and close buttons, a one-line key legend sits at the bottom, and Done ends it. A title drag enters it (so a quick swap stays one gesture), as do m, the palette ("Arrange") and the Pane menu. Outside Arrange mode the Tray is never visible.

Acceptance criteria

  • Arrange mode is a layer in the App's one order of what's on top; entered by a title drag, m, the palette and the Pane menu; Done or Esc ends it
  • Dropping a Widget on the Tray leaves its Pane empty; dragging one from the Tray onto a Pane places it, swapping that Pane's Widget into the Tray
  • × closes a Pane: its Widget goes to the Tray and the neighbour fills the room
  • Clear Tray and × on one Tray item remove Widgets; Home is never removed
  • Done is unavailable with a short line ("Home still needs a Pane") while Home isn't placed
  • Empty Panes are labelled; Panes show split and close buttons; the legend shows the keys
  • The Tray is saved per Design with the floor plan and survives restarts; it scrolls if it holds more than fits
  • Undo/redo cover Tray edits
  • Tests through the App and pointer paths onto and from the Tray; pty shots of an arrange session
  • run-hidden tools/check.sh green; user-visible changes checked in the pty before closing

Blocked by

  • #39
  • #40

The owner tests the app once, after all D87 tickets are done (not between tickets).

Langage dominant
Rust
Étoiles
0
Forks
0
Merge moyen
3 h 30 min
PR mergées (30 j)
25

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

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 publicusr/singularity

Toutes les issues de publicusr/singularity

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

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