You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Left-over from #5786, since we decided not to treat this as blocker.
kubeObjectHandlers is way too complicated API for the job that it is doing, so better alternative is to simplify the API.
We should refactor remove and edit menu items to be as any other kubeObjectMenuItem. After that we can just introduce enabled computed for those which utilizes currentKubeObject and checks whether it is removable or editable. By doing that extension have a way to remove them by making kubeObject it introduced non removable or editable.
The text was updated successfully, but these errors were encountered:
Left-over from #5786, since we decided not to treat this as blocker.
kubeObjectHandlers
is way too complicated API for the job that it is doing, so better alternative is to simplify the API.We should refactor
remove
andedit
menu items to be as any otherkubeObjectMenuItem
. After that we can just introduceenabled
computed for those which utilizescurrentKubeObject
and checks whether it isremovable
oreditable
. By doing that extension have a way to remove them by makingkubeObject
it introduced nonremovable
oreditable
.The text was updated successfully, but these errors were encountered: