Skip to content

feat: Allow typing in Discussion input during AI response#436

Merged
rjroy merged 2 commits intomainfrom
feat/allow-edit
Jan 31, 2026
Merged

feat: Allow typing in Discussion input during AI response#436
rjroy merged 2 commits intomainfrom
feat/allow-edit

Conversation

@rjroy
Copy link
Copy Markdown
Owner

@rjroy rjroy commented Jan 31, 2026

Summary

  • Enables draft mode while AI is responding so users can compose their next message
  • Input field shows visual indicator (accent-colored background) when in draft mode
  • Enter key adds newline instead of submitting to prevent premature sends
  • Placeholder changes to "Your thoughts take shape while the vault responds..."

Related: .lore/brainstorm/discussion-input-during-response.md

Test plan

  • Start a Discussion conversation and send a message
  • While AI is responding, verify the input is enabled and has accent background
  • Type in the input and press Enter - should add newline, not submit
  • After response completes, verify input returns to normal styling
  • Verify Enter now submits as expected

🤖 Generated with Claude Code

rjroy and others added 2 commits January 29, 2026 21:31
Explores trade-offs of allowing users to type while AI is streaming.
Key risks identified: premature submission, context mismatch, visual noise.
Backend already supports interrupt pattern, but UX complexity unclear.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Enables draft mode while AI is responding:
- Input no longer disabled during response streaming
- Visual indicator (accent background) shows draft mode active
- Enter key adds newline instead of submitting to prevent accidents
- Placeholder updates to match the mode

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rjroy rjroy merged commit f57134a into main Jan 31, 2026
2 checks passed
@rjroy rjroy deleted the feat/allow-edit branch January 31, 2026 00:57
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