20.6: History rewind as a registry command

Aperta
#78 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
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by reading task #201 and tracing an existing registry command through the engine catalog, shell menu, Action dispatch, and command palette. Then inspect the engine's history model and the document history UI entry points; the issue names no files or tests. Done means the command is dispatchable and listed in the palette, history entries can restore prior document states, current-entry rewind is a no-op, empty history is safe, and the rewind scope is documented.

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

Descrizione

enhancement

Phase 20.6 of the daily-driver expansion: FireCraft's undo stack is not inspectable, so a user cannot step back to an earlier state of a document.

Work

  • Expose history rewind as a registry command in the same shape as every other shell command — engine catalog command id, shell menu row, Action variant, command-palette entry.
  • A history panel/overlay listing the document's edit-history entries; the user selects one and the document returns to that state.
  • Reuse the engine's existing history model if one exists. Do not build a second, parallel history.
  • Be explicit in the implementation and the docs about what is and is not rewound (for example, if only the undo stack is covered, say so).

Acceptance

  • The registry command exists and is dispatchable by command id.
  • The history list reflects the document's edits; choosing an earlier entry restores the earlier state.
  • Rewinding to the current entry is a no-op and rewinding an empty history is safe.
  • The command appears in the command palette.

Tracking: task #201.

Lingua principale
Rust
Stelle
11
Fork
1
Merge medio
9h 48m
PR unite (30g)
13

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 aliasfoxkde/FireCraft

Tutte le issue di aliasfoxkde/FireCraft

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.