Jacques Erasmus activity https://gitlab.com/jerasmus 2026-03-17T17:28:22Z tag:gitlab.com,2026-03-17:5212382404 Jacques Erasmus pushed to project branch master at GitLab.org / GitLab 2026-03-17T11:34:02Z jerasmus Jacques Erasmus

Jacques Erasmus (1df6e77e) at 17 Mar 11:34

Merge branch 'slashmanov/rapid-diffs-line-change-code' into 'master'

... and 1 more commit

tag:gitlab.com,2026-03-17:5212379604 Jacques Erasmus deleted project branch slashmanov/rapid-diffs-line-change-code at GitLab.org / GitLab 2026-03-17T11:33:25Z jerasmus Jacques Erasmus

Jacques Erasmus (b17fa004) at 17 Mar 11:33

tag:gitlab.com,2026-03-17:5212376829 Jacques Erasmus accepted merge request !227603: Add lineChange and lineCode to line discussions adapter at GitLab.org / GitLab 2026-03-17T11:32:45Z jerasmus Jacques Erasmus

What does this MR do?

DiffDiscussionRow now emits a start-thread event instead of calling the store directly. The adapter handles the event and resolves lineChange, lineCode, and lineRange from the DOM before passing them to addNewLineDiscussionForm, which stores them on the form object.

Why?

lineChange and lineCode is used in the legacy notes to create new notes. This data can only be resolved from the DOM at the moment the user opens a thread. The adapter has access to the DOM row; the Vue component and store do not.

Followed by: !226177

tag:gitlab.com,2026-03-17:5212048408 Jacques Erasmus commented on merge request !227584 at GitLab.org / GitLab 2026-03-17T10:22:10Z jerasmus Jacques Erasmus

@slashmanov you're right!

It's getting hard to distinguish between rapid and non-rapid diffs these days 🙈

tag:gitlab.com,2026-03-17:5212005224 Jacques Erasmus commented on merge request !227603 at GitLab.org / GitLab 2026-03-17T10:13:03Z jerasmus Jacques Erasmus

Thanks @slashmanov! The changes LGTM 👍

tag:gitlab.com,2026-03-17:5212004158 Jacques Erasmus approved merge request !227603: Add lineChange and lineCode to line discussions adapter at GitLab.org / GitLab 2026-03-17T10:12:49Z jerasmus Jacques Erasmus

What does this MR do?

DiffDiscussionRow now emits a start-thread event instead of calling the store directly. The adapter handles the event and resolves lineChange, lineCode, and lineRange from the DOM before passing them to addNewLineDiscussionForm, which stores them on the form object.

Why?

lineChange and lineCode is used in the legacy notes to create new notes. This data can only be resolved from the DOM at the moment the user opens a thread. The adapter has access to the DOM row; the Vue component and store do not.

Followed by: !226177

tag:gitlab.com,2026-03-17:5211881587 Jacques Erasmus deleted project branch slashmanov/rapid-diffs-new-discussion-toggle at GitLab.org / GitLab 2026-03-17T09:48:03Z jerasmus Jacques Erasmus

Jacques Erasmus (4bbe7d47) at 17 Mar 09:48