headlamp icon indicating copy to clipboard operation
headlamp copied to clipboard

frontend: Include LimitRange and ResourceQuota on Namespace Details

Open farodin91 opened this issue 1 year ago • 9 comments

based on #1611

From workflow perspective, it could be interesting to see ResourceQuotas and LimitRanges per Namespace. As they are mainly for all stuff inside the namespace.

What does anyone think?

image

farodin91 avatar Dec 18 '23 17:12 farodin91

@farodin91 Sorry I clicked the Ready for Review button by mistake. Let me know if this is actually ready to be reviewed so I take a look. I agree that having the ResourceQuotas and LimitRanges is good (and I think it's what kubectl does too, rigth?).

joaquimrocha avatar Jan 08 '24 10:01 joaquimrocha

It depends on https://github.com/headlamp-k8s/headlamp/pull/1611.

farodin91 avatar Jan 08 '24 10:01 farodin91

@joaquimrocha This is now rebased.

farodin91 avatar Jan 11 '24 15:01 farodin91

@joaquimrocha This is now rebased.

I will try to take a look tomorrow. Thanks.

joaquimrocha avatar Jan 16 '24 18:01 joaquimrocha

@joaquimrocha Any feedback?

farodin91 avatar Feb 01 '24 17:02 farodin91

@joaquimrocha Any feedback?

Sorry. Completely dropped the ball on this one.

I had checked the code and it looked fine. I have tested now which is what I still had to do, and the only problem is that the table search filter is not designed to happen multiple times in one view. So the result is that if we use the search filter, it changes the state for all the tables in that view: screenshot showing the issue

We should fix the filter by allowing individual searches per table, instead of the global redux-based one.

joaquimrocha avatar Feb 01 '24 18:02 joaquimrocha

@joaquimrocha Should we fix this in different PR?

farodin91 avatar Feb 07 '24 10:02 farodin91

@joaquimrocha Should we fix this in different PR?

To be honest, the UX looks pretty broken with it. So if we merge, we wouldn't be able to release like this. We could however merge if we hide the search filter all along (because then we get a missing feature, rather than a broken one 😉 ).

joaquimrocha avatar Feb 07 '24 11:02 joaquimrocha

Search will be hidden on this page for now.

farodin91 avatar Feb 14 '24 19:02 farodin91

Hey @farodin91 . Sorry it took me a bit to get to review the update. Can you rebase the branch so I can try it again?

joaquimrocha avatar Feb 28 '24 11:02 joaquimrocha

I tried the changes locally and they LGTM. Please rebase and we will merge it.

joaquimrocha avatar Feb 28 '24 14:02 joaquimrocha

@joaquimrocha Updated.

farodin91 avatar Feb 29 '24 08:02 farodin91