Skip to content

Add inline thread renaming with persisted draft titles#137

Merged
BunsDev merged 4 commits into
mainfrom
okcode/thread-rename-header
Apr 1, 2026
Merged

Add inline thread renaming with persisted draft titles#137
BunsDev merged 4 commits into
mainfrom
okcode/thread-rename-header

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 1, 2026

Summary

  • Add inline thread renaming in the chat header and sidebar using a shared EditableThreadTitle component.
  • Persist custom draft thread titles in the composer draft store so local draft threads keep renamed titles across context updates and reloads.
  • Prevent auto-titling from overwriting manually renamed threads, while still preserving the existing default title fallback.
  • Add coverage for draft title persistence, rename behavior, and inline editing interactions.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • bun run test
  • Not run: manual browser verification of rename interactions in the chat header and sidebar

- Reuse a shared title editor in the header and sidebar
- Persist custom draft thread titles separately from branch context
- Normalize empty titles to the default "New thread"
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 1, 2026 3:15am

@github-actions github-actions Bot added size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 1, 2026
…header

# Conflicts:
#	bun.lock
#	package.json
…header

# Conflicts:
#	bun.lock
#	package.json
- Accept text file attachments alongside images
- Persist and forward attachment content to providers
- Update composer state and UI to handle generic attachments
@BunsDev BunsDev merged commit 927ebf8 into main Apr 1, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant