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

Introduce kludge to make "isEnabledForCluster" work again for kube object details PART 6 #5805

Conversation

jansav
Copy link
Contributor

@jansav jansav commented Jul 7, 2022

Part 6 of #5800

In this PR, we replace KubeObjectDetailsRegistry with new alternative which works properly with isEnabledForCluster.

Signed-off-by: Janne Savolainen janne.savolainen@live.fi

Closes #4632

@jansav jansav added the bug Something isn't working label Jul 7, 2022
@jansav jansav added this to the 5.6.0 milestone Jul 7, 2022
@jansav jansav requested a review from a team as a code owner July 7, 2022 10:05
@jansav jansav requested review from jakolehm and Nokel81 and removed request for a team July 7, 2022 10:05
@jansav jansav changed the title Kludge "isEnabledForCluster" work again for kube object details Kludge "isEnabledForCluster" work again for kube object details PART 6 Jul 7, 2022
@jansav jansav changed the title Kludge "isEnabledForCluster" work again for kube object details PART 6 Introduce kludge to make "isEnabledForCluster" work again for kube object details PART 6 Jul 7, 2022
import type React from "react";

export interface KubeObjectDetailItem {
Component: React.ElementType<KubeObjectDetailsProps<any>>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same comment as from a previous PR about KubeObject

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-5 branch from 7a2ab23 to d2eb445 Compare July 11, 2022 06:48
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from 8e9d5cb to c071fb1 Compare July 11, 2022 06:56
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-5 branch from d2eb445 to b747cce Compare July 11, 2022 07:00
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from c071fb1 to 591f8ed Compare July 11, 2022 07:00
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from 591f8ed to 9a90c19 Compare July 11, 2022 07:14
@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-5 branch from b747cce to e745ab0 Compare July 12, 2022 05:43
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from 9a90c19 to 944c4be Compare July 12, 2022 05:44
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-5 branch from e745ab0 to e458ded Compare July 12, 2022 05:49
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from 944c4be to 98560a3 Compare July 12, 2022 05:50
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-5 branch from e458ded to 3011d92 Compare July 12, 2022 06:36
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from 98560a3 to 830d183 Compare July 12, 2022 06:36
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
@jansav jansav force-pushed the fix/is-enabled-for-cluster-part-6 branch from 830d183 to 78a6e8d Compare July 12, 2022 06:37
@jim-docker jim-docker merged commit f9f3787 into fix/is-enabled-for-cluster-part-5 Jul 12, 2022
@jim-docker jim-docker deleted the fix/is-enabled-for-cluster-part-6 branch July 12, 2022 19:14
jim-docker pushed a commit that referenced this pull request Jul 12, 2022
…d overview details PART 5 (#5804)

* Kludge "isEnabledForCluster" work again for cluster page menus (sidebar items)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object status texts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object menu items

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for workload overview details

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object details (#5805)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
jansav added a commit that referenced this pull request Jul 13, 2022
… pages PART 1 (#5800)

* Kludge "isEnabledForCluster" work again for cluster pages

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce kludge to make "isEnabledForCluster" work again for cluster page menus  PART 2 (#5801)

* Kludge "isEnabledForCluster" work again for cluster page menus (sidebar items)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce kludge to make "isEnabledForCluster" work again for kube object status texts PART 3 (#5802)

* Kludge "isEnabledForCluster" work again for kube object status texts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object menu items (#5803)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Introduce kludge to make "isEnabledForCluster" work again for workload overview details PART 5 (#5804)

* Kludge "isEnabledForCluster" work again for cluster page menus (sidebar items)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object status texts

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object menu items

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for workload overview details

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>

* Kludge "isEnabledForCluster" work again for kube object details (#5805)

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants