Skip to content

improve: shrink transcript and draft code loaded with Chat - #201241

Merged
roboclaw-bot merged 3 commits into
mainfrom
openclaw/amber-krill-5
Nov 18, 2026
Merged

roboclaw-bot merged 3 commits into
mainfrom
openclaw/amber-krill-5

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Related: #200929

What Problem This Solves

Opening Chat downloads internal names in the transcript virtualizer and composer draft persistence that nothing outside those classes uses. They add to a startup download that is already over budget.

User Impact

No visible change. Chat downloads 187 fewer gzip bytes of JavaScript, with no extra requests and no change to transcript scrolling, draft persistence or loading.

Why This Change Was Made

The transcript virtualizer host and composer persistence now use native # private members, so the production minifier can shorten their internal names. Public interfaces, callback receivers, initialization order and scheduling are unchanged. Both are used as plain class instances: no proxies, Solid store wrapping, serialization or private-name lookups. Two constructor parameter properties stay TypeScript-private to keep the change inside the file's lint limits.

Evidence

The paired performance comparison against 4f08bdfc2118cebfd48c1b7153365a52139ee181 passed: Chat boot JS −187 B gzip, New Session −29 B, startup unchanged, request counts unchanged at 21, 17 and 3. 121 transcript tests and 43 composer, account-handoff and outbox tests passed, along with lint, formatting, and the UI and Chat test typechecks.

Requested by @vyctorbrzezowski.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 3 commits November 18, 2026 13:42
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 705935cc-2ce4-87eb-8720-8e50769cc40d
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 18, 2026
@roboclaw-bot
roboclaw-bot merged commit c42be64 into main Nov 18, 2026
88 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/amber-krill-5 branch November 18, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:feature Preliminary submission classification; full source review pending. size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant