惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
博客园 - 司徒正美
I
InfoQ
宝玉的分享
宝玉的分享
G
Google Developers Blog
J
Java Code Geeks
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
罗磊的独立博客
腾讯CDC
F
Fortinet All Blogs
A
About on SuperTechFans
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
B
Blog RSS Feed
博客园 - 聂微东
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
The Cloudflare Blog
L
LangChain Blog
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
refactor(android): make overhaul UI canonical · openclaw/...
obviyus · 2026-05-20 · via Recent Commits to openclaw:main

@@ -51,7 +51,7 @@ import androidx.compose.ui.text.style.TextOverflow

5151

import androidx.compose.ui.unit.dp

52525353

@Composable

54-

internal fun V2CommandPalette(

54+

internal fun CommandPalette(

5555

viewModel: MainViewModel,

5656

onDismiss: () -> Unit,

5757

onOpenChat: () -> Unit,

@@ -70,11 +70,11 @@ internal fun V2CommandPalette(

7070

val normalizedQuery = query.trim().lowercase()

7171

val quickActions =

7272

listOf(

73-

V2CommandItem("Open Chat", "Start or continue a conversation", Icons.Outlined.ChatBubbleOutline, onOpenChat),

74-

V2CommandItem("Start Voice", "Talk or dictate with OpenClaw", Icons.Outlined.MicNone, onOpenVoice),

75-

V2CommandItem("Browse Sessions", "Find previous conversations", Icons.Outlined.AccessTime, onOpenSessions),

76-

V2CommandItem("Providers & Models", providerCommandSubtitle(isConnected, providers, models), Icons.Outlined.Inventory2, onOpenProviders),

77-

V2CommandItem("Settings", "Gateway, voice, notifications, privacy", Icons.Outlined.Settings, onOpenSettings),

73+

CommandItem("Open Chat", "Start or continue a conversation", Icons.Outlined.ChatBubbleOutline, onOpenChat),

74+

CommandItem("Start Voice", "Talk or dictate with OpenClaw", Icons.Outlined.MicNone, onOpenVoice),

75+

CommandItem("Browse Sessions", "Find previous conversations", Icons.Outlined.AccessTime, onOpenSessions),

76+

CommandItem("Providers & Models", providerCommandSubtitle(isConnected, providers, models), Icons.Outlined.Inventory2, onOpenProviders),

77+

CommandItem("Settings", "Gateway, voice, notifications, privacy", Icons.Outlined.Settings, onOpenSettings),

7878

)

7979

val actionRows = quickActions.filter { it.matches(normalizedQuery) }

8080

val sessionRows =

@@ -93,9 +93,9 @@ internal fun V2CommandPalette(

9393

verticalAlignment = Alignment.CenterVertically,

9494

horizontalArrangement = Arrangement.spacedBy(9.dp),

9595

) {

96-

V2CommandIconButton(icon = Icons.AutoMirrored.Filled.ArrowBack, contentDescription = "Close search", onClick = onDismiss)

96+

CommandIconButton(icon = Icons.AutoMirrored.Filled.ArrowBack, contentDescription = "Close search", onClick = onDismiss)

9797

Text(text = "Search", style = ClawTheme.type.title, color = ClawTheme.colors.text, modifier = Modifier.weight(1f), textAlign = TextAlign.Center)

98-

V2CommandAvatar(text = "OC")

98+

CommandAvatar(text = "OC")

9999

}

100100

}

101101

@@ -104,7 +104,7 @@ internal fun V2CommandPalette(

104104

}

105105106106

item {

107-

V2CommandSectionLabel(title = "Quick actions")

107+

CommandSectionLabel(title = "Quick actions")

108108

}

109109110110

if (actionRows.isEmpty()) {

@@ -113,12 +113,12 @@ internal fun V2CommandPalette(

113113

}

114114

} else {

115115

item {

116-

V2CommandActionList(rows = actionRows)

116+

CommandActionList(rows = actionRows)

117117

}

118118

}

119119120120

item {

121-

V2CommandSectionLabel(title = "Sessions")

121+

CommandSectionLabel(title = "Sessions")

122122

}

123123124124

if (sessionRows.isEmpty()) {

@@ -133,10 +133,10 @@ internal fun V2CommandPalette(

133133

}

134134

} else {

135135

item {

136-

V2CommandSessionList(

136+

CommandSessionList(

137137

rows =

138138

sessionRows.map { session ->

139-

V2CommandSessionRow(

139+

CommandSessionRow(

140140

key = session.key,

141141

title = commandSessionTitle(session.displayName),

142142

subtitle = if (pendingRunCount > 0) "Assistant working" else "OpenClaw session",

@@ -152,7 +152,7 @@ internal fun V2CommandPalette(

152152

}

153153

}

154154155-

private data class V2CommandItem(

155+

private data class CommandItem(

156156

val title: String,

157157

val subtitle: String,

158158

val icon: ImageVector,

@@ -161,24 +161,24 @@ private data class V2CommandItem(

161161

fun matches(query: String): Boolean = query.isEmpty() || title.lowercase().contains(query) || subtitle.lowercase().contains(query)

162162

}

163163164-

private data class V2CommandSessionRow(

164+

private data class CommandSessionRow(

165165

val key: String,

166166

val title: String,

167167

val subtitle: String,

168168

val metadata: String,

169169

)

170170171171

@Composable

172-

private fun V2CommandActionList(rows: List<V2CommandItem>) {

172+

private fun CommandActionList(rows: List<CommandItem>) {

173173

ClawPanel(contentPadding = PaddingValues(horizontal = 8.dp, vertical = 0.dp)) {

174174

ClawSeparatedColumn(items = rows) { row ->

175-

V2CommandActionRow(row = row)

175+

CommandActionRow(row = row)

176176

}

177177

}

178178

}

179179180180

@Composable

181-

private fun V2CommandActionRow(row: V2CommandItem) {

181+

private fun CommandActionRow(row: CommandItem) {

182182

Surface(color = Color.Transparent, contentColor = ClawTheme.colors.text) {

183183

Row(

184184

modifier =

@@ -207,20 +207,20 @@ private fun V2CommandActionRow(row: V2CommandItem) {

207207

}

208208209209

@Composable

210-

private fun V2CommandSessionList(

211-

rows: List<V2CommandSessionRow>,

210+

private fun CommandSessionList(

211+

rows: List<CommandSessionRow>,

212212

onOpen: (String) -> Unit,

213213

) {

214214

ClawPanel(contentPadding = PaddingValues(horizontal = 8.dp, vertical = 0.dp)) {

215215

ClawSeparatedColumn(items = rows) { row ->

216-

V2CommandSessionListRow(row = row, onClick = { onOpen(row.key) })

216+

CommandSessionListRow(row = row, onClick = { onOpen(row.key) })

217217

}

218218

}

219219

}

220220221221

@Composable

222-

private fun V2CommandSessionListRow(

223-

row: V2CommandSessionRow,

222+

private fun CommandSessionListRow(

223+

row: CommandSessionRow,

224224

onClick: () -> Unit,

225225

) {

226226

Surface(color = ClawTheme.colors.canvas, contentColor = ClawTheme.colors.text) {

@@ -261,7 +261,7 @@ private fun V2CommandSessionListRow(

261261

}

262262263263

@Composable

264-

private fun V2CommandIconButton(

264+

private fun CommandIconButton(

265265

icon: ImageVector,

266266

contentDescription: String,

267267

onClick: () -> Unit,

@@ -274,7 +274,7 @@ private fun V2CommandIconButton(

274274

}

275275276276

@Composable

277-

private fun V2CommandAvatar(text: String) {

277+

private fun CommandAvatar(text: String) {

278278

Surface(

279279

modifier = Modifier.size(34.dp),

280280

shape = CircleShape,

@@ -289,7 +289,7 @@ private fun V2CommandAvatar(text: String) {

289289

}

290290291291

@Composable

292-

private fun V2CommandSectionLabel(title: String) {

292+

private fun CommandSectionLabel(title: String) {

293293

Row(modifier = Modifier.fillMaxWidth()) {

294294

Text(text = title.uppercase(), style = ClawTheme.type.caption, color = ClawTheme.colors.textMuted)

295295

}