Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Save As prefills the name typed in New, even after a rename

Đang mở
#490 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
desktop

Hướng nghiên cứu

Read the New and Open flows, Project Info rename handling, and the Save As dialog, focusing on how suggestedName is set and consumed. Decide which default behavior fits the product, then check that drafts started through either flow get the same kind of default and that renaming never leaves a stale name.

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

Mô tả

Save As prefills its new-project name from the draft's suggestedName, which only the New dialog sets and nothing later updates. So what it offers depends on how the draft started:

  • After New: the name typed there. New saves the project at once, so this is also the active project's name, and renaming the project in Project Info leaves Save As offering the old one. Seen in the app: a project created as "QA 418 created" and renamed "QA 418 renamed" still prefilled "QA 418 created".
  • After Open: nothing, because opening a project doesn't set suggestedName. With #418, Save as New Project then stays disabled until a name is typed.

Decide: what Save As should prefill. The options are the active project's current name, a unique default like Copy to editable's "Copy of …", or nothing. Then decide whether the draft still needs suggestedName.

Done when: Save As offers the same kind of default however the draft was started, and a rename never leaves it offering the old name.

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

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 sillsdev/interlinearizer-extension

Tất cả issue của sillsdev/interlinearizer-extension

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.