Skip to content
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

Bug 2132721: Add missing texts to Delete dialogs #926

Merged
merged 1 commit into from
Oct 30, 2022

Conversation

hstastna
Copy link

📝 Description

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2132721

Add missing "?" or some more text to the following dialogs:

  • Delete VM
  • Detach VM disk
  • Delete VM NIC
  • Delete VM template
  • Delete VM template disk
  • Delete VM Template NIC
  • Delete VirtualMachineSnapshot
  • Delete MigrationPolicy
  • Edit Boot source reference
  • Delete NIC dialog while customizing VM
  • Delete VM Snapshot from the Snapshots card in the Overview tab

Also delete unnecessary words in some of the related kebab menus for consistency reasons.

🎥 Screenshots (not all the changes included)

Before:
Delete VirtualMachine dialog:
vm_before
Delete template NIC dialog:
template_nic_before
VM Snapshot kebab menu:
snap_before1
Delete MigrationPolicy:
migr_before
Edit Boot source reference:
bsr_before
After:
vm_after
template_nic_after
snap_after1
migr_after
bsr_after

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 24, 2022

@hstastna: This pull request references Bugzilla bug 2132721, which is invalid:

  • expected the bug to target the "4.12.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 2132721: Add missing texts to Delete dialogs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hstastna
Copy link
Author

/bugzilla refresh

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 24, 2022

@hstastna: This pull request references Bugzilla bug 2132721, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.12.0) matches configured target release for branch (4.12.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @lkladnit

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 24, 2022

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: lkladnit.

Note that only kubevirt-ui members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@hstastna: This pull request references Bugzilla bug 2132721, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.12.0) matches configured target release for branch (4.12.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @lkladnit

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hstastna hstastna force-pushed the BZ_Delete_dialogs branch 3 times, most recently from 5a80a16 to 86d5906 Compare October 24, 2022 13:00
@hstastna
Copy link
Author

@avivtur @metalice @pcbailey @yzamir @vojtechszocs please review

</Alert>
</Alert>
</Trans>
<Popover
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a benefit to using a ref for the Popover instead of wrapping the button with it?

Copy link
Author

@hstastna hstastna Oct 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Wrapping the button with it - as it was originally here, didn't work to display the popover correctly.
It's because you simply cannot put there anything as a child for the PF Popover component - causes improper functionality or not displaying the child at all (as it was in our case).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hstastna I think we can do it without ref. If we need a ref it feels like the usage of the popover is missing something.. please check

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Popover component seems to not working 100% correctly. This seems to be related to Patternfly and changes of their components we use. And any other component around could influence that the original solution stopped working, not only Popover..
IMO fixing this can take some time, so I'd suggest to better go for the actual proposed and working solution, until we find some better way. IMO using ref is nothing bad here, just a different way that could be used.

@hstastna hstastna force-pushed the BZ_Delete_dialogs branch 2 times, most recently from 68b28e4 to 9faf95b Compare October 25, 2022 14:20
@hstastna hstastna requested review from metalice and pcbailey and removed request for upalatucci, avivtur and metalice October 25, 2022 14:31
@hstastna hstastna force-pushed the BZ_Delete_dialogs branch 2 times, most recently from 47bec05 to 2c0c91c Compare October 26, 2022 12:20
Add missing "?" or some more text in the following dialogs:

- Delete VM
- Detach VM disk
- Delete VM NIC
- Delete VM template
- Delete VM template disk
- Delete VM Template NIC
- Delete VirtualMachineSnapshot
- Delete MigrationPolicy
- Edit Boot source reference
- Delete NIC dialog while customizing VM
- Delete VM Snapshot from the Snapshots card in the Overview tab

Also delete unnecessary words in some of the related kebab menus
for consistency reasons.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2132721
@pcbailey
Copy link
Member

/lgtm

1 similar comment
@pcbailey
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Oct 30, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 30, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hstastna, pcbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Oct 30, 2022
@openshift-merge-robot openshift-merge-robot merged commit 53e3548 into kubevirt-ui:main Oct 30, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 30, 2022

@hstastna: All pull requests linked via external trackers have merged:

Bugzilla bug 2132721 has been moved to the MODIFIED state.

In response to this:

Bug 2132721: Add missing texts to Delete dialogs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This issue is something we want to fix bugzilla/severity-medium bugzilla/valid-bug lgtm Passed code review, ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants