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

推荐订阅源

罗磊的独立博客
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
小众软件
小众软件
博客园_首页
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
MyScale Blog
MyScale Blog
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
Docker
B
Blog
雷峰网
雷峰网
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow 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
test: merge more ui render hotspots · openclaw/openclaw@d...
steipete · 2026-04-18 · via Recent Commits to openclaw:main

@@ -39,72 +39,6 @@ function expectConfirmedGatewayChange(app: ReturnType<typeof mountApp>) {

3939

}

40404141

describe("control UI routing", () => {

42-

it("renders the dreaming view on the /dreaming route", async () => {

43-

const app = mountApp("/dreaming");

44-

app.dreamingStatus = {

45-

enabled: true,

46-

timezone: "Europe/Madrid",

47-

verboseLogging: false,

48-

storageMode: "inline",

49-

separateReports: false,

50-

shortTermCount: 2,

51-

recallSignalCount: 1,

52-

dailySignalCount: 1,

53-

groundedSignalCount: 0,

54-

totalSignalCount: 2,

55-

phaseSignalCount: 0,

56-

lightPhaseHitCount: 0,

57-

remPhaseHitCount: 0,

58-

promotedTotal: 1,

59-

promotedToday: 1,

60-

shortTermEntries: [],

61-

signalEntries: [],

62-

promotedEntries: [],

63-

phases: {

64-

light: { enabled: true, cron: "", managedCronPresent: false, lookbackDays: 7, limit: 20 },

65-

deep: {

66-

enabled: true,

67-

cron: "",

68-

managedCronPresent: false,

69-

limit: 20,

70-

minScore: 0.75,

71-

minRecallCount: 3,

72-

minUniqueQueries: 2,

73-

recencyHalfLifeDays: 7,

74-

},

75-

rem: {

76-

enabled: true,

77-

cron: "",

78-

managedCronPresent: false,

79-

lookbackDays: 7,

80-

limit: 20,

81-

minPatternStrength: 0.6,

82-

},

83-

},

84-

};

85-

app.dreamDiaryPath = "DREAMS.md";

86-

app.dreamDiaryContent = [

87-

"# Dream Diary",

88-

"",

89-

"<!-- openclaw:dreaming:diary:start -->",

90-

"",

91-

"---",

92-

"",

93-

"*January 1, 2026*",

94-

"",

95-

"What Happened",

96-

"1. Stable operator rule surfaced.",

97-

"",

98-

"<!-- openclaw:dreaming:diary:end -->",

99-

].join("\n");

100-

app.requestUpdate();

101-

await app.updateComplete;

102-103-

expect(app.tab).toBe("dreams");

104-

expect(app.querySelector(".dreams__tab")).not.toBeNull();

105-

expect(app.querySelector(".dreams__lobster")).not.toBeNull();

106-

});

107-10842

it("renders responsive navigation shell, drawer, and collapsed states", async () => {

10943

const app = mountApp("/chat");

11044

await app.updateComplete;

@@ -127,6 +61,19 @@ describe("control UI routing", () => {

12761

expect(app.querySelector(".sidebar-brand__logo")).not.toBeNull();

12862

expect(app.querySelector(".sidebar-brand__copy")).not.toBeNull();

1296364+

app.hello = {

65+

ok: true,

66+

server: { version: "1.2.3" },

67+

} as never;

68+

app.requestUpdate();

69+

await app.updateComplete;

70+71+

const version = app.querySelector<HTMLElement>(".sidebar-version");

72+

const statusDot = app.querySelector<HTMLElement>(".sidebar-version__status");

73+

expect(version).not.toBeNull();

74+

expect(statusDot).not.toBeNull();

75+

expect(statusDot?.getAttribute("aria-label")).toContain("Online");

76+13077

app.applySettings({ ...app.settings, navWidth: 360 });

13178

await app.updateComplete;

13279

@@ -274,24 +221,6 @@ describe("control UI routing", () => {

274221

expect(shell?.classList.contains("shell--chat-focus")).toBe(true);

275222

});

276223277-

it("shows one online status dot next to the sidebar version", async () => {

278-

const app = mountApp("/chat");

279-

await app.updateComplete;

280-281-

app.hello = {

282-

ok: true,

283-

server: { version: "1.2.3" },

284-

} as never;

285-

app.requestUpdate();

286-

await app.updateComplete;

287-288-

const version = app.querySelector<HTMLElement>(".sidebar-version");

289-

const statusDot = app.querySelector<HTMLElement>(".sidebar-version__status");

290-

expect(version).not.toBeNull();

291-

expect(statusDot).not.toBeNull();

292-

expect(statusDot?.getAttribute("aria-label")).toContain("Online");

293-

});

294-295224

it("auto-scrolls chat history to the latest message", async () => {

296225

vi.spyOn(window, "requestAnimationFrame").mockImplementation((callback) => {

297226

queueMicrotask(() => callback(performance.now()));