Skip to content

Expose chat title editing in dashboard (codex) - #2439

Merged
numnx merged 1 commit into
feature/CODUX-151-menu-selects-chat-session-titlefrom
task/feature-codux-151-menu-selects-chat-session-titl-t02-codex-mr9yvs3t
Jul 7, 2026
Merged

Expose chat title editing in dashboard (codex)#2439
numnx merged 1 commit into
feature/CODUX-151-menu-selects-chat-session-titlefrom
task/feature-codux-151-menu-selects-chat-session-titl-t02-codex-mr9yvs3t

Conversation

@numnx

@numnx numnx commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Expose chat title editing in dashboard

Automated task PR opened by Code UX for T02.

📋 Summary

Sprint: Sprint 151 · Menu Selects & Chat Session Title · Task: T02

Add chat session title generation/editing, constrain header selector menus while removing the All Sprints option, and add a Jira importer Hide in Work checkbox with tests and documentation.

📝 Full Task Prompt
## Objective
Let dashboard users rename a chat session from the chat UI while keeping the thread rail and active thread header synchronized with the backend title contract from T01.

## Scope
- `dashboard/src/v2/lib/connection-api.ts`
- `dashboard/src/v2/ChatPage.tsx`
- `dashboard/src/v2/components/chat/ChatThreadHeader.tsx`
- `dashboard/src/v2/components/chat/ThreadListCard.tsx`
- `dashboard/src/v2/components/chat/__tests__/ChatPage.accessibility.test.tsx`
- Any focused existing chat component test files under `dashboard/src/v2/components/chat/__tests__/`
- Consumes T01 contract: `PATCH /api/conversations/threads/:threadId` accepts `{ title: string }` and returns the updated `ChatThread`.

## Implementation Requirements
1. Update `updateConversationThread` usage/types so dashboard code can send a title patch without losing existing route/runtime-state behavior.
2. Add an accessible inline rename control to `ChatThreadHeader.tsx` using the existing visual language, with explicit save/cancel controls, Escape cancel, Enter save, pending state, and error display.
3. Update `ChatPage.tsx` state handling so a successful rename updates the active thread and cached thread list without forcing a full loading replacement.
4. Ensure `ThreadListCard.tsx` renders the updated title and handles long titles with stable truncation/wrapping that does not resize the rail unpredictably.
5. Add or update dashboard tests covering keyboard rename, empty-title rejection, successful API call, and thread rail/header synchronization.

## Constraints
- Do not implement title generation in the frontend; consume the backend title returned on thread records.
- Do not break thread deletion, route selection, compaction, cancellation, or invocation tab behavior.
- Preserve keyboard access and visible focus states for rename controls.
- Do not add new external UI libraries.

## Verification
- `pnpm run test:dashboard -- dashboard/src/v2/components/chat/__tests__/ChatPage.accessibility.test.tsx`
- Run any new focused chat component test file directly with `pnpm run test:dashboard -- <test path>`.
- `pnpm run typecheck:dashboard`
- Success means users can rename a thread by keyboard and pointer, invalid empty titles are blocked, and returned titles are reflected in both header and rail.

✅ QA Review

⏳ QA review runs after this PR is opened. Check the task card in the dashboard for the outcome once it lands.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.5

⏱️ Timing

Started 2026-07-07 01:25:17 UTC
Finished 2026-07-07 01:36:30 UTC
Duration 11m 13s

📊 Token Usage

Metric Value
Input tokens 241,124
Cached input tokens 5,408,768
Output tokens 17,820
Total tokens 5,667,712
Invocations 1
Tool calls 92
Active time 10m 43s

Included usage estimate (subscription/local login): $4.44

🌿 Branch Info

Base: feature/CODUX-151-menu-selects-chat-session-title
Head: task/feature-codux-151-menu-selects-chat-session-titl-t02-codex-mr9yvs3t


🤖 Generated by Code UX

@numnx
numnx merged commit 91a7a18 into feature/CODUX-151-menu-selects-chat-session-title Jul 7, 2026
6 checks passed
@numnx
numnx deleted the task/feature-codux-151-menu-selects-chat-session-titl-t02-codex-mr9yvs3t branch July 7, 2026 01:39
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