Skip to content

feat(ui): refine native dashboard hierarchy and responsive layouts - #117

Merged
harryisfish merged 1 commit into
mainfrom
feat/award-uiux-20261027
Oct 28, 2026
Merged

harryisfish merged 1 commit into
mainfrom
feat/award-uiux-20261027

Conversation

@harryisfish

@harryisfish harryisfish commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

概要

重做仪表盘与页面外壳的视觉层级,并让布局在紧凑窗口下仍然可用。全部改动集中在 src/ui.rs(+469 / −227),不涉及运行时、策略或网络逻辑。

主要变更

  • 页面外壳统一:统一各页面的 surface 与导航结构,页面标题、说明文案与内容区的层级更清晰。
  • 主题对比度:提高文字/控件与背景的对比度,改善浅色与深色主题下的可读性。
  • 紧凑窗口适配:窗口变窄时控件与连接数据不会被挤掉,关键操作保持可达。
  • 卡片与面板:节点组卡片、GLOBAL 卡片、规则集卡片、连接行的排版与状态标签保持一致。
  • 控件:按钮、分段控件与工具栏在长文案下的换行/对齐更稳定。

验证

  • CI(cargo build --bins --features sparkle)
  • 手动:浅色/深色主题下逐页检查(总览、设置、节点组、规则、连接)
  • 手动:最小窗口宽度下检查滚动与控件可达性

说明

基于最新 origin/main 的单个提交,无冲突。截图/录屏可在评审时补充。

Unify page surfaces and navigation, improve theme contrast, and keep
controls and connection data reachable in compact windows.
@harryisfish
harryisfish merged commit 68b7649 into main Oct 28, 2026
1 check passed
@harryisfish
harryisfish deleted the feat/award-uiux-20261027 branch October 28, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant