summaryrefslogtreecommitdiff
path: root/app/presenters/blobs
Commit message (Collapse)AuthorAgeFilesLines
* Fix suggestion on lines that are not part of an MR57953-fix-unfolded-diff-suggestionsPatrick Bajao2019-07-221-9/+21
| | | | | | | | | | Return the `text` as plain string in the response instead of including HTML tags but keep `rich_text` as is. The fix is to modify `Blob::UnfoldPresenter#diff_files` to map each raw diff line (limited by the range specified) to a corresponding line in an array of highlighted lines to use as `rich_text`.
* Move diff_line preparation into presenterMark Chao2019-03-071-0/+31
| | | | Update spec
* Add full option for blob diff actionMark Chao2019-03-061-0/+44
Returns all diff lines for frontend if full is true. Turn UnfoldForm into presenter, and move controller logic to presenter.