-
Notifications
You must be signed in to change notification settings - Fork 71
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
Feature/1368 display changelog in workbench #1681
Feature/1368 display changelog in workbench #1681
Conversation
…es into a single commit
…play-changelog-in-workbench
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.
Thanks, @emilyanndavis , this works great! Looks like you got the puppeteer tests working. And there's probably something unrelated going on the the GHA Mac runners.
I have mostly minor comments; happy to discuss any of them.
}; | ||
document.querySelectorAll('.link-external').forEach(link => { | ||
link.addEventListener('click', openLinkInBrowser); | ||
}); |
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 looks like a great solution!
Description
Fixes #1368.
On first launch of a new version, the workbench will display a modal containing the relevant section of the changelog (i.e., only the items that are new in this version).
On the first launch (of any version) ever, the workbench will display the "download sample data" modal as usual. Then, only once the download modal has been closed, the changelog modal will open. Once the changelog modal has been closed, it will not open again.
Note this also supports multiple installed versions. That is, a user who is actively using multiple versions of the workbench will not see the changelog every time they close one version and open another.
Checklist
[ ] Updated the user's guide (if needed)Example
Note the changelog for 3.14.2 is rendered because 3.14.2 is the most recent version. Once a new version is released, the app will automatically render the relevant section of the changelog.