Pane menu and Widget picker: Replace widget… (D87)

Abierto
#37 0 comentarios 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
cli

Línea de trabajo

The work spans the Pane menu, the mouse and key handling for Pane titles and bodies, and a new Widget picker Popup, all of which depend on the design in docs/DESIGN-TREE.md (D87), ADR 0005 and GLOSSARY.md, referenced from the issue. Read those documents first, then the existing Popup variants and the CLAUDE.md popup rules. Done means the picker filters, swaps or replaces Widgets as specified, and tests drive it through the App with real clicks and keys, with tools/check.sh 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

A quick way to swap a Pane's Widget for any other. A right-click on a Pane's title (or its body, where the body has no menu of its own) opens the Pane's menu with Replace widget… first. The Widget picker is a palette-style list: type to filter, scroll with the wheel and arrows. Widgets not on screen come first; Widgets already on screen are dimmed below a line, and picking one swaps the two Panes' Widgets. The replaced Widget just leaves the screen. Each Widget at most once on screen.

Acceptance criteria

  • Right-click on a Pane's title opens its menu: Replace widget…, then Close (and room for Split and Arrange from later tickets)
  • Right-click on a Pane's body opens the same menu, except where the body has its own menu (song rows, Cards, the queue keep theirs)
  • Clicking the Widget's name in the title, a key on the focused Pane (free of clashes), and the palette's Replace widget… also open the picker
  • The picker filters as you type and scrolls like other lists; not-on-screen Widgets first, on-screen ones dimmed below a line
  • Picking an on-screen Widget swaps it with this Pane's Widget; picking another replaces this Pane's Widget
  • Home's Pane has no Replace widget
  • The menu and picker are Popup variants (CLAUDE.md popup rules: drawn on top, Esc closes, wheel scrolls)
  • Tests through the App with real clicks and keys; pty shot of the menu and picker
  • run-hidden tools/check.sh green; user-visible changes checked in the pty before closing

Blocked by

None (can start immediately).

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.