From a7b7792b3faf56dda0700385494a63d97f9c310d Mon Sep 17 00:00:00 2001 From: agent Date: Thu, 29 Oct 2026 00:06:07 -0400 Subject: [PATCH] ui: About rows, and drop the removed copy from the roster's own KDoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SDK/key-type footnote moved to Node and Settings, so it should not survive as a quoted string in ui/ either — the About card now shows IDENTITY ed25519 and SDK as label plus mono value, which is the design system's idiom for a machine fact. Same reasoning for the KDoc: it describes the change instead of pasting the strings that were removed. --- .../siriusdevops/onionwire/ui/RosterScreen.kt | 16 ++++++++-------- .../siriusdevops/onionwire/ui/SettingsScreen.kt | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/android/app/src/main/java/com/siriusdevops/onionwire/ui/RosterScreen.kt b/android/app/src/main/java/com/siriusdevops/onionwire/ui/RosterScreen.kt index 226995a..d50b69f 100644 --- a/android/app/src/main/java/com/siriusdevops/onionwire/ui/RosterScreen.kt +++ b/android/app/src/main/java/com/siriusdevops/onionwire/ui/RosterScreen.kt @@ -64,18 +64,18 @@ import uniffi.onionwire_sdk.FriendInfo * * Three things changed from the alpha build and they are deliberate: * - * - The identity block is one compact bar. The `YOU (stable forever)` card, the - * `sdk … · identity = ed25519 pubkey` line and the keep-alive paragraph are - * gone from here — the SDK line is on Node & Settings, and the keep-alive - * state is a status row there too. A home screen does not explain the - * transport before it shows the people. + * - The identity block is one compact bar. The old expandable card, the version + * and key-type footnote and the keep-alive paragraph are gone from here: the + * technical lines moved to Node & Settings, and reachability is a status row + * there too. A home screen does not explain the transport before it shows the + * people. * - The five text-link actions are gone. Invite and Add are the two first-class * actions (in the empty state, and in the bar); the rare and destructive ones - * live behind `⋮`. + * live behind the overflow menu. * - The empty state says what to do next, with the two buttons that do it. * - * Behaviour is unchanged: `invite`, `onPaste`, `onOpenChat`, `onRotate`, - * `onWipe` and `onLock` are the same ViewModel calls the old screen made. + * Behaviour is unchanged: every callback here is the ViewModel call the old + * screen made — this screen only decides where the entry points sit. */ @Composable fun RosterScreen( diff --git a/android/app/src/main/java/com/siriusdevops/onionwire/ui/SettingsScreen.kt b/android/app/src/main/java/com/siriusdevops/onionwire/ui/SettingsScreen.kt index a9ec625..c5e5c68 100644 --- a/android/app/src/main/java/com/siriusdevops/onionwire/ui/SettingsScreen.kt +++ b/android/app/src/main/java/com/siriusdevops/onionwire/ui/SettingsScreen.kt @@ -135,16 +135,16 @@ fun SettingsScreen( OwCard(Modifier.fillMaxWidth()) { OwSectionTitle("About") - Spacer(Modifier.height(6.dp)) - Text( - "identity = ed25519 pubkey", - style = MaterialTheme.typography.bodySmall, - color = OwColors.TextSecondary, - ) + Spacer(Modifier.height(8.dp)) + Row(verticalAlignment = Alignment.CenterVertically) { + Label("IDENTITY") + Spacer(Modifier.width(10.dp)) + Mono("ed25519") + } Spacer(Modifier.height(4.dp)) Row(verticalAlignment = Alignment.CenterVertically) { Label("SDK") - Spacer(Modifier.width(8.dp)) + Spacer(Modifier.width(10.dp)) Mono(sdkVersion) } Spacer(Modifier.height(10.dp))