Panes get their own identity (D87 prefactor)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read D87 in docs/DESIGN-TREE.md plus ADR 0005 and the terms in GLOSSARY.md before touching code, then grep the floor plan, focus and hit-box modules for the shared string used for both Pane and Widget. Introduce the distinct types there and follow the compiler through focus queries and the per-Widget state maps, then through the save/load path so old Design files still load and the new format round-trips. Done means run-hidden tools/check.sh is green and the pty scenarios pass with only the type names changed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Parent
#34 (spec), D87 in docs/DESIGN-TREE.md, ADR 0005, terms in GLOSSARY.md.
What to build
Today a Pane is its Widget's name: the floor plan's leaves, focus, hit boxes, Design titles and checks like "is Home focused?" all use one string for both. Empty Panes and the Tray (later tickets) can't be expressed that way. Give Panes a stable identity of their own, holding a Widget or nothing, and make Pane and Widget two distinct types the compiler keeps apart (no bare strings for either).
Nothing the user sees changes in this ticket.
Acceptance criteria
- Pane and Widget are distinct types; no call site uses a bare string for either
- Focus is a Pane; questions about what's focused ask the focused Pane's Widget
- Per-Widget state (scroll, Visual settings) stays keyed by Widget, so it follows a Widget that moves
- A Pane can hold no Widget (an empty Pane is representable, saved and loaded), even though nothing creates one yet
- Every existing saved Design file loads to the same screen as before (test over the old format); the new format is written on the next save and round-trips
- The existing suite and pty scenarios pass unchanged apart from naming the new types
-
run-hidden tools/check.shgreen; 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).
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Merge medio
- 3h 30m
- PR unite (30g)
- 25
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di publicusr/singularity
-
enhancement ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
publicusr/singularity#55 ·
I maintainer di solito rispondono entro 1 giorno
-
ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
publicusr/singularity#17 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
publicusr/singularity#62 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
publicusr/singularity#61 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
publicusr/singularity#60 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di publicusr/singularity
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mufeedvh/code2prompt#355 ·
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
area:3d effort:medium P7 source:agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
akitaonrails/ai-memory#2446 ·
I maintainer di solito rispondono entro 1 giorno