Preferences: one place for where work is kept (this computer / server, data folder)
还没有人认领这个 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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FriendsofECCE/ECCE 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
FriendsofECCE/ECCE#336 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
FriendsofECCE/ECCE#339 ·
-
难度 4/5 3-5 天 新手友好度 28/100
FriendsofECCE/ECCE#338 · 2 条评论 ·
-
Basis Set Tool: periodic table cut off on the right; elements 110-118 still have placeholder names未关闭
难度 4/5 3-5 天 新手友好度 40/100
FriendsofECCE/ECCE#337 ·
-
难度 5/5 一周以上 新手友好度 8/100
FriendsofECCE/ECCE#335 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
ChrisTitusTech/dwm-titus#397 ·
维护者通常 1 天内回复
-
good first issue help wanted language:fr translation
难度 1/5 1-3 小时 新手友好度 85/100
mrvi0/cli-cheatsheet#160 ·
-
Test modules use volatile int for cross-thread flags instead of atomics可能已有人在做 @rahimuddin140 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
valkey-io/valkey#4899 · 1 条评论 ·
维护者通常 2 天内回复
-
Profiler (Remotery) leaks a socket for every connection that fails the WebSocket handshake可能已有人在做 @rthery 今天认领。 未关闭triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Symlink in release archive attempts traversal可能已有人在做 @Tiancheng-Xu 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复