The main Pane's page as one value, like popups (architecture review candidate 8, step 2)

Aperta
#27 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Start in the main Pane state: App.open, artist, search, stats_view, settings_view and pending_episode, and the show() function that clears them one at a time. Then read the Page type used for back/forward history. The issue asks for a design first: decide what history keeps, what OpenList (D81) keeps across pages, and whether Search keeps its state (D74). It is done when a single page: Page value drives keys, drawing and history with exhaustive matches, and the grill decisions are recorded. Wait for the Popup ticket to land first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Split off from the Popup ticket (candidate 8), at the owner's request (2026-11-22): a separate change with its own risk.

What the main Pane shows is spread over several fields: App.open (the open Track list), artist, search (open or not), stats_view, settings_view, pending_episode, plus Page in the back/forward history. show() clears them one by one. A page that forgets one leaves a stale view behind (for example, keys going to a page no longer shown).

Explore giving the page one value, page: Page with each variant holding its view, so keys, drawing and history match on it exhaustively. Grill it first: what the history keeps, what OpenList (D81) keeps across pages, and whether Search's "kept while you browse its results" (D74) survives.

Build after the Popup ticket lands.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di publicusr/singularity

Tutte le issue di publicusr/singularity

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.