Skip to content
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-10369 implement websockets notifications for checks #477

Open
wants to merge 708 commits into
base: main
Choose a base branch
from

Conversation

filipmikes1
Copy link

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

tiagomotasantos and others added 30 commits February 10, 2022 11:47
* PMM-7528 Don't show db cluster list error

* PMM-7528 Disable DBCluster tab when no cluster is available
* PMM-8127 Request DB clusters when even if operator is unsupported

* PMM-8127 Refactor operator status
* PMM-8135: uncomment backup feature

* PMM-8135 remove disabled attrib from backup toggle

Co-authored-by: Nicola Lamacchia <[email protected]>
* PMM-8115 Trigger table loading on db cluster delete

* PMM-8115 Refactor useDBClusters return type

Co-authored-by: Nicola Lamacchia <[email protected]>
Co-authored-by: Nicola Lamacchia <[email protected]>
* PMM-8143 add force fields to DeleteModal

* PMM-8143 add force checkbox using Form

* PMM-8143 add tests related do force checkbox

* PMM-8143 use DeleteModal on DBaaS

* PMM-8143 use DeleteModal on Agent list

* PMM-8143 fix test on StorageLocations

* PMM-8143 add data-qa attribs to buttons

* PMM-8143 change confirm button text on Agents

* Revert "PMM-8143 use DeleteModal on DBaaS"

This reverts commit 2d7dccf.

* Revert "PMM-8143 use DeleteModal on Agent list"

This reverts commit cb80f1e.

* PMM-8143 remove outdated TODO
* PMM-8153 add noService prop

* PMM-8153 add "no service" error

* PMM-8153 add data-qa to error line

* PMM-8153 add tests to RestoreBackupModal
* PMM-8009 Add maxLength validator

* PMM-8009 Add name length validation in sign up

* PMM-8009 Fix test name wording
* SAAS-554 make target for launching PMM, docker-compose.yml with dev-latest, UI tests workflow

* SAAS-554 fixes for workflow

* SAAS-554 change organization for pmm-ui-tests

* SAAS-554 use cache fix

* SAAS-554 attaching articacts

* SAAS-554 tesing with @grafana-pr tag

* SAAS-554 timeout for the workflow and other tweaks

* SAAS-554 fix startup

* SAAS-554 checkout non main tests branch if exists

* SAAS-554 added mysql into docker-compose.yml, removed unused ports, using npm script for starting tests

* SAAS-554 Update comment in Makefile

Co-authored-by: Alex Tymchuk <[email protected]>

* SAAS-554 using martix strategy for a workflow

Co-authored-by: Nicola Lamacchia <[email protected]>
Co-authored-by: Alex Tymchuk <[email protected]>
* PMM-6627 trim input fields

* PMM-6627 fix email validator

* PMM-6627 update tests
* PMM-7828 Selects database type for installed operator

* PMM-7828 Removed unused import
…iting for BE) (#156)

* PMM-7639: add force checkbox

* PMM-7639 add checkbox test to modal

* PMM-7639 fix StorageLocations test

* PMM-7639 move "Force" label to messages file

* PMM-7639 use showForce from DeleteModal

Co-authored-by: Nicola Lamacchia <[email protected]>
* PMM-7659 Add external access to DB cluster

* PMM-7659 Use dataQa
* PMM-7649 Show unauthorized messaged in FeatureLoader

* PMM-7649 FeatureLoader tests

* PMM-7649 Change unauthorized message

* PMM-7649 Use getMount

* PMM-7649 Add instance, inventory and settings

* PMM-7649 Remove admin required from backups

* PMM-7649 Remove unused pmm admin
Co-authored-by: Tiago Mota Santos <[email protected]>
Co-authored-by: JiriCtvrtka <[email protected]>
* PMM-7809 Fix yarn cache

* PMM-7809 Temp clear yarn cache
filipmikes1 and others added 8 commits July 29, 2022 10:08
@filipmikes1 filipmikes1 requested a review from fabio-silva August 5, 2022 13:53
fabio-silva and others added 3 commits August 5, 2022 15:08
* PMM-10368 change warning for dbaas

* PMM-10368 add warning to platform connection

* PMM-10368 fix loading status for dbcluster

* PMM-10368 fix test for Connect

* PMM-10368 add types to file

* PMM-10368 fix tests

* PMM-10368 fix flows

* PMM-10368 fix test

* PMM-10368 fix plural for dbCluster

* PMM-10368 add custom useShowPMMAddressWarning

* PMM-10368 fix tests

* PMM-10368 add missing provider to test

* PMM-10368 add missing Router to tests
* PMM-10327-promote-portal-k8s-cluster-creation: message added

* PMM-10327-promote-portal-k8s-cluster-creation: fix link

Co-authored-by: Fábio Silva <[email protected]>
@fabio-silva fabio-silva marked this pull request as ready for review August 8, 2022 09:28
}

if (
Severity[value.severity] === Severity.SEVERITY_ALERT ||
Copy link

@fabio-silva fabio-silva Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use a switch instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

description: string;
severity: keyof typeof Severity;
labels: {
additionalProp1: string;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are just examples, we probably want labels: {[key: string]: string | number}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm I already changed it but didn't push it for some reason...corrected

@filipmikes1 filipmikes1 requested a review from fabio-silva August 8, 2022 11:17
@filipmikes1 filipmikes1 requested a review from fabio-silva August 8, 2022 12:47
fabio-silva
fabio-silva previously approved these changes Aug 8, 2022
solovevayaroslavna and others added 4 commits August 9, 2022 12:32
…468)

* PMM-10182-One-Button-Database-Deployment: add defaultValues to form

* PMM-10182-One-Button-Database-Deployment: fix tests

* PMM-10182-One-Button-Database-Deployment: fix database type initial options

* PMM-10182-One-Button-Database-Deployment: remove extra comments

* PMM-10182-One-Button-Database-Deployment: return old yarn lock

* PMM-10182-One-Button-Database-Deployment: fix tests

* PMM-10182-One-Button-Database-Deployment: code review fix
* PMM-10119: Implement displaying datapoint summaries

* Update public/app/percona/settings/Settings.messages.ts

Co-authored-by: Fábio Silva <[email protected]>

* PMM-10119: Create separate component TelemetryTooltip

* PMM-10119: Refactor LinkTooltip component

* PMM-10119: Update style for list with summaries

* PMM-10119: Rename property

* PMM-10119: Make tooltip with summaries of datapoints scrollable

Co-authored-by: Fábio Silva <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.