-
Notifications
You must be signed in to change notification settings - Fork 11
Improve VM Status #115
Improve VM Status #115
Conversation
This a good chance to merge State and Phase columns imo. |
Good point. Assuming the new state mapping works correctly, we can remove the |
Cc @lizsurette , @andybraren |
Agreed - I'm not quite sure what "Phase" refers to, but it seems close enough to State that they could be merged. Let me know if you think there should be any other statuses in addition to Running, Off, Error, Cloning, and Warning shown in #77. |
The |
I splitted the |
@mareklibra Ah, I can see why the two categories are different. That makes sense. Since users (hopefully) aren't always going to have many VMs with errors, I think having one "Error" filter that includes "VM Error" and "Pod Error" text variants in the Status column could make sense. How does the below look to you? |
just wondering, what happens with long vm names? (or any other long text attribute) |
@ohadlevy I don’t have an easily shareable link to an example at the moment, but the intent is for a “...” ellipsis achieved in CSS using Each table value should probably also include a |
ack, foreman project wrote this https://github.com/amirfefer/react-ellipsis-with-tooltip npm package which i believe is what you had in mind. |
Thanks for these hints, I can open a pull request to openshift/console project to do that generically. In the meantime: #119 |
@andybraren , I had to reduce the count of filters to just following:
The last one groups all the remaining statuses like migration, import or error. The It would be quite complicated to allow filtering on all specific values since we would need to analyse related objects to determine the status. And these objects are not available for the filter, just the Enhancing this core OKD feature is possible but pretty complex. I even can't say if maintainers will be happy with this change. Please let me know if you are ok with that. |
VM Status is newly more fine-grained and is rendered with an icon. Error states are enriched for links to appropriate 'events' page.
To get `Migrating` status.
required web-ui-components changes released within v0.1.9 (#121) |
@mareklibra The other filters would be useful but I understand that we should avoid the technical complexity, especially if they would make the maintainers unhappy. Glad the new Status improvements are merged. 👍 |
VM Status is newly more fine-grained and is rendered with an icon.
Error states are farther enriched for
Fixes: #77
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1649826
Requires:
kubevirt/web-ui-components#108