feat: UI 交互升级与设置增强 - #37
Open
iblueer wants to merge 14 commits into
Open
Conversation
…dant navigation back buttons across top-level views
…nt customizable sidebar toggles, and optimize logs view
… Skill, SpeedTest, and EnvCheck
…ify Availability page buttons, switch toggle, and layout background
…or usage heatmap grid
…obal to fix width issues, and remove emojis from Availability header
…rd, and WSL settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 提交申请:UI 交互升级与设置增强
📖 概述
本 PR 为 Code Switch 项目带来了一次全方位、大刀阔斧的 UI 视觉重构与开发/构建体验优化。我们以 macOS 原生高质感设计语言为标准,对前端 20+ 个组件和页面进行了细致入微的视觉打磨,统一设计规范;同时在功能性上,新增了托盘静默设置、WSL 专有网络配置,并设计了全新的交互脚本,极大提升了项目的易用性、可读性与开发编译体验。
🎨 视觉与交互重构
我们对原版相对零散的 UI 界面进行了精细化重构,核心改动包括:
8px(R-angle),优化之前按钮大小不一、边缘突兀的问题。primary-btn和action-btn样式类,完美解决不同页面按钮宽度不一、文字越界的问题。⚡ 实用功能增强
🛠️ 构建与开发工作流升级
为了让团队伙伴更容易运行和编译本项目,我们特意编写了两个强大易用的 Shell 脚本:
dev.sh:9245端口的遗留进程,再也无需手动运行lsof和kill -9,极大缩短开发启动调试时间。build.sh:./build.sh会提供精美的终端彩色菜单,供你一键选择:.app包) - 推荐arm64+amd64)./build.sh --current、./build.sh --universal、./build.sh --build。🧪 验证与兼容性报告
go test ./...单元测试和集成测试,无回归缺陷。.app及二进制包体积完全正常。json配置文件结构,即使从老版本升级也绝不会引发崩溃。