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

Add Cluster Management page #47899

Merged
merged 25 commits into from
Nov 12, 2024
Merged

Add Cluster Management page #47899

merged 25 commits into from
Nov 12, 2024

Conversation

mcbattirola
Copy link
Contributor

@mcbattirola mcbattirola commented Oct 24, 2024

This PR adds a new page to manage clusters, which can be accessed through Manage Clusters > Options > Manage Cluster.

In the OSS version, this page only includes the cluster information. An enterprise PR will use this page and add additional information and inputs.

Note that this duplicates the information on the Help & Support page. In a future PR, I'll remove this info from the Help page and this will be the only instance of it.

I won't backport this until this page is finished, so having the information duplicated is fine for now. Once this information is removed from the help page, I'll also move the components to the cluster package.

Teleport.e PR: https://github.com/gravitational/teleport.e/pull/5231

I've exported the components to maximize how much we reuse between the OSS and Enterprise pages.

Designs: https://www.figma.com/design/v6GunK50D2VC7w7I2FBDNf/Access-(Management)?node-id=5532-138294&node-type=canvas&t=k857W5rJzig0zILk-0

Screenshots

Screenshot 2024-10-24 at 11 06 34

Screenshot 2024-10-24 at 11 15 14

Screenshot 2024-10-24 at 11 14 59

changelog: Added Cluster Management page

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47899.d212ksyjt6y4yg.amplifyapp.com

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47899.d3pp5qlev8mo18.amplifyapp.com

@mcbattirola mcbattirola marked this pull request as ready for review October 30, 2024 18:26
@mcbattirola mcbattirola force-pushed the mcbattirola/cluster-management branch from a25a7f0 to f77c193 Compare October 30, 2024 18:29
lib/web/apiserver.go Outdated Show resolved Hide resolved
lib/web/apiserver.go Outdated Show resolved Hide resolved
lib/web/apiserver.go Outdated Show resolved Hide resolved
lib/web/apiserver.go Outdated Show resolved Hide resolved
@mcbattirola mcbattirola requested a review from kimlisa November 8, 2024 19:13
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from kimlisa November 12, 2024 12:06
@mcbattirola mcbattirola added this pull request to the merge queue Nov 12, 2024
Merged via the queue into master with commit 9fa063b Nov 12, 2024
44 checks passed
@mcbattirola mcbattirola deleted the mcbattirola/cluster-management branch November 12, 2024 14:16
mcbattirola added a commit that referenced this pull request Dec 13, 2024
* (wip) manage clusters page

* Route for non-root cluster

* Minor adjustments

* Missing license header

* UI improvements

* Add `isCloud` to cluster info

* Initial loading state

* Storybook, tests

* Lint fix, godoc, etc

* Unexport getClusterInfo response

* rename `c` to clusterDetails

* Inline `IsCloud`

* Import order and useAsync

* Remove unnecessary godoc

* Apply suggestions from code review: add blank line

Co-authored-by: Sakshyam Shah <[email protected]>

* address code review comments: import order, JS docs

* Use msw for testing

* Assert error message before asserting that the version is not shown

---------

Co-authored-by: Sakshyam Shah <[email protected]>
mcbattirola added a commit that referenced this pull request Dec 13, 2024
* (wip) manage clusters page

* Route for non-root cluster

* Minor adjustments

* Missing license header

* UI improvements

* Add `isCloud` to cluster info

* Initial loading state

* Storybook, tests

* Lint fix, godoc, etc

* Unexport getClusterInfo response

* rename `c` to clusterDetails

* Inline `IsCloud`

* Import order and useAsync

* Remove unnecessary godoc

* Apply suggestions from code review: add blank line

Co-authored-by: Sakshyam Shah <[email protected]>

* address code review comments: import order, JS docs

* Use msw for testing

* Assert error message before asserting that the version is not shown

---------

Co-authored-by: Sakshyam Shah <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 20, 2024
* (wip) manage clusters page

* Route for non-root cluster

* Minor adjustments

* Missing license header

* UI improvements

* Add `isCloud` to cluster info

* Initial loading state

* Storybook, tests

* Lint fix, godoc, etc

* Unexport getClusterInfo response

* rename `c` to clusterDetails

* Inline `IsCloud`

* Import order and useAsync

* Remove unnecessary godoc

* Apply suggestions from code review: add blank line



* address code review comments: import order, JS docs

* Use msw for testing

* Assert error message before asserting that the version is not shown

---------

Co-authored-by: Sakshyam Shah <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 20, 2024
* Add Cluster Management page (#47899)

* (wip) manage clusters page

* Route for non-root cluster

* Minor adjustments

* Missing license header

* UI improvements

* Add `isCloud` to cluster info

* Initial loading state

* Storybook, tests

* Lint fix, godoc, etc

* Unexport getClusterInfo response

* rename `c` to clusterDetails

* Inline `IsCloud`

* Import order and useAsync

* Remove unnecessary godoc

* Apply suggestions from code review: add blank line

Co-authored-by: Sakshyam Shah <[email protected]>

* address code review comments: import order, JS docs

* Use msw for testing

* Assert error message before asserting that the version is not shown

---------

Co-authored-by: Sakshyam Shah <[email protected]>

* adapt to v16

---------

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

Successfully merging this pull request may close these issues.

3 participants