Wrong folder on save

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

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

Đánh giá

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

Hướng nghiên cứu

Reproduce the reported sequence in the map editor: open and save JSON files from different directories, then check which directory the save dialog opens. Find the load and save entry points and trace how the current file path is retained. Done means saving the second file opens its directory; the issue names no specific files or tests.

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

Mô tả

bug internal

By @keanuplayz via Discord:

On top of that, the map editor continuously forgets what file I opened.
Issue:

  1. Click load map, and load a mod's json file
  2. Edit it, save it
  3. Open another json file in another directory
  4. After clicking save, the map editor automatically opens the... previous file's directory, which requires me to manually move to the directory I'm working in now

Expected:

  1. Click load map, and load a mod's json file
  2. Edit it, save it
  3. Open another json file in another directory
  4. After clicking save, the map editor opens the directory of the file you were editing so you can immediately save to the correct location.
Ngôn ngữ chính
TypeScript
Star
59
Fork
19
Merge trung bình
32 phút
Pull request đã merge (30 ngày)
2

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 CCDirectLink/crosscode-map-editor

Tất cả issue của CCDirectLink/crosscode-map-editor

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.