-
Notifications
You must be signed in to change notification settings - Fork 296
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
chore: add release notes to dashboard page - renderer #9190
chore: add release notes to dashboard page - renderer #9190
Conversation
Signed-off-by: Sonia Sandler <[email protected]>
Signed-off-by: Sonia Sandler <[email protected]>
Signed-off-by: Sonia Sandler <[email protected]>
f2e9d93
to
f4aebf5
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.
Noted a few nits to clean up, but thanks for the improvements to this in previous PRs.
} | ||
async function getInfoFromNotes() { | ||
let getNotes = await window.podmanDesktopGetReleaseNotes(); | ||
notesAvailable = getNotes.releaseNotesAvailable; |
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.
This makes it seem like the getNotes.releaseNotesAvailable is fairly redundant, you can just use (getNotes.notes != undefined). Not critical now but maybe we can remove it later.
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.
I'll change it here and open a separate PR for the main part of it
Signed-off-by: Sonia Sandler <[email protected]>
Signed-off-by: Sonia Sandler <[email protected]>
Signed-off-by: Sonia Sandler <[email protected]>
Signed-off-by: Sonia Sandler <[email protected]>
Signed-off-by: Sonia Sandler [email protected]
What does this PR do?
As part of the dashboard revamp, this PR adds the release notes to the dashboard page. This PR follows #8753, and uses the changes that have been made in the backend side to show the release notes on the dashboard page
update
button shows up when an update is availablelearn more
button sends the user to the full release notes onpodman-desktop.io
(or GitHub ifpodman-desktop.io
is unavilable )Screenshot / video of UI
If update is unavailable:
Notes are unavailable, but GitHub summary is available:
Notes are unavailable also on GitHub:
What issues does this PR fix or reference?
Related to #8521
How to test this PR?
Open the dashboard page and check if the release notes are visible