Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#259 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
领域
desktop

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
C
星标
10
派生
8
平均合并
21 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FriendsofECCE/ECCE 的其他 Issue

查看 FriendsofECCE/ECCE 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。