Skip to content

Decreased the max line length limit - #4542

Merged
shiftkey merged 1 commit into
desktop:masterfrom
sagaragarwal94:patch-1
May 28, 2018
Merged

shiftkey merged 1 commit into
desktop:masterfrom
sagaragarwal94:patch-1

Conversation

@sagaragarwal94

@sagaragarwal94 sagaragarwal94 commented Apr 27, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #3740

@iAmWillShepherd

iAmWillShepherd commented May 1, 2018 •

Copy link
Copy Markdown
Contributor

Thanks for your contribution! 🥇

@sagaragarwal94, would you mind posting screenshots or GIFs of the test cases detailed in this comment?

Also, for your issue body, can you replace References with Fixes? We do this so that issues can be automatically closed once the PR is merged.

Once those items are done, someone on @desktop/core will mark this PR as ready-for-review.

@shiftkey shiftkey self-assigned this May 24, 2018
@shiftkey

Copy link
Copy Markdown
Member

Given this was a minor change a bit tricky to demonstrate, I ran through these test scenarios to verify the limit is being enforced:

A long line in a diff, but below this limit, is rendered fine:

screen shot 2018-05-26 at 3 39 41 pm

A long line in a diff over this limit does trip the warning:

But then you can click Show Diff and see the contents of the diff:

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 26, 2018
@shiftkey

Copy link
Copy Markdown
Member

Thanks for the contribution @sagaragarwal94!

@shiftkey
shiftkey merged commit 1ab02b0 into desktop:master May 28, 2018
@bdvis

bdvis commented May 29, 2018

Copy link
Copy Markdown

Amazing 🎉 thank you @sagaragarwal94! This has been driving me crazy!

@lock lock Bot locked as resolved and limited conversation to collaborators Jul 28, 2018
@desktop desktop unlocked this conversation Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants