-
Notifications
You must be signed in to change notification settings - Fork 712
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
Remove kubernetes_id column from the grid view. #1774
Conversation
Wouldnt it make more sense not to include the field in the backend report in the first place? |
Not sure, ids can often be handy though. I'll have a quick look. |
I think you are right and I started to completely remove the ID (namespace/resource_name) ... but then I realized we are also using them for the ranks. I could keep IDs internally just for the ranks but I think it would be fine to simply provide the namespace instead (nodes with the same namespace seem to be getting the same color anyways). @davkal Can you check if this change would be acceptable? |
Let's please not make #783 worse. See also #1567 (comment) |
You can keep the ID, we simply dont need the field |
That's what I am asking, it seems we are only using the three first letters of the rank anyways.
I know I can keep it, but it would be nice to completely remove it if it doesn't make a difference (if it makes a difference then I can simply reconstruct the ID with the namespace and the name in the app without needing to move the ID value around). From a quick look at the JS code from @paulbellamy it seems that it doesn't but I would like to get a confirmation. |
Right now we are, but that must change. |
Fair enough, then I will simply generate the exact same ranks in the app (concatenating the namespace and name), without requiring to pass the derivate ID from probe to app. |
A change here should not affect rank values, whatever it's used for. This PR should only result in the |
agreed. ditch |
I already removed it, but the ID was only carried internally between probe and app (so it shouldn't impact the UI) |
b3f2b34
to
166bdf1
Compare
I reverted the change in the UI and stopped reporting the ID from the probe. |
LGTM |
Redundant info
Fixes #1759