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
+5 -5
View File
@@ -123,7 +123,7 @@ struct LastInputEditView: View {
Color.clear
if case .listening = state.editSession {
Capsule()
.stroke(Color.white.opacity(0.28), lineWidth: 1.5)
.stroke(OSGColor.recordListeningRing, lineWidth: 1.5)
.scaleEffect(1 + min(max(state.level, 0), 1) * 0.08)
.animation(Motion.soft, value: state.level)
}
@@ -161,16 +161,16 @@ struct LastInputEditView: View {
private var primaryIcon: some View {
switch state.editSession {
case .preparing, .processing, .applying, .appending:
ProgressView().tint(.white)
ProgressView().tint(OSGColor.fixedLightContent)
case .review:
Image(systemName: "checkmark")
.font(.system(size: 21, weight: .bold))
.foregroundStyle(.white)
.foregroundStyle(OSGColor.fixedLightContent)
case .listening:
WaveformView(
level: state.level,
barCount: 7,
color: .white,
color: OSGColor.fixedLightContent,
active: true
)
.frame(width: 35, height: 22)
@@ -178,7 +178,7 @@ struct LastInputEditView: View {
default:
Image(systemName: "mic.fill")
.font(.system(size: 21, weight: .semibold))
.foregroundStyle(.white)
.foregroundStyle(OSGColor.fixedLightContent)
}
}