refactor(menubar): 固定品牌图标并同步开发进度文档
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
enum MenuBarLabel {
|
||||
static func title(for snapshot: MetricsSnapshot) -> String {
|
||||
var items = ["CPU \(MetricFormat.percent(snapshot.cpu?.usage))"]
|
||||
if let gpu = snapshot.gpuUsage {
|
||||
items.append("GPU \(MetricFormat.percent(gpu))")
|
||||
}
|
||||
items.append("MEM \(MetricFormat.percent(snapshot.memory?.usage))")
|
||||
return items.joined(separator: " · ")
|
||||
}
|
||||
}
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
| 子目录 | 职责 | 状态 |
|
||||
| --- | --- | --- |
|
||||
| `MenuBar/` | 菜单栏状态项与弹出监控面板 | 骨架已就绪 |
|
||||
| `MenuBar/` | 菜单栏状态项与弹出监控面板 | 品牌图标、监控面板、趋势和外侧详情已实现 |
|
||||
| `Dashboard/` | 监控总览面板(图表化展示) | 规划中 |
|
||||
| `Settings/` | 设置窗口:刷新频率、显示项、开机自启等 | 规划中 |
|
||||
| `Settings/` | 外观、语言、关于及窗口生命周期 | 已实现;刷新频率、模块开关与自启待实现 |
|
||||
|
||||
新增 Feature 的原则:只依赖 `Core` 与 `UI`,不横向依赖其他 Feature。
|
||||
|
||||
Reference in New Issue
Block a user