RocketChat / RocketChat/fuselage

Larger Multiline Input Elements

Open
#765 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
162
Forks
258
Avg merge
2d 23h
Merged PRs (30d)
24

Description

Problem

Available Component

  • The Fuselage UI Kit offers Rocket.Chat App Developers a MultilineInput Element to take user input inside a multiline input box.
  • This component works well with small user inputs but it becomes inconvenient for larger user input cases. Example : 1) Adding a code snippet as input as seen below. 2) Taking Journal Entries as input in a potential RC Journal App

https://user-images.githubusercontent.com/70485812/178166149-7a567e28-8e7e-437e-9318-c538498e5926.mp4

Describe the behavior of New Component

  • Adding a new MediumMultilineInput Component and a LargeMultilineInput Component.
  • The Existing MultilineInput Component will be used as a SmallMultilineInputComponent

Insert an image

  • Medium Multiline Input Component

    • Modal
      image

    • Banner
      image

  • Medium Multiline Input Component

    • Modal
      image

    • Banner
      image

Contributor guide

No contributing guide indexed for this repository

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 with packages/fuselage-ui-kit/src/elements/PlainTextInputElement.tsx and review the linked discussion for the proposed input sizes and contexts. Compare the existing MultilineInput behavior with the requested medium and large variants. Done means the new components support the described modal and banner use cases while the existing component remains available as the small variant.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.