Preferences: one place for where work is kept (this computer / server, data folder)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- desktop
Hướng nghiên cứu
Start with the existing logic in ecce-first-start (--change, choose_local, choose_server) and ecce-localdata, then look at how Edit > Change Server and the Preferences Data folder setting are wired today. Check first_start_window_test to see how both switches are covered. Done means a Data tab in Preferences shows the current state and both choices, reads siteconfig/RemoteServer and siteconfig/SharedBroker as read-only when set, and has app tests for switching and the state files. Settle the open questions in the thread first: whether to remove or keep the menu item, and the Windows behaviour.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Where a user's work is kept is chosen in two unrelated places:
- Edit > Change Server… (the first-start window: this computer / a server);
- Preferences > Data folder (the local data folder).
Neither is easy to find, and they are two halves of one choice.
Proposal: one tab in Preferences, e.g. Data.
- Current state at the top, as in the start window: "ECCE is working on this computer; your calculations are in …" or "ECCE is connected to the server …".
- Where your work is kept:
- (•) This computer: Data folder [ … ] [Browse…]
- ( ) A server: Address [ … ] [Connect…] (the same checks as the start window: reachability, TLS pin)
- "The change takes effect the next time you start ECCE."
- When the installation has a site-wide server (
siteconfig/RemoteServer,siteconfig/SharedBroker): shown read-only, "Set by your administrator". - Edit > Change Server… is removed, or kept for one release as a shortcut that opens this tab.
Implementation: the logic already exists in ecce-first-start (--change, choose_local, choose_server) and ecce-localdata. The tab can call them, so there is one implementation on Linux, macOS and Windows. Edit > Change Server does not work on Windows today (#240 follow-up); this replaces it there too.
Tests: first_start_window_test already covers both switches; add the Preferences tab to the apps tests (open, switch, check the state files).
- Ngôn ngữ chính
- C
- Star
- 10
- Fork
- 8
- Merge trung bình
- 21 phút
- Pull request đã merge (30 ngày)
- 1
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FriendsofECCE/ECCE
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
FriendsofECCE/ECCE#336 · 1 bình luận ·
-
Viewer under XWayland: MO Diagram window opens black; bottom strip blinks on property switchesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
FriendsofECCE/ECCE#361 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
FriendsofECCE/ECCE#359 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
FriendsofECCE/ECCE#358 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
FriendsofECCE/ECCE#357 · 3 bình luận ·
Tất cả issue của FriendsofECCE/ECCE
Issue tương tự
-
[raylib] update to 6.2Đang mởcategory:port-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 8 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày