Page MenuHomePhabricator

Determine treatment for empty lines in diffs
Closed, InvalidPublic

Description

Background

In T197729 it was identified that the current treatment for empty lines is suboptimal in cases where an empty line addition or removal precedes or concludes a moved paragraph. A couple of solutions already suggested:

  • allow the marker to span the entire length of the line
  • place the moved paragraph arrow outside of the diff to make the separation between added/subtracted empty lines and moved paragraphs clearer

Acceptance criteria

TBC

Developer notes

As https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MobileFrontend/+/444756/ shows, we can make these new lines full width. We can also remove the background color altogether or use 2 different colors.

There is also an opportunity in T90948 to rethink colors here.

We also talked about moving arrows outside the diff area (see https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MobileFrontend/+/444755/)

Related Objects

StatusSubtypeAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
OpenBUG REPORTNone
OpenNone
StalledNone
OpenFeatureNone
DuplicateNone
ResolvedNone
OpenNone
OpenNone
OpenFeatureNone
OpenNone
ResolvedNone
ResolvedNone
OpenFeatureNone
OpenNone
ResolvedHalfak
OpenNone
OpenNone
OpenFeatureNone
StalledNone
OpenNone
OpenNone
OpenNone
ResolvedPetrb
OpenNone
OpenNone
Resolvedtstarling
OpenNone
DeclinedNone
ResolvedBUG REPORTJdlrobson
ResolvedNone
InvalidNone
Resolved jkroll

Event Timeline

Restricted Application changed the subtype of this task from "Deadline" to "Task". · View Herald TranscriptAug 22 2018, 1:37 PM
Aklapper added a subscriber: alexhollender_WMF.

Removing task assignee due to inactivity, as this open task has been assigned to the same person for more than two years (see the emails sent to the task assignee on Oct27 and Nov23). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome.
(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)

Jdlrobson added a subscriber: Edtadros.
Jdlrobson subscribed.

The mobile diff code has been removed.