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

Preferences: one place for where work is kept (this computer / server, data folder)

Đang mở
#259 4 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ó
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

  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 FriendsofECCE/ECCE

Tất cả issue của FriendsofECCE/ECCE

Issue tương tự

Thêm issue về C

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.