spacedriveapp / spacedriveapp/spacebot

Chat input: configurable Enter behavior + auto-expanding textarea

Open
#599 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Configurable submit behavior. Add a user setting to control how Enter and Option+Enter work:

    • Mode A (current): Enter submits, Shift/Option+Enter inserts newline
    • Mode B: Enter inserts newline, Option+Enter (or Cmd+Enter) submits

    Useful for users who frequently send multi-line messages and accidentally submit early.

  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.