Skip to content

Desktop: Truncate update changelog when it's too long (#1222) #1967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

silentmatt
Copy link
Contributor

@silentmatt silentmatt commented Oct 9, 2019

The changelog text is truncated if it's longer than 1000 characters,
but avoids cutting off a partial line, unless that would lead to cutting
off too much of the text. An ellipsis is added to mark the truncation.

Additionally, when the changelong is truncated, it adds a "Full Release Notes"
button that opens the GitHub release page in a browser window.

The changelong text is truncated if it's longer than 1000 characters,
but avoids cutting off a partial line, unless that would lead to cutting
off too much of the text. An ellipsis is added to mark the truncation.

Additionally, when the changelong is truncated, it adds a "Full Release Notes"
button that opens the GitHub release page in a browser window.
@laurent22
Copy link
Owner

Looks good. Did you manage to test this and confirm it works?

@laurent22 laurent22 merged commit 348c4ad into laurent22:master Oct 11, 2019
@silentmatt
Copy link
Contributor Author

Whoops, I just saw your comment. It's already merged now anyway but yes, I tested it by forcing it to look at the version mentioned in the issue.

@silentmatt silentmatt deleted the truncate-changelog branch October 12, 2019 21:10
scoroi pushed a commit to scoroi/joplin that referenced this pull request Nov 10, 2019
… too long (laurent22#1967)

The changelong text is truncated if it's longer than 1000 characters,
but avoids cutting off a partial line, unless that would lead to cutting
off too much of the text. An ellipsis is added to mark the truncation.

Additionally, when the changelong is truncated, it adds a "Full Release Notes"
button that opens the GitHub release page in a browser window.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants