Chat: drag handle with detents (fit, 1/3, 1/2, full screen), chat width setting; tall transparent panel

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maksarsanjeev
2026-10-06 22:19:27 +03:00
parent fbf90fd4fb
commit a4d5032959
5 changed files with 119 additions and 16 deletions
@@ -621,6 +621,12 @@ struct SettingsView: View {
}
}
}
Picker("Ширина чата", selection: $state.chatWidth) {
ForEach(AppState.chatWidthOptions, id: \.self) { w in
Text(w == 640 ? "640 (как главный экран)" : "\(Int(w))").tag(w)
}
}
.pickerStyle(.segmented)
Picker("Модель", selection: $state.claudeCodeModel) {
ForEach(ClaudeCodeCLI.models, id: \.id) { m in
Text(m.label).tag(m.id)