Closing and not saving changes should actually allow us to revert to filesystem state

Aperta
#154 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
tooling

Direzione di ricerca

Start by reproducing the edit, “Don't Save,” close, and reopen flow in the workbench, then trace the workbench file-edit and close confirmation entry points. Confirm whether the discard action updates the in-memory document or reloads it from the filesystem. Done means reopening after “Don't Save” shows the original filesystem contents.

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

Descrizione

bug

In workbench:

  • Open a file
  • Make an edit
  • Hit "Don't Save" when you see "Your changes will be lost if you don't save them."
  • Reopen the file

Expected: the changes were not saved
Got: the changes were saved

(This is maybe expected... someone else might be editing the file in another window... but it's still an issue.)

Lingua principale
TypeScript
Stelle
12
Fork
1
Merge medio
1g 8h
PR unite (30g)
66

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 leanprover/lean-workbench

Tutte le issue di leanprover/lean-workbench

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.