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

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The GitHub Blog
The GitHub Blog
J
Java Code Geeks
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Vercel News
Vercel News
腾讯CDC
博客园 - 聂微东
The Cloudflare Blog
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
Last Week in AI
Last Week in AI
B
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
fix: smooth chat focus mode layout · openclaw/openclaw@bb...
amknight · 2026-05-23 · via Recent Commits to openclaw:main

@@ -466,7 +466,9 @@ describe("control UI routing", () => {

466466467467

expect([...section.classList]).toContain("nav-section--collapsed");

468468

expect(

469-

section.querySelector<HTMLButtonElement>(".nav-section__label")?.getAttribute("aria-expanded"),

469+

section

470+

.querySelector<HTMLButtonElement>(".nav-section__label")

471+

?.getAttribute("aria-expanded"),

470472

).toBe("false");

471473

});

472474

@@ -609,26 +611,46 @@ describe("control UI routing", () => {

609611

expect(window.location.search).toBe("?session=agent%3Amain%3Asubagent%3Atask-123");

610612611613

const shell = expectElement(app, ".shell", HTMLElement);

614+

const topbar = expectElement(app, ".topbar", HTMLElement);

615+

const contentHeader = expectElement(app, ".content-header", HTMLElement);

612616

expect([...shell.classList]).toEqual(["shell", "shell--chat"]);

617+

expect(topbar.hasAttribute("inert")).toBe(false);

618+

expect(topbar.hasAttribute("aria-hidden")).toBe(false);

619+

expect(contentHeader.hasAttribute("inert")).toBe(false);

620+

expect(contentHeader.hasAttribute("aria-hidden")).toBe(false);

613621614622

const toggle = expectElement(app, 'button[title^="Toggle focus mode"]', HTMLButtonElement);

615623

toggle.click();

616624617625

await app.updateComplete;

618626

expect([...shell.classList]).toEqual(["shell", "shell--chat", "shell--chat-focus"]);

627+

expect(topbar.hasAttribute("inert")).toBe(true);

628+

expect(topbar.getAttribute("aria-hidden")).toBe("true");

629+

expect(contentHeader.hasAttribute("inert")).toBe(true);

630+

expect(contentHeader.getAttribute("aria-hidden")).toBe("true");

619631620632

app.setTab("channels");

621633622634

await app.updateComplete;

623635

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

624636

expect([...shell.classList]).toEqual(["shell"]);

637+

expect(topbar.hasAttribute("inert")).toBe(false);

638+

expect(topbar.hasAttribute("aria-hidden")).toBe(false);

639+

const channelsContentHeader = expectElement(app, ".content-header", HTMLElement);

640+

expect(channelsContentHeader.hasAttribute("inert")).toBe(false);

641+

expect(channelsContentHeader.hasAttribute("aria-hidden")).toBe(false);

625642626643

const chatLink = expectElement(app, 'a.nav-item[href="/chat"]', HTMLAnchorElement);

627644

chatLink.dispatchEvent(new MouseEvent("click", { bubbles: true, cancelable: true, button: 0 }));

628645629646

await app.updateComplete;

630647

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

631648

expect([...shell.classList]).toEqual(["shell", "shell--chat", "shell--chat-focus"]);

649+

expect(topbar.hasAttribute("inert")).toBe(true);

650+

expect(topbar.getAttribute("aria-hidden")).toBe("true");

651+

const focusedContentHeader = expectElement(app, ".content-header", HTMLElement);

652+

expect(focusedContentHeader.hasAttribute("inert")).toBe(true);

653+

expect(focusedContentHeader.getAttribute("aria-hidden")).toBe("true");

632654

});

633655634656

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