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
Implement new release banner - Closes #2144 #2300
Conversation
}; | ||
|
||
FlashMessage.displayName = 'FlashMessage'; | ||
FlashMessage.Text = Text; | ||
FlashMessage.Button = Button; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 🏆
11879de
to
cf5a04e
Compare
bb1dc8b
to
b2d717c
Compare
b2d717c
to
981d1ea
Compare
981d1ea
to
8e29375
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 🐛 The release notes from Github can contain HTML that is escaped (see screenshot)
- 🐛 In the release notes, the first line is the title of the first section (usually "Fixed bugs" or "Implemented enhancements"), It should IMO show the second line. (see "body" in https://api.github.com/repos/LiskHQ/lisk-hub/releases)
- 🐛 "Read more" seems slightly vertically miss-aligned with the text.
- ❓ On the dark splash screen it looks a bit weird, maybe bottom border would help. Please check with design team.
Otherwise, it works well. I'm still going through the code...
I'm checking into it.
By what I discussed with @reyraa for future releases we are going to have the first line being a heading with the summary. But we can check other alternatives with him, if needed. This seems to be because the button has a Will check and update this comment with the conclusion. |
The first line with summary sounds good. Will there be some formatting, like bold or H1-6 @reyraa ? IMO it makes sense to have the summary somehow highlighted on Github as one of the most important parts. Can we already do it for the latest release? |
980b57e
to
818b4de
Compare
@massao I jazzed up this release note so you can test easily. |
For now I set the releaseSummary as being the first
Fixed the wrapping issue, but had to disable show/hide animations, as it was relying on a specific height. |
8d392a5
to
a50256c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Massao, good job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 👍
What issue have I solved?
#2144
How have I implemented/fixed it?
The release summary is fetched from the release note and consists of the content of the first html tag.
The following items will be done in a followup ticket #2317 .
How has this been tested?
Change version on package.json, build the application an run with electront o see that the banner shows up.
Review checklist