spacedriveapp / spacedriveapp/spacebot
Chat input: configurable Enter behavior + auto-expanding textarea
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.4k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
Two related improvements to the chat input box:
-
Configurable submit behavior. Add a user setting to control how
EnterandOption+Enterwork:- Mode A (current):
Entersubmits,Shift/Option+Enterinserts newline - Mode B:
Enterinserts newline,Option+Enter(orCmd+Enter) submits
Useful for users who frequently send multi-line messages and accidentally submit early.
- Mode A (current):
-
Auto-expanding input box. As the user types or adds newlines, the textarea should grow vertically (up to some max height, then scroll internally) instead of staying a fixed single line.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the chat input box and its existing keyboard handling in the repository. Trace where user settings are defined and persisted, then determine how the input currently handles newlines and submission. Done means both Enter modes are configurable and the textarea expands while retaining an internal scroll limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100