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

Đang mở
#154 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.)

Ngôn ngữ chính
TypeScript
Star
12
Fork
1
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
66

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của leanprover/lean-workbench

Tất cả issue của leanprover/lean-workbench

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.