From d68b7c29e212a8df680d171806a4adcb08a20b3c Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 20 Feb 2019 12:20:39 +0000 Subject: [PATCH] Only show the first line of each commit in changelog dialog Multi-line commits aren't actually formatted correctly, and most likely the first line is enough of a summary anyway, so this change trims to the first line. The commits are linked, so you can click through if you want more detail. Fixes https://github.com/vector-im/riot-web/issues/8285 --- src/components/views/dialogs/ChangelogDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/ChangelogDialog.js b/src/components/views/dialogs/ChangelogDialog.js index 965029c0697..dac25123a61 100644 --- a/src/components/views/dialogs/ChangelogDialog.js +++ b/src/components/views/dialogs/ChangelogDialog.js @@ -51,7 +51,7 @@ export default class ChangelogDialog extends React.Component { return (
  • - {commit.commit.message} + {commit.commit.message.split('\n')[0]}
  • );