Skip to content

fix(ui): take session owner chip initials by code point - #117350

Merged
steipete merged 1 commit into
openclaw:mainfrom
zenglingbiao:fix/session-owner-chip-emoji-initial
Aug 1, 2026
Merged

steipete merged 1 commit into
openclaw:mainfrom
zenglingbiao:fix/session-owner-chip-emoji-initial

Conversation

@zenglingbiao

@zenglingbiao zenglingbiao commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Take session owner-chip initials by grapheme cluster (the Control UI's canonical takeGraphemes helper) instead of UTF-16 code-unit indexing, so emoji display names no longer render a lone surrogate (tofu) in the sessions list, and ZWJ emoji sequences render as the complete visible initial.

What Problem This Solves

The session owner chip (ui/src/components/session-owner-chip.ts) shows one- or two-character initials derived from the creator's display name. ownerInitials took those "characters" with parts[0]?.[0] and source[0] — UTF-16 code-unit indexing. Any display name starting with an astral character (emoji such as 🦞, 🚀, or CJK ext-B) yields the lone high surrogate, which renders as tofu/invalid glyph in the chip on every sessions list row.

The same bug class was already fixed for identity avatars in #104912 (ui/src/lib/identity-avatar.ts:209 now uses Array.from(word)[0]); this chip is the remaining display-name initial extraction that still indexes code units. Sibling audit: every other charAt(0)/[0] initial site in ui/src either capitalizes internal ASCII constants while keeping the rest of the string (surrogate pairs stay intact) or handles non-user text — this file is the only user-controlled display name affected.

Code evidence: session-owner-chip.ts:69-70 built initials via (parts[0]?.[0] ?? "") + (parts[1]?.[0] ?? "") and fell back to source[0] — all code-unit indexing.

Root Cause

  • Introduced by commit cf2f591 (2026-07-22, "feat(sessions): permanent creator attribution, owner avatars, person filter", feat(sessions): permanent creator attribution, owner avatars, person filter, multi-user docs #112658), which added ownerInitials with code-unit indexing.
  • Violated invariant: the chip treats string[0] as "the first visible character", which only holds for BMP text; astral characters occupy two UTF-16 units, so [0] returns half a character.
  • Trigger: set a profile/session display name whose first letter is an emoji (e.g. "🦞小明"), then open the sessions list — the owner chip shows tofu instead of 🦞.

Why This Fix

  • Use the repo's canonical grapheme helper takeGraphemes(value, 1) (ui/src/lib/graphemes.ts) — Intl.Segmenter when available, Array.from as fallback. This is the established Control UI contract for Unicode-safe initials (ui/src/lib/avatar.ts:58, provider-icon.ts:143): it keeps astral characters whole and keeps multi-code-point grapheme clusters (ZWJ family emoji, flags, skin-tone sequences) as one visible initial.
  • An earlier revision of this PR used Array.from(value)[0] (code points only). Review feedback correctly flagged that this still splits ZWJ sequences — 👨‍👩‍👧‍👦Family would render only 👨 — so the fix now routes through takeGraphemes, matching the sibling avatar initializer that already tests complete ZWJ clusters.
  • Kept the surrounding logic (delimiter split, @-strip, two-part initials, uppercase) untouched; the helper only changes how a "first character" is read.

User Impact

  • Affected operations: Control UI sessions list / thread header owner chips for any creator whose display name starts with an emoji or other astral character.
  • Before: chip shows a replacement/tofu glyph.
  • After: chip shows the actual first visible character, including complete ZWJ emoji clusters (e.g. 🦞, 👨‍👩‍👧‍👦).

Evidence

  • Before: rendering the real openclaw-session-owner-chip component with display name "🦞小明" produces chip text \ud83e — a lone high surrogate → FAIL; "👨‍👩‍👧‍👦Family" likewise produces \ud83d → FAIL
  • After: the same renders produce 🦞 as one whole code point → PASS, and 👨‍👩‍👧‍👦 as the complete ZWJ grapheme cluster → PASS

Real Behavior Proof

Before (on main)

$ node --import tsx proof.mjs
displayName="🦞小明" chip_text="\ud83e" codepoints=[U+d83e]
FAIL: emoji display name renders a lone UTF-16 surrogate (tofu) in the owner chip
displayName="👨‍👩‍👧‍👦Family" chip_text="\ud83d" codepoints=[U+d83d]
FAIL: emoji display name renders a lone UTF-16 surrogate (tofu) in the owner chip

After (with fix)

$ node --import tsx proof.mjs
displayName="🦞小明" chip_text="🦞" codepoints=[U+1f99e]
PASS: owner chip renders the complete visible initial "🦞"
displayName="👨‍👩‍👧‍👦Family" chip_text="👨‍👩‍👧‍👦" codepoints=[U+1f468 U+200d U+1f469 U+200d U+1f467 U+200d U+1f466]
PASS: owner chip renders the complete visible initial "👨‍👩‍👧‍👦"

Tests and Validation

  • pnpm check passed
  • Extended regression coverage in ui/src/test-helpers/app-sidebar-cases/session-ownership.ts: creators labeled "🦞小明" and "👨‍👩‍👧‍👦Family" must render chip text exactly "🦞" and "👨‍👩‍👧‍👦" through the full sidebar render path; all 226 app-sidebar cases pass
  • Proof above renders the real openclaw-session-owner-chip custom element and reads the DOM text users see; no external services involved

Maintainer Exact-Head Real Browser Verification

Original contributor @zenglingbiao, original Git author/email, and original first authored timestamp are preserved. Refreshed exact head 17ebd51c8d9a56c8e355aa48d9da515f781ca1c4 changes only the two original owner/sidebar-regression files, for +4 net production lines. There is no linked issue, config, storage, migration, protocol, or dependency change.

The actual Vite-served production openclaw-session-owner-chip custom element was mounted in real Google Chrome 150 and its visible .session-owner-chip DOM text was read for seven Unicode/BMP cases.

Before, current main:

{
  "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/150.0.0.0 Safari/537.36",
  "intlSegmenter": true,
  "results": [
    {
      "case": "lobster",
      "label": "🦞小明",
      "visible": "\ud83e",
      "expected": "🦞",
      "codePoints": [
        "U+d83e"
      ],
      "pass": false
    },
    {
      "case": "family-zwj",
      "label": "👨‍👩‍👧‍👦Family",
      "visible": "\ud83d",
      "expected": "👨‍👩‍👧‍👦",
      "codePoints": [
        "U+d83d"
      ],
      "pass": false
    },
    {
      "case": "flag",
      "label": "🇺🇸Flag",
      "visible": "\ud83c",
      "expected": "🇺🇸",
      "codePoints": [
        "U+d83c"
      ],
      "pass": false
    },
    {
      "case": "skin-tone",
      "label": "👍🏽Thumbs",
      "visible": "\ud83d",
      "expected": "👍🏽",
      "codePoints": [
        "U+d83d"
      ],
      "pass": false
    },
    {
      "case": "astral-cjk",
      "label": "𠀀Creator",
      "visible": "\ud840",
      "expected": "𠀀",
      "codePoints": [
        "U+d840"
      ],
      "pass": false
    },
    {
      "case": "combining-accent",
      "label": "éclair",
      "visible": "E",
      "expected": "É",
      "codePoints": [
        "U+45"
      ],
      "pass": false
    },
    {
      "case": "ascii-two-part",
      "label": "Ada Lovelace",
      "visible": "AL",
      "expected": "AL",
      "codePoints": [
        "U+41",
        "U+4c"
      ],
      "pass": true
    }
  ]
}

After, exact refreshed original-contributor head:

{
  "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/150.0.0.0 Safari/537.36",
  "intlSegmenter": true,
  "results": [
    {
      "case": "lobster",
      "label": "🦞小明",
      "visible": "🦞",
      "expected": "🦞",
      "codePoints": [
        "U+1f99e"
      ],
      "pass": true
    },
    {
      "case": "family-zwj",
      "label": "👨‍👩‍👧‍👦Family",
      "visible": "👨‍👩‍👧‍👦",
      "expected": "👨‍👩‍👧‍👦",
      "codePoints": [
        "U+1f468",
        "U+200d",
        "U+1f469",
        "U+200d",
        "U+1f467",
        "U+200d",
        "U+1f466"
      ],
      "pass": true
    },
    {
      "case": "flag",
      "label": "🇺🇸Flag",
      "visible": "🇺🇸",
      "expected": "🇺🇸",
      "codePoints": [
        "U+1f1fa",
        "U+1f1f8"
      ],
      "pass": true
    },
    {
      "case": "skin-tone",
      "label": "👍🏽Thumbs",
      "visible": "👍🏽",
      "expected": "👍🏽",
      "codePoints": [
        "U+1f44d",
        "U+1f3fd"
      ],
      "pass": true
    },
    {
      "case": "astral-cjk",
      "label": "𠀀Creator",
      "visible": "𠀀",
      "expected": "𠀀",
      "codePoints": [
        "U+20000"
      ],
      "pass": true
    },
    {
      "case": "combining-accent",
      "label": "éclair",
      "visible": "É",
      "expected": "É",
      "codePoints": [
        "U+45",
        "U+301"
      ],
      "pass": true
    },
    {
      "case": "ascii-two-part",
      "label": "Ada Lovelace",
      "visible": "AL",
      "expected": "AL",
      "codePoints": [
        "U+41",
        "U+4c"
      ],
      "pass": true
    }
  ]
}

Lobster emoji, a complete family ZWJ sequence, a flag, skin-tone emoji, astral CJK, and combining-accent graphemes are now all intact; ordinary two-word ASCII initials remain AL. Existing Intl.Segmenter ownership remains in the canonical shared Control UI helper.

OPENCLAW_VITEST_FS_MODULE_CACHE_PATH=/private/tmp/openclaw-vitest-s02-117350-ui node scripts/run-vitest.mjs ui/src/components/app-sidebar.test.ts ui/src/lib/avatar.test.ts
.agents/skills/autoreview/scripts/autoreview --mode uncommitted --engine codex --thinking xhigh

Both focused suites pass: 231 tests. Targeted formatter and git diff --check pass; fresh Codex Sol xhigh structured autoreview is clean. The old unrelated failing CI baseline was removed by refreshing current main; exact-head hosted CI must finish green before landing.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 2:07 PM ET / 18:07 UTC.

ClawSweeper review

What this changes

The PR replaces UTF-16 code-unit initial extraction in the session owner chip with the shared grapheme helper and adds sidebar regression cases for emoji and ZWJ display names.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

This PR correctly fixes a current Control UI Unicode rendering bug by using the existing grapheme-boundary helper. It applies cleanly to current main, has direct before/after browser proof, and should remain open for normal maintainer merge after exact-head CI completes.

Priority: P2
Reviewed head: 17ebd51c8d9a56c8e355aa48d9da515f781ca1c4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is narrowly scoped, uses the canonical helper, and is backed by direct browser evidence plus focused regression coverage; remaining CI is the ordinary merge gate.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body and maintainer comment provide before/after Chrome DOM output for the actual owner-chip element across emoji, ZWJ, flag, skin-tone, astral CJK, combining-character, and ASCII cases.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body and maintainer comment provide before/after Chrome DOM output for the actual owner-chip element across emoji, ZWJ, flag, skin-tone, astral CJK, combining-character, and ASCII cases.
Evidence reviewed 5 items Current-main defect: Current main indexes parts[0]?.[0], parts[1]?.[0], and source[0], so a leading astral character is truncated to a UTF-16 surrogate.
Canonical shared behavior: The existing Control UI helper segments grapheme clusters with Intl.Segmenter and falls back to whole code points; sibling avatar initials already call it.
Clean integration: The read-only merge-tree comparison reports both modified files merge cleanly with current main.
Findings None None.
Security None None.

How this fits together

Control UI session rows and headers receive a creator identity from gateway session data. The owner chip derives a short visible initial from that display name for multi-user attribution.

flowchart LR
  A[Gateway creator identity] --> B[Session creator projection]
  B --> C[Owner chip]
  C --> D[Grapheme-safe initials]
  D --> E[Sidebar row]
  D --> F[Session header]
Loading

Before merge

  • Resolve merge risk (P1) - Exact-head CI is still in progress; merge only after the required checks complete successfully.
  • Complete next step (P2) - No actionable repair remains: the patch is correct on source review and needs only normal exact-head CI completion before maintainer merge.
Agent review details

Security

None.

PR surface

Source +36. Total +36 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 2 38 2 +36
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 38 2 +36

Review metrics

None.

Stored data model

Persistent data-model change detected: serialized state: ui/src/components/session-owner-chip.ts, serialized state: ui/src/test-helpers/app-sidebar-cases/session-ownership.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: canonical
Canonical: #117350
Summary: This PR is the canonical remaining repair for the session-owner chip; a merged avatar-initial fix established the shared helper but did not change this distinct caller.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Merge the focused shared-helper repair once exact-head CI is green, retaining one canonical Unicode-initial implementation across Control UI surfaces.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Merge the focused shared-helper repair once exact-head CI is green, retaining one canonical Unicode-initial implementation across Control UI surfaces.

Do we have a high-confidence way to reproduce the issue?

Yes. Current main uses UTF-16 code-unit indexing in ownerInitials, and the submitted exact-head Chrome proof shows those indices render lone surrogates for emoji and other multi-code-point initials.

Is this the best way to solve the issue?

Yes. Reusing takeGraphemes is the narrowest maintainable solution because it preserves the existing Control UI grapheme-boundary contract instead of adding a parallel Unicode parser.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against fd343ca8cc95.

Labels

Label justifications:

  • P2: This fixes a bounded user-visible Control UI rendering defect for Unicode display names without affecting session data, routing, or delivery.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body and maintainer comment provide before/after Chrome DOM output for the actual owner-chip element across emoji, ZWJ, flag, skin-tone, astral CJK, combining-character, and ASCII cases.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body and maintainer comment provide before/after Chrome DOM output for the actual owner-chip element across emoji, ZWJ, flag, skin-tone, astral CJK, combining-character, and ASCII cases.

Evidence

What I checked:

Likely related people:

  • steipete: The merged session-ownership work in the supplied related-PR context introduced permanent creator attribution and the owner-chip surface. (role: feature introducer; confidence: high; commits: cf2f59116108; files: ui/src/components/session-owner-chip.ts, ui/src/test-helpers/app-sidebar-cases/session-ownership.ts)
  • Vincent Koc: Current-line blame attributes the owner-initial implementation block to a recent UI refactor commit, making this contributor a useful routing candidate for the present file shape. (role: recent area contributor; confidence: medium; commits: 1130f30445c4; files: ui/src/components/session-owner-chip.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Wait for the in-progress exact-head required checks to finish successfully.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (5 earlier review cycles)
  • reviewed 2026-08-01T10:25:15.285Z sha c38e9ce3ebbcb3874f5e098e977d6b6a05a5d1e6 :: needs changes before merge. :: [P1] Use the canonical grapheme helper for owner initials
  • reviewed August 1, 2026, 6:38 AM ET / 10:38 UTC sha unknown :: needs changes before merge. :: [P1] Use the shared grapheme helper for owner initials
  • reviewed 2026-08-01T10:49:18.974Z sha b47de67b0f290360522481a9494d79568a3d5f3f :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:05:22.120Z sha b47de67b0f290360522481a9494d79568a3d5f3f :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T15:14:57.282Z sha b47de67b0f290360522481a9494d79568a3d5f3f :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Aug 1, 2026
@steipete
steipete force-pushed the fix/session-owner-chip-emoji-initial branch from b47de67 to 17ebd51 Compare August 1, 2026 18:01
@steipete

steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Maintainer actual Chrome 150 Unicode-rendering verification

Preserved original contributor @zenglingbiao, original human Git author/email/first authored date, and the original two-file patch. Exact refreshed head 17ebd51c8d9a56c8e355aa48d9da515f781ca1c4 is +4 net production lines and reuses the canonical shared takeGraphemes / Intl.Segmenter owner.

Started the real Control UI Vite server, launched real installed Google Chrome 150, mounted production openclaw-session-owner-chip, and read the actual visible DOM text.

Before:

{"browser":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/150.0.0.0 Safari/537.36","intlSegmenter":true,"results":[{"case":"lobster","label":"🦞小明","visible":"\ud83e","expected":"🦞","codePoints":["U+d83e"],"pass":false},{"case":"family-zwj","label":"👨‍👩‍👧‍👦Family","visible":"\ud83d","expected":"👨‍👩‍👧‍👦","codePoints":["U+d83d"],"pass":false},{"case":"flag","label":"🇺🇸Flag","visible":"\ud83c","expected":"🇺🇸","codePoints":["U+d83c"],"pass":false},{"case":"skin-tone","label":"👍🏽Thumbs","visible":"\ud83d","expected":"👍🏽","codePoints":["U+d83d"],"pass":false},{"case":"astral-cjk","label":"𠀀Creator","visible":"\ud840","expected":"𠀀","codePoints":["U+d840"],"pass":false},{"case":"combining-accent","label":"éclair","visible":"E","expected":"É","codePoints":["U+45"],"pass":false},{"case":"ascii-two-part","label":"Ada Lovelace","visible":"AL","expected":"AL","codePoints":["U+41","U+4c"],"pass":true}]}

After:

{"browser":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/150.0.0.0 Safari/537.36","intlSegmenter":true,"results":[{"case":"lobster","label":"🦞小明","visible":"🦞","expected":"🦞","codePoints":["U+1f99e"],"pass":true},{"case":"family-zwj","label":"👨‍👩‍👧‍👦Family","visible":"👨‍👩‍👧‍👦","expected":"👨‍👩‍👧‍👦","codePoints":["U+1f468","U+200d","U+1f469","U+200d","U+1f467","U+200d","U+1f466"],"pass":true},{"case":"flag","label":"🇺🇸Flag","visible":"🇺🇸","expected":"🇺🇸","codePoints":["U+1f1fa","U+1f1f8"],"pass":true},{"case":"skin-tone","label":"👍🏽Thumbs","visible":"👍🏽","expected":"👍🏽","codePoints":["U+1f44d","U+1f3fd"],"pass":true},{"case":"astral-cjk","label":"𠀀Creator","visible":"𠀀","expected":"𠀀","codePoints":["U+20000"],"pass":true},{"case":"combining-accent","label":"éclair","visible":"É","expected":"É","codePoints":["U+45","U+301"],"pass":true},{"case":"ascii-two-part","label":"Ada Lovelace","visible":"AL","expected":"AL","codePoints":["U+41","U+4c"],"pass":true}]}

Six previously broken visible initial types now render their complete grapheme: lobster, family ZWJ, flag, skin tone, astral CJK, and combining accent. The two-part ordinary ASCII control remains unchanged.

node --import tsx --input-type=module -e 'import {chromium} from "playwright";import {startControlUiE2eServer} from "./ui/src/test-helpers/control-ui-e2e.ts";const server=await startControlUiE2eServer();let browser;try{browser=await chromium.launch({executablePath:"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",headless:true});const page=await browser.newPage({viewport:{width:1100,height:500}});await page.route(server.baseUrl,route=>route.fulfill({status:200,contentType:"text/html",body:"<!doctype html><html><body><main id=proof></main></body></html>"}));await page.goto(server.baseUrl,{waitUntil:"domcontentloaded",timeout:60000});const report=await page.evaluate(async()=>{await import("/src/components/session-owner-chip.ts");const cases=[{name:"lobster",label:"🦞小明",expected:"🦞"},{name:"family-zwj",label:"👨‍👩‍👧‍👦Family",expected:"👨‍👩‍👧‍👦"},{name:"flag",label:"🇺🇸Flag",expected:"🇺🇸"},{name:"skin-tone",label:"👍🏽Thumbs",expected:"👍🏽"},{name:"astral-cjk",label:"𠀀Creator",expected:"𠀀"},{name:"combining-accent",label:"e\u0301clair",expected:"E\u0301"},{name:"ascii-two-part",label:"Ada Lovelace",expected:"AL"}];const outputs=[];for(const item of cases){const node=document.createElement("openclaw-session-owner-chip");node.createdActor={type:"human",id:"profile-"+item.name,label:item.label};document.body.append(node);await node.updateComplete;const visible=node.querySelector(".session-owner-chip")?.textContent?.trim()??"";outputs.push({case:item.name,label:item.label,visible,expected:item.expected,codePoints:Array.from(visible).map(value=>"U+"+value.codePointAt(0).toString(16)),pass:visible===item.expected});}return {browser:navigator.userAgent,intlSegmenter:typeof Intl.Segmenter==="function",results:outputs}});process.stdout.write(JSON.stringify(report)+"\n")}finally{await browser?.close();await server.close()}'
OPENCLAW_VITEST_FS_MODULE_CACHE_PATH=/private/tmp/openclaw-vitest-s02-117350-ui node scripts/run-vitest.mjs ui/src/components/app-sidebar.test.ts ui/src/lib/avatar.test.ts
.agents/skills/autoreview/scripts/autoreview --mode uncommitted --engine codex --thinking xhigh

Both focused sidebar/avatar suites pass: 231 tests. Targeted formatter and diff checks pass; fresh Codex Sol xhigh autoreview is clean.

@steipete
steipete merged commit b340e68 into openclaw:main Aug 1, 2026
102 checks passed
@steipete

steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 1, 2026
* origin/main: (491 commits)
  feat(gateway): advertise chat attachment limits on hello-ok (#116188)
  fix(ui): preserve full graphemes in session owner initials (#117350)
  refactor(tui): consolidate runtime ownership (#117368)
  fix(update): return failure when dirty checkout blocks update (#117452)
  fix(auto-reply): apply mixed chat directives in one session transaction (#117542)
  refactor(ui): unify channel status and setup controls (#117499)
  fix(doctor): preserve surviving lint selections (#117543)
  fix(media): keep an unquoted MEDIA path with spaces as one media item (#112464)
  refactor(channels): consolidate lightweight plugin discovery (#117541)
  fix(imessage): prevent duplicate messages after delayed sends (#110853)
  refactor(memory): unify authoritative dreaming state and presentation (#117538)
  refactor(agents): consolidate main-session recovery ownership (#117383)
  fix(proxy-capture): make path-based session cleanup atomic (#98852)
  refactor(agents): consolidate compaction and context-engine ownership (#117482)
  fix(gateway): preserve Responses usage details (#117533)
  perf(gateway): skip empty session recovery stores (#117498)
  fix(ci): update canonical Kova performance pin (#117508)
  fix(system-agent): emit the wizard cancel hint once per message (#113731)
  refactor: dedupe secrets runtime snapshot fixtures (#117502)
  test(google): cover ready callback close precedence
  ...
vincentkoc added a commit that referenced this pull request Aug 1, 2026
* origin/main: (325 commits)
  fix(skills): preserve profile in ClawHub command hints (#117555)
  fix(cli): explain filtered plugin policy without unsafe recovery (#117556)
  fix(irc): strip markdown from outbound text (#112961)
  refactor(plugins): consolidate registry snapshots (#117561)
  fix(plugins): fail blocked enable commands (#117536)
  test(secrets): dedupe runtime state fixtures (#117563)
  feat(gateway): advertise chat attachment limits on hello-ok (#116188)
  fix(ui): preserve full graphemes in session owner initials (#117350)
  refactor(tui): consolidate runtime ownership (#117368)
  fix(update): return failure when dirty checkout blocks update (#117452)
  fix(auto-reply): apply mixed chat directives in one session transaction (#117542)
  refactor(ui): unify channel status and setup controls (#117499)
  fix(doctor): preserve surviving lint selections (#117543)
  fix(media): keep an unquoted MEDIA path with spaces as one media item (#112464)
  refactor(channels): consolidate lightweight plugin discovery (#117541)
  fix(imessage): prevent duplicate messages after delayed sends (#110853)
  refactor(memory): unify authoritative dreaming state and presentation (#117538)
  refactor(agents): consolidate main-session recovery ownership (#117383)
  fix(proxy-capture): make path-based session cleanup atomic (#98852)
  refactor(agents): consolidate compaction and context-engine ownership (#117482)
  ...

# Conflicts:
#	extensions/xai/realtime-voice-bridge.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main: (491 commits)
  feat(gateway): advertise chat attachment limits on hello-ok (openclaw#116188)
  fix(ui): preserve full graphemes in session owner initials (openclaw#117350)
  refactor(tui): consolidate runtime ownership (openclaw#117368)
  fix(update): return failure when dirty checkout blocks update (openclaw#117452)
  fix(auto-reply): apply mixed chat directives in one session transaction (openclaw#117542)
  refactor(ui): unify channel status and setup controls (openclaw#117499)
  fix(doctor): preserve surviving lint selections (openclaw#117543)
  fix(media): keep an unquoted MEDIA path with spaces as one media item (openclaw#112464)
  refactor(channels): consolidate lightweight plugin discovery (openclaw#117541)
  fix(imessage): prevent duplicate messages after delayed sends (openclaw#110853)
  refactor(memory): unify authoritative dreaming state and presentation (openclaw#117538)
  refactor(agents): consolidate main-session recovery ownership (openclaw#117383)
  fix(proxy-capture): make path-based session cleanup atomic (openclaw#98852)
  refactor(agents): consolidate compaction and context-engine ownership (openclaw#117482)
  fix(gateway): preserve Responses usage details (openclaw#117533)
  perf(gateway): skip empty session recovery stores (openclaw#117498)
  fix(ci): update canonical Kova performance pin (openclaw#117508)
  fix(system-agent): emit the wizard cancel hint once per message (openclaw#113731)
  refactor: dedupe secrets runtime snapshot fixtures (openclaw#117502)
  test(google): cover ready callback close precedence
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main: (325 commits)
  fix(skills): preserve profile in ClawHub command hints (openclaw#117555)
  fix(cli): explain filtered plugin policy without unsafe recovery (openclaw#117556)
  fix(irc): strip markdown from outbound text (openclaw#112961)
  refactor(plugins): consolidate registry snapshots (openclaw#117561)
  fix(plugins): fail blocked enable commands (openclaw#117536)
  test(secrets): dedupe runtime state fixtures (openclaw#117563)
  feat(gateway): advertise chat attachment limits on hello-ok (openclaw#116188)
  fix(ui): preserve full graphemes in session owner initials (openclaw#117350)
  refactor(tui): consolidate runtime ownership (openclaw#117368)
  fix(update): return failure when dirty checkout blocks update (openclaw#117452)
  fix(auto-reply): apply mixed chat directives in one session transaction (openclaw#117542)
  refactor(ui): unify channel status and setup controls (openclaw#117499)
  fix(doctor): preserve surviving lint selections (openclaw#117543)
  fix(media): keep an unquoted MEDIA path with spaces as one media item (openclaw#112464)
  refactor(channels): consolidate lightweight plugin discovery (openclaw#117541)
  fix(imessage): prevent duplicate messages after delayed sends (openclaw#110853)
  refactor(memory): unify authoritative dreaming state and presentation (openclaw#117538)
  refactor(agents): consolidate main-session recovery ownership (openclaw#117383)
  fix(proxy-capture): make path-based session cleanup atomic (openclaw#98852)
  refactor(agents): consolidate compaction and context-engine ownership (openclaw#117482)
  ...

# Conflicts:
#	extensions/xai/realtime-voice-bridge.ts
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 P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants