Skip to content

fix(mobile-web): use one Claw icon for assistant entries and session history - #3691

Merged
bobleer merged 1 commit into
openBitFun:mainfrom
bobleer:bob/remote-claw-session-icon
Nov 2, 2026
Merged

bobleer merged 1 commit into
openBitFun:mainfrom
bobleer:bob/remote-claw-session-icon

Conversation

@bobleer

@bobleer bobleer commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remote mobile web now resolves every session icon through one mapping (sessionIconKind in workspaceIdentity.ts, rendered by the new components/SessionTypeIcon.tsx). Claw sessions and assistant workspaces both use the robot (Bot) icon in the assistant entry/launch panel, resume card, session history rows, and the compact sidebar (assistant workspace row and its Claw session rows). The previous Claw-only AppWindow icon is gone.

Fixes #2363

Type and Areas

Type: bug fix / UI consistency

Areas: mobile web

Motivation / Impact

Claw sessions looked like a different session type in history (generic window/card icon) than in the assistant entry (robot icon). Users now see the same Claw icon everywhere it is listed. Cowork and code session icons are unchanged. The active session header has no session-type icon, so nothing changes there.

isCoworkAgent moved next to isClawAgent in workspaceIdentity.ts so the mapping has one owner.

Verification

  • pnpm --dir src/mobile-web run test:workspace-identity - 37 pass, including a new test for sessionIconKind and a source contract that SessionListPage no longer carries its own icon mapping.
  • pnpm --dir src/mobile-web run test:ui-components - 18 pass.
  • pnpm --dir src/mobile-web run type-check - pass.
  • pnpm run i18n:audit - pass (no copy changes).
  • No styling/token changes, so the theme color audit was not run. Not visually checked against a live host.

Remote scenarios: the change is purely client-side rendering in mobile web (Remote control). No protocol, persisted shape, or host change; works with older hosts because it only reads agent_type and workspace_kind.

Reviewer Notes

The native HarmonyOS client has no Claw-specific session icon, so it is out of scope.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

…history

Claw sessions rendered a generic AppWindow icon in the launch panel,
resume card and history rows while the assistant workspace row used the
Bot icon. Route every session icon through a shared sessionIconKind
mapping and SessionTypeIcon component so Claw sessions and assistant
entries both use the Bot icon, including Claw rows in the compact sidebar.

Fixes openBitFun#2363
@bobleer
bobleer merged commit 3631e47 into openBitFun:main Nov 2, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Remote] Claw sessions use an inconsistent icon in session history

1 participant