Skip to content

[FEATURE] (Mastracode) Add multiline and wrapping support for "Question" input box #15387

@Doddle-BE

Description

@Doddle-BE

Problem Statement

Currently, when entering a prompt in Mastracode, the "Question" input field only supports a single line of text. This makes it difficult to write structured or longer queries, since text quickly overflows and cannot wrap.

Problem:
When typing a multi-sentence question, the text becomes hidden beyond the viewable area. You have to scroll horizontally to see your full input, which is inconvenient and prone to input errors.

Proposed Solution

  • Enable text wrapping within the "Question" input box.
  • Allow multiline input (e.g., via expanding textarea or adjustable height).
  • Add keyboard shortcuts (Shift+Enter for new line) for usability.

Benefits:

Improves readability and makes it easier to structure complex prompts.
Enhances user experience for those writing longer or formatted questions.
Aligns with common UX patterns across chat-style and coding interfaces.

Environment:

Mastracode version: [0.13.0]
Tool: [Superset]
OS: [MacOS Tahoe 26.3.1]

Component

Tools

Alternatives Considered

No response

Example Use Case

As a developer, I have to answer different number of questions. But I only get one, way too small, line to put my answers in.

Additional Context

No response

Verification

  • I have searched the existing issues to make sure this is not a duplicate
  • I have provided sufficient context for the team to understand the request

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions