Arrange mode and the Tray (D87)

Abierto
#41 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Lenguaje dominante
Rust
Estrellas
0
Forks
0
Merge medio
3 h 30 min
PR fusionados (30 d)
25

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de publicusr/singularity

Todos los issues de publicusr/singularity

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.