-
Notifications
You must be signed in to change notification settings - Fork 4
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
PMM-12912 Add indicator for updates #723
PMM-12912 Add indicator for updates #723
Conversation
|
||
export const UpdatesService = { | ||
getCurrentVersion: (body: CheckUpdatesBody = { force: false }) => | ||
api.post<CheckUpdatesResponse, CheckUpdatesBody>('/v1/Updates/Check', body, true), |
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 will impact the "API breaking changes" , https://github.com/percona/pmm/blob/PMM-12913-migrate-api-endpoints-to-restful/api/MIGRATION_TO_V3.md?plain=1
POST /v1/updates/Check was replaced by GET /v1/server/updates
Depending on what branch will be merged first, we need to make changes. To keep that in mind.
* PMM-12912 Add indicator for updates * PMM-12912 Update MegaMenuItem * PMM-12912 Update pmm updates url * PMM-12912 Replace badge with dot * PMM-12912 Show dot based on the update availability * PMM-12912 Adjust dot * PMM-12912 update betterrer * PMM-12912 Fix dot styling * PMM-12912 Reorder comments * PMM-12912 Update api response
What this PR does / why we need it:
Adds an indicator to the Settings and Updates menu items when an update is available.
Which issue(s) this PR fixes:
PMM-12912
FB: Percona-Lab/pmm-submodules#3602
Screenshots: