feat(app): add flow diagnostics and refine interface
CI / Validate manifests (push) Has been cancelled
CI / SwiftLint (push) Has been cancelled
CI / iOS / Extension (push) Has been cancelled
CI / macOS (push) Has been cancelled

Improve failure recovery visibility, strengthen account-session handling, and make the cross-platform interface more consistent.
This commit is contained in:
Rocky
2026-08-26 14:40:06 +08:00
parent 1ee032bdb9
commit 39002336c0
78 changed files with 2737 additions and 735 deletions
+13 -5
View File
@@ -371,7 +371,9 @@ struct TypingRootView: View {
}
private var expandChevronFill: Color {
colorScheme == .dark ? Color(white: 0.30) : .white
colorScheme == .dark
? OSGColor.keyboardDarkInputFill
: OSGColor.fixedLightContent
}
// MARK: - Editing toolbar (iPad)
@@ -423,7 +425,9 @@ struct TypingRootView: View {
}
private var editingToolbarButtonFill: Color {
colorScheme == .dark ? Color(white: 0.30) : .white
colorScheme == .dark
? OSGColor.keyboardDarkInputFill
: OSGColor.fixedLightContent
}
/// UIKit-recycled labels no SwiftUI Button per candidate.
@@ -773,7 +777,9 @@ struct TypingRootView: View {
}
private var selectedCandidateFill: Color {
colorScheme == .dark ? Color(white: 0.36) : .white
colorScheme == .dark
? OSGColor.keyboardDarkInputFillRaised
: OSGColor.fixedLightContent
}
private var returnKeyFill: Color {
@@ -786,7 +792,9 @@ struct TypingRootView: View {
private var returnKeyBorder: Color {
if state.returnKeyRole.usesActionFill {
return Color.black.opacity(colorScheme == .dark ? 0.10 : 0.08)
return colorScheme == .dark
? OSGColor.keyboardActionBorderDark
: OSGColor.keyboardActionBorderLight
}
return palette.divider
}
@@ -799,7 +807,7 @@ struct TypingRootView: View {
}
private var returnKeyTextColor: Color {
state.returnKeyRole.usesActionFill ? .white : keyTextColor
state.returnKeyRole.usesActionFill ? OSGColor.fixedLightContent : keyTextColor
}
/// The send key stays recognizable in both appearances without becoming neon.