Skip to content
Snippets Groups Projects

GitLab Chat: Add ability to change height of input

Merged Sascha Eggenberger requested to merge tanuki-bot-textarea-height into master
All threads resolved!

What does this MR do and why?

Adds the ability to resize the AI input field to being able to put larger questions in (e.g. code blocks).

  • Auto increases the height until 240px
  • Adds scrolling beyond 240px
  • Shift + Enter will add a new line
  • Enter will submit

Screenshots or screen recordings

Before After
Empty_before empty_after
Filled_before short-after
More_Text_before long_after
scroll_after

How to set up and validate locally

  1. Help > Ask GitLab Chat
  2. Enter a long question
  3. Verify input field

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sascha Eggenberger

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Denys Mishunov
  • Denys Mishunov
  • added 1 commit

    • c49fe7af - GitLab Chat: Add ability to increase height of text field

    Compare with previous version

  • added 1 commit

    • e9b1f1fe - GitLab Chat: Add ability to increase height of text field

    Compare with previous version

  • added 1 commit

    • d611ba9f - GitLab Chat: Add ability to increase height of text field

    Compare with previous version

  • Denys Mishunov approved this merge request

    approved this merge request

  • :wave: @dmishunov, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • added 1 commit

    • d4691b18 - GitLab Chat: Add ability to increase height of text field

    Compare with previous version

  • added 1 commit

    • d0c05c58 - GitLab Chat: Add ability to increase height of text field

    Compare with previous version

  • added 1 commit

    • e446468e - GitLab Chat: Add ability to increase height of text field

    Compare with previous version

  • Sascha Eggenberger changed the description

    changed the description

  • Annabel Dunstone Gray approved this merge request

    approved this merge request

  • removed review request for @annabeldunstone

  • @dmishunov can you set MWPS? :pray:

  • Denys Mishunov resolved all threads

    resolved all threads

  • Denys Mishunov enabled an automatic merge when the pipeline for 4de05a28 succeeds

    enabled an automatic merge when the pipeline for 4de05a28 succeeds

  • merged

  • Denys Mishunov mentioned in commit 04848534

    mentioned in commit 04848534

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading