Skip to content

Name Session sidebar actions for their targets - #774

Draft
luokerenx4 wants to merge 1 commit into
devfrom
codex/name-session-row-actions
Draft

Name Session sidebar actions for their targets#774
luokerenx4 wants to merge 1 commit into
devfrom
codex/name-session-row-actions

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

What changed

  • include each Session's visible title in its pause, resume, and delete action names
  • fall back to the short Session name when no captured title exists
  • localize the contextual action labels in English, Simplified Chinese, Traditional Chinese, and Japanese
  • add focused and Manager-sidebar regression coverage for running and paused Sessions

Why

In a Workspace with multiple Sessions, every row exposed the same accessible action names: Stop this session, Resume this session, and Delete this session. The running Chinese demo reproduced the same ambiguity across several rows, so keyboard and screen-reader users could not tell which Session a lifecycle or destructive action would affect.

User impact

Session actions are now self-identifying, for example Stop Inspect the floor or 删除“Build a thesis on NVDA”, while the existing icons, layout, and behavior remain unchanged.

Validation

  • pnpm exec vitest run ui/src/components/workspace/Sidebar.spec.tsx
  • cd ui && npx tsc -b
  • npx tsc --noEmit
  • pnpm test (357 files passed, 1 skipped; 3389 tests passed, 9 skipped)
  • pnpm -F open-alice-ui build:demo
  • walked the real Chinese demo Chat sidebar and confirmed running and paused Session actions each expose the correct Session title

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jul 28, 2026 11:24pm

Request Review

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.

1 participant