Skip to content

Implement click and drag (single action) multi-line comments

Justin Boyson requested to merge jdb/drag-select-comment-v2 into master

What does this MR do?

Adds the ability to "drag to select" which lines will be commented upon.

Related to: #280608 (closed)

Testing locally

To test this MR locally both unified_diff_components and drag_comment_selection must be enabled.

In a terminal window run rails console then:

Feature.enable(:unified_diff_components, Project.find_by_full_path("h5bp/html5-boilerplate"))
Feature.enable(:drag_comment_selection, Project.find_by_full_path("h5bp/html5-boilerplate"))

Substitute h5bp/html5-boilerplate with whatever project you will be testing on.

Screenshots (strongly suggested)

Screen_Recording_2020-12-11_at_4.41.49_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Justin Boyson

Merge request reports

Loading