Add word-diff option to commits view

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

When working with markdown (or any type of prose/text in general), the "classic" git-diff (intended for code) is of limited use.

Proposal

With the logic changes introduced in #16950 (closed) and after Gitaly merges support for word-diff (gitaly!3086 (merged)), we should add a user control to enable word-diff mode.

image

Commenting while on word-diff mode

MVC will not contain the ability to comment while on word-diff mode. This will be addressed in #330179

Prerequisites

  1. Word-diff parser - !55105 (merged)
  2. Word-diff support on gitaly side - #324805 (closed)

Further info

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖