Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
feat(apps): add icons to settings headers
leepokai955c41613d74
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/SettingsView.kt b/apps/android/app/src/main/kotlin/com/codync/android/SettingsView.ktindex 89d4a17d..19bffe30 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/SettingsView.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/SettingsView.kt@@ -72,7 +72,7 @@ import kotlinx.serialization.json.putvar aboutAnalytics by remember { mutableStateOf(false) }LaunchedEffect(state.contextId) { store.refreshCloud() }Column(Modifier.fillMaxSize().background(Palette.background)) {- PageHeader("Computers & settings", pop)+ PageHeader("Computers & settings", pop, icon = "gearshape")PullToRefresh(store::refreshComputers, Modifier.weight(1f)) { CardForm {CardSection("Computers", if (signedIn) "Computers in your account need your OK on the computer before this phone can use them."else "Each bot runs on its own computer. Sign in to see the computers in your account.") {diff --git a/apps/android/app/src/main/kotlin/com/codync/android/VoiceChatSettings.kt b/apps/android/app/src/main/kotlin/com/codync/android/VoiceChatSettings.ktindex ce8ed9bd..f5eb888c 100644--- a/apps/android/app/src/main/kotlin/com/codync/android/VoiceChatSettings.kt+++ b/apps/android/app/src/main/kotlin/com/codync/android/VoiceChatSettings.kt@@ -29,7 +29,11 @@ import kotlinx.coroutines.launchvar settings by remember { mutableStateOf(VoicePreferences.load(context)) }fun change(next: VoiceSettings) { settings = next; store.voiceSettings(next) }Column(Modifier.fillMaxSize().background(Palette.background)) {- ModalHeader("Voice chat")+ ModalHeader({+ Symbol("waveform", size = 24.dp, tint = Palette.text)+ Spacer(Modifier.width(8.dp))+ Text(tr("Voice chat"), style = Type.body.semibold, color = Palette.text, maxLines = 1, overflow = TextOverflow.Ellipsis)+ })CardForm {val provider = enginevar speech by remember(provider) { mutableStateOf(provider?.let(choices::speechMode) == true) }diff --git a/apps/android/design/src/main/kotlin/com/codync/android/design/Chrome.kt b/apps/android/design/src/main/kotlin/com/codync/android/design/Chrome.ktindex a9724e58..d3f09051 100644--- a/apps/android/design/src/main/kotlin/com/codync/android/design/Chrome.kt+++ b/apps/android/design/src/main/kotlin/com/codync/android/design/Chrome.kt@@ -79,10 +79,16 @@ import kotlin.math.roundToInt@Composable fun BackButton(action: () -> Unit) = IconButton("Back", "chevron.left", action = action)/** A page's title row: the close button on a modal's first page, a back button once pushed in it. */-@Composable fun PageHeader(title: String, pop: (() -> Unit)? = null, trailing: @Composable RowScope.() -> Unit = {}) {- if (pop != null) ScreenHeader({ BackButton(pop) },- { Text(tr(title), style = Type.body.semibold, color = Palette.text, maxLines = 1, overflow = TextOverflow.Ellipsis) }, trailing)- else ModalHeader(title, trailing)+@Composable fun PageHeader(title: String, pop: (() -> Unit)? = null, icon: String? = null,+ trailing: @Composable RowScope.() -> Unit = {}) {+ val heading: @Composable () -> Unit = {+ Row(verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp)) {+ if (icon != null) Symbol(icon, size = 24.dp, tint = Palette.text)+ Text(tr(title), style = Type.body.semibold, color = Palette.text, maxLines = 1, overflow = TextOverflow.Ellipsis)+ }+ }+ if (pop != null) ScreenHeader({ BackButton(pop) }, heading, trailing)+ else ModalHeader({ heading() }, trailing)}/** One tab of the system tab bar. */diff --git a/apps/desktop/src/renderer/views/settings/SettingsView.tsx b/apps/desktop/src/renderer/views/settings/SettingsView.tsxindex 2d5130ff..51e89a37 100644--- a/apps/desktop/src/renderer/views/settings/SettingsView.tsx+++ b/apps/desktop/src/renderer/views/settings/SettingsView.tsx@@ -71,7 +71,10 @@ export function SettingsView({ page: initial }: { page: SettingsPage }) {</nav><div className="settings-divider" /><div className="settings-main">- <Text as="div" size={24} weight="semibold" tone="text" className="settings-title">{tr(current.title)}</Text>+ <HStack gap={12} className="settings-title">+ <Icon name={current.icon} size={30} weight="medium" />+ <Text as="h2" size={24} weight="semibold" tone="text">{tr(current.title)}</Text>+ </HStack><div key={page} className="settings-page"><PageContent page={page} /></div>diff --git a/apps/desktop/src/renderer/views/settings/settings.css b/apps/desktop/src/renderer/views/settings/settings.cssindex f782e367..1b819557 100644--- a/apps/desktop/src/renderer/views/settings/settings.css+++ b/apps/desktop/src/renderer/views/settings/settings.css@@ -49,7 +49,7 @@flex-direction: column;}.settings-title {- padding: 30px 32px 8px;+ padding: 30px 56px 12px 32px;}.settings-page {flex: 1;diff --git a/apps/ios/Kit/Sources/CodyncUI/Call/VoiceChatSettingsView.swift b/apps/ios/Kit/Sources/CodyncUI/Call/VoiceChatSettingsView.swiftindex 162af104..343c3168 100644--- a/apps/ios/Kit/Sources/CodyncUI/Call/VoiceChatSettingsView.swift+++ b/apps/ios/Kit/Sources/CodyncUI/Call/VoiceChatSettingsView.swift@@ -17,7 +17,12 @@ public struct VoiceChatSettingsView: View {public var body: some View {VStack(spacing: 0) {- ModalHeader("Voice chat")+ ModalHeader {+ HStack(spacing: 8) {+ Image(systemName: "waveform").font(.title2).accessibilityHidden(true)+ Text(L10n.tr("Voice chat"))+ }+ }CardForm {CardSection("Voice", footer: engineFooter) {ValueRow("Engine") {diff --git a/apps/ios/Views/RootView.swift b/apps/ios/Views/RootView.swiftindex 26984d74..01aeef9e 100644--- a/apps/ios/Views/RootView.swift+++ b/apps/ios/Views/RootView.swift@@ -274,12 +274,14 @@ struct EmptyState: View {struct PageHeader<Trailing: View>: View {let title: Stringvar pushed = false+ var icon: String?let trailing: Trailing@Environment(\.dismiss) private var pop- init(_ title: String, pushed: Bool = false, @ViewBuilder trailing: () -> Trailing) {+ init(_ title: String, pushed: Bool = false, icon: String? = nil, @ViewBuilder trailing: () -> Trailing) {self.title = titleself.pushed = pushed+ self.icon = iconself.trailing = trailing()}@@ -288,25 +290,37 @@ struct PageHeader<Trailing: View>: View {ScreenHeader {BackButton { pop() }} title: {- Text(L10n.tr(title)).font(.body.weight(.semibold)).foregroundStyle(Palette.text).lineLimit(1)+ headerTitle} trailing: {trailing}} else {- ModalHeader(title) { trailing }+ ModalHeader { headerTitle } trailing: { trailing }}}}+private extension PageHeader {+ var headerTitle: some View {+ HStack(spacing: 8) {+ if let icon {+ Image(systemName: icon).font(.title2).accessibilityHidden(true)+ }+ Text(L10n.tr(title)).font(.body.weight(.semibold)).lineLimit(1)+ }+ .foregroundStyle(Palette.text)+ }+}+extension PageHeader where Trailing == EmptyView {- init(_ title: String, pushed: Bool = false) { self.init(title, pushed: pushed) { EmptyView() } }+ init(_ title: String, pushed: Bool = false, icon: String? = nil) { self.init(title, pushed: pushed, icon: icon) { EmptyView() } }}extension View {/// Tops a screen with its `PageHeader` in place of the system navigation bar.- func page(_ title: String, pushed: Bool = false) -> some View {+ func page(_ title: String, pushed: Bool = false, icon: String? = nil) -> some View {VStack(spacing: 0) {- PageHeader(title, pushed: pushed)+ PageHeader(title, pushed: pushed, icon: icon)self}.background(Palette.background)diff --git a/apps/ios/Views/SettingsView.swift b/apps/ios/Views/SettingsView.swiftindex 6f0294f5..40570d53 100644--- a/apps/ios/Views/SettingsView.swift+++ b/apps/ios/Views/SettingsView.swift@@ -141,7 +141,7 @@ struct SettingsView: View {[DialogAction("Start over", destructive: true) { Task { await app.startOver() } }]}.refreshable { await accounts.refreshCloud() }- .page("Computers & settings", pushed: pushed)+ .page("Computers & settings", pushed: pushed, icon: "gearshape")// One screen, named for the way in (as on Android): Accounts → settings, the Computers sheet → computers..tracked(.screenViewed(pushed ? .settings : .computers)).task { await accounts.refreshCloud() }diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.mdindex 5bea0025..93ffa43e 100644--- a/apps/ios/WhatsNew.md+++ b/apps/ios/WhatsNew.md@@ -9,10 +9,12 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o## 2.24.0### zh-Hant+- 設定與語音聊天的標題加入清楚的圖示。- 可在設定中自行選擇英文、簡體中文、繁體中文、日語、韓語、法語、德語或西班牙語,也可跟隨系統語言。- 語言偏好保留在這台裝置,聊天內容維持原文。### en-US+- Identify Settings and Voice chat with clearer header icons.- Choose English, Simplified Chinese, Traditional Chinese, Japanese, Korean, French, German or Spanish in Settings, or follow your system language.- Keep your language preference on this device without translating your conversations.