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

推荐订阅源

Google DeepMind News
Google DeepMind News
G
Google Developers Blog
博客园 - 三生石上(FineUI控件)
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
V
V2EX
Vercel News
Vercel News
U
Unit 42
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
J
Java Code Geeks
WordPress大学
WordPress大学
罗磊的独立博客
I
InfoQ
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
小众软件
小众软件
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
云风的 BLOG
云风的 BLOG

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
style(macos): align sessions settings padding · openclaw/...
steipete · 2026-05-18 · via Recent Commits to openclaw:main

@@ -23,8 +23,9 @@ struct SessionsSettings: View {

2323

self.content

2424

Spacer()

2525

}

26-

.frame(maxWidth: .infinity, alignment: .leading)

27-

.padding(.horizontal, 12)

26+

.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)

27+

.padding(.leading, 18)

28+

.padding(.trailing, SettingsLayout.scrollbarGutter)

2829

.task {

2930

guard !self.hasLoaded else { return }

3031

guard !self.isPreview else { return }

@@ -34,16 +35,16 @@ struct SessionsSettings: View {

3435

}

35363637

private var header: some View {

37-

HStack(alignment: .top, spacing: 12) {

38+

HStack(alignment: .top, spacing: 16) {

3839

VStack(alignment: .leading, spacing: 4) {

3940

Text("Sessions")

40-

.font(.headline)

41+

.font(.title3.weight(.semibold))

4142

Text("Peek at the stored conversation buckets the CLI reuses for context and rate limits.")

42-

.font(.footnote)

43+

.font(.callout)

4344

.foregroundStyle(.secondary)

4445

.fixedSize(horizontal: false, vertical: true)

4546

}

46-

Spacer()

47+

Spacer(minLength: 16)

4748

SettingsRefreshButton(isLoading: self.loading) {

4849

Task { await self.refresh() }

4950

}

@@ -58,21 +59,30 @@ struct SessionsSettings: View {

5859

.foregroundStyle(.secondary)

5960

.padding(.top, 6)

6061

} else {

61-

List(self.rows) { row in

62-

self.sessionRow(row)

62+

ScrollView(.vertical) {

63+

LazyVStack(alignment: .leading, spacing: 0) {

64+

ForEach(Array(self.rows.enumerated()), id: \.element.id) { index, row in

65+

self.sessionRow(row)

66+

.padding(.horizontal, 8)

67+

.padding(.vertical, 8)

68+69+

if index != self.rows.count - 1 {

70+

Divider()

71+

.padding(.leading, 8)

72+

}

73+

}

74+

}

75+

.frame(maxWidth: .infinity, alignment: .leading)

6376

}

64-

.listStyle(.inset)

6577

.overlay(alignment: .topLeading) {

6678

if let errorMessage {

6779

Text(errorMessage)

6880

.font(.footnote)

6981

.foregroundStyle(.red)

70-

.padding(.leading, 4)

82+

.padding(.leading, 8)

7183

.padding(.top, 4)

7284

}

7385

}

74-

// The view already applies horizontal padding; keep the list aligned with the text above.

75-

.padding(.horizontal, -12)

7686

}

7787

}

7888

}

@@ -136,7 +146,7 @@ struct SessionsSettings: View {

136146

}

137147

}

138148

}

139-

.padding(.vertical, 6)

149+

.frame(maxWidth: .infinity, alignment: .leading)

140150

}

141151142152

private func label(icon: String, text: String) -> some View {