Skip to content

Switch from input to button for starting a new diff discussion thread

Thomas Randolph requested to merge tor/maintenance/new-thread-button into master

What does this MR do and why?

For #30211 (closed)

Removes the "Start a new discussion..." text input (which expands to a full comment form when focuses) and replaces it with a button (that does the same action) that reads "Start another thread".

Screenshots or screen recordings

Before After
new-thread-before new-thread-after

How to set up and validate locally

  1. Go to an MR
  2. Ensure there is a comment on a diff line (you can leave a comment for this - not a draft)
  3. Note that the next line after the live comment is now a button instead of the text input

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 Thomas Randolph

Merge request reports