fix(ui): unify settings entry and align route edit sheets#16
Merged
jdjingdian merged 2 commits intomainfrom Mar 24, 2026
Merged
fix(ui): unify settings entry and align route edit sheets#16jdjingdian merged 2 commits intomainfrom
jdjingdian merged 2 commits intomainfrom
Conversation
unify settings entry behind SettingsNavigator so views rely on one interface across macOS versions. use SettingsLink for macOS 14+ settings scene while keeping legacy selector fallback for macOS 12-13. align RouteEditSheet and LegacyRouteEditSheet visual hierarchy with the style guide to improve consistency and readability. add openspec change artifacts for the macOS 13 settings issue and route config UI alignment.
mark all tasks done for settings nav and route ui polish sync delta specs into main-navigation, status-banner, route-crud archive change to 2026-03-24-fix-macos13-settings-navigation-and-route-config-ui
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.
背景
在 macOS 13 上,侧边栏设置按钮和 Banner 的“前往设置”存在点击无响应问题,用户只能通过系统状态栏进入设置。
同时,添加/编辑路由弹窗在 12–13 与 14+ 分支上的视觉和交互不一致,和
design/STYLE_GUIDE.md存在偏差。改动内容
SettingsNavigator作为唯一对外入口。SettingsNavigator内部封装:SettingsLink打开 Settings scene。showSettingsWindow:,失败后回退showPreferencesWindow:。SettingsNavigator。SettingsNavigator。RouteEditSheet与LegacyRouteEditSheet统一为卡片化分区结构(目标网络 / 路由方式与网关 / 分组)。radioGroup调整为segmented。project.pbxproj调整)。影响范围
StaticRouter/Services/SettingsNavigator.swiftStaticRouter/View/MainWindow.swiftStaticRouter/View/SidebarView.swiftStaticRouter/View/Customized/StatusBanner.swiftStaticRouter/View/RouteEditSheet.swiftStaticRouter/View/LegacyRouteListView.swiftStaticRouteHelper.xcodeproj/project.pbxprojopenspec/specs/*(main-navigation / status-banner / route-crud)验证结果
风险与回滚
SettingsNavigator接入及弹窗样式改动,不影响存量数据。