Frontend: Secrets: Added Toggle Switch to filter helm secrets#4412
Frontend: Secrets: Added Toggle Switch to filter helm secrets#4412illume merged 1 commit intokubernetes-sigs:mainfrom
Conversation
illume
left a comment
There was a problem hiding this comment.
Thanks for this.
Please check contributing docs for how we do commit messages? Also checks the development docs for the frontend section on how to first check your commit locally?
There was a problem hiding this comment.
Pull request overview
This PR adds a toggle switch to the Secrets list view that allows users to hide Helm secrets (secrets with type helm.sh/release.v1). The toggle is enabled by default, filtering out Helm secrets from the list view.
Changes:
- Modified
SecretList()component to include state management for the filter toggle - Added a FormControlLabel with Switch component in the header's titleSideActions
- Implemented filtering logic to exclude helm.sh/release.v1 secrets when toggle is enabled
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3315ab3 to
0d06fda
Compare
|
@illume I have created a single atomic commit following the format given in the docs, PR also passes all tests: Ready to merge :) |
|
@illume Please review this PR again as I have made the necessary changes. |
0d06fda to
33944dd
Compare
33944dd to
6d482c9
Compare
|
Sorry for so many pushes, |
|
@illume Can you Please Review this? 👾 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
illume
left a comment
There was a problem hiding this comment.
I think it’s a good idea to implement the suggestions mentioned in the comment the way you think is best. When that’s done we can get a few more perspectives on it.
(It seems like you have mostly consensus with the reviewer but one item left to find agreement on)
9cf1db0 to
a98891d
Compare
|
@illume I have made the changes suggested by copilot, PTAL |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
illume
left a comment
There was a problem hiding this comment.
Can you please check out some of the open review comments? It could be a couple of them are pointing out bugs.
a98891d to
832bd26
Compare
|
@illume I have made the changes suggested by copilot, can you please review this again? |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I think your implementation is quite good now. Can you please ask in the headlamp channel on the Kubernetes slack for feedback? |
832bd26 to
c14c00e
Compare
Sure! 👾 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: illume, kkrypt0nn, mudit06mah The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |

Summary
This PR adds a toggle switch to hide helm secrets
Related Issue
Fixes #4335
Changes
Changes
SecretList()component to include a toggle switch in the header to hide secrets of typehelm.sh/release.v1.(It is turned on by default)
Screenshots (if applicable)