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

fix(ui): Group Nodes breaks Kinds counts / views #21337

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

surajyadav1108
Copy link
Contributor

Fixes #16039, #13577

In addition to the kind filter problem in group view there was also issue if someone tries to filter name of pods

Previously

the filter graph would look through the tree graph and check for predicate for every node and in case of grouping the individual child nodes(pods) were removed and replaced with podGroup making them unaccessible to the filter similarly for name and counts

before :

before-fix-for-group.mp4

after :

Grouping-filter-fixed.mp4

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

Signed-off-by: Surajyadav <[email protected]>
@surajyadav1108 surajyadav1108 requested a review from a team as a code owner December 31, 2024 10:14
Copy link

bunnyshell bot commented Dec 31, 2024

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Surajyadav <[email protected]>
Copy link
Contributor

@andrii-korotkov-verkada andrii-korotkov-verkada left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks for fixing this.

@surajyadav1108
Copy link
Contributor Author

surajyadav1108 commented Jan 2, 2025

@andrii-korotkov-verkada @jsoref, I have submitted a membership request. Could you sponsor me? That would help draw attention to it.

Copy link
Member

@nitishfy nitishfy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jsoref
Copy link
Member

jsoref commented Jan 2, 2025

I can't, I don't think I'm a member (oddly).

@surajyadav1108
Copy link
Contributor Author

I can't, I don't think I'm a member (oddly).

oh ok then 👍

Copy link
Member

@ishitasequeira ishitasequeira left a comment

Choose a reason for hiding this comment

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

LGTM!!

@ishitasequeira ishitasequeira merged commit 1ce0123 into argoproj:master Jan 16, 2025
28 checks passed
dudo pushed a commit to dudo/argo-cd that referenced this pull request Jan 18, 2025
* groupview-filter-fix

Signed-off-by: Surajyadav <[email protected]>

* count-logic-change

Signed-off-by: Surajyadav <[email protected]>

* lint-fixes

Signed-off-by: Surajyadav <[email protected]>

---------

Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: Brett C. Dudo <[email protected]>
revitalbarletz pushed a commit to revitalbarletz/argo-cd that referenced this pull request Jan 20, 2025
* groupview-filter-fix

Signed-off-by: Surajyadav <[email protected]>

* count-logic-change

Signed-off-by: Surajyadav <[email protected]>

* lint-fixes

Signed-off-by: Surajyadav <[email protected]>

---------

Signed-off-by: Surajyadav <[email protected]>
flbla pushed a commit to flbla/argo-cd that referenced this pull request Jan 20, 2025
* groupview-filter-fix

Signed-off-by: Surajyadav <[email protected]>

* count-logic-change

Signed-off-by: Surajyadav <[email protected]>

* lint-fixes

Signed-off-by: Surajyadav <[email protected]>

---------

Signed-off-by: Surajyadav <[email protected]>
Signed-off-by: flbla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Group Nodes breaks Kinds counts / views
5 participants