Panes get their own identity (D87 prefactor)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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).
- 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
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de publicusr/singularity
-
enhancement ready-for-agent
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
publicusr/singularity#55 ·
Les mainteneurs répondent en général sous 1 jour
-
ready-for-agent
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
publicusr/singularity#17 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 28/100
publicusr/singularity#62 ·
Les mainteneurs répondent en général sous 1 jour
-
Now playing as an iPod (idea)Ouverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
publicusr/singularity#61 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
publicusr/singularity#60 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de publicusr/singularity
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
symposium-dev/symposium#530 ·
Les mainteneurs répondent en général sous 5 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
topgrade-rs/topgrade#2540 ·
Les mainteneurs répondent en général sous 1 jour
-
Invalid JSON options for ngram and edge_ngram silently use defaultsPeut-être pris @Tilendlesa l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
noemaforge/vimanam#153 ·
Les mainteneurs répondent en général sous 1 jour