delete operation in network topology should show a confirm dialog

Bug #1242251 reported by Akihiro Motoki
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Vladislav Kuzmin

Bug Description

When we click a delete operation in network topology, the corresponding delete operation is issued immediately.
Delete operation cannot be undone, so it is better to show a confirm dialog instead.
It brings us better consistency with delete operations in various tables.

Akihiro Motoki (amotoki)
tags: added: topology-view
Julie Pichon (jpichon)
Changed in horizon:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Babitha (babitha31) wrote :

The templates of Network topology is SVG based.When we mouseover a particular instance or router,a balloon type object pops up.When we click on Terminate Instance,it is not getting redirected to any particular link or whatever to perform the deletion of VM as in Instances table,so no pop up of confirmation for deletion arises.
This occurs because of the logic in the respective JS file.i.e..,if the task is 'deleting',it posts the message to respective call and it terminates the instance and deletes the balloon object even.

Changed in horizon:
assignee: nobody → Victoria Martínez de la Cruz (vkmc)
Revision history for this message
Facundo Farias (facundo-farias) wrote :

Agreed with the previous comment, but instead of doing the post directly, we can create an small popup showing a confirmation dialog, and if it is Okay it should fire the 'same event' let's say. Is this bug work in progress?

Revision history for this message
Akihiro Motoki (amotoki) wrote :

I agree with the comment above. IMO any type of confirmation will work.

We don't see any progress over a month. We can switch the assignee if someone would like to work on it.

Revision history for this message
Facundo Farias (facundo-farias) wrote :

I can do it. Do we know which is the milestone for this bug?

Changed in horizon:
assignee: Victoria Martínez de la Cruz (vkmc) → nobody
Revision history for this message
Victoria Martinez de la Cruz (vkmc) wrote :

I was trying to reuse the confirmation dialog we use across Horizon in order to keep the consistency and avoid code duplication. Unfortunately, I don't have enough time to finish it. Looking forward to see it fixed :)

Changed in horizon:
assignee: nobody → Facundo Farias (facundo-farias)
Revision history for this message
Rajani Srivastava (srivastava-rajani) wrote :

Hi Faris

Are you working on this bug ?
 I would like to work on this.

Revision history for this message
Julie Pichon (jpichon) wrote :

Hi Rajani,

It's been a long time, feel free to take on this bug! Thank you.

Changed in horizon:
assignee: Facundo Farias (facundo-farias) → tcs_openstack_group (tcs-openstack-group)
Changed in horizon:
assignee: tcs_openstack_group (tcs-openstack-group) → Swati Shukla (swati-shukla1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/128873

Changed in horizon:
status: Triaged → In Progress
Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Swati, the bug status is considered 'Fix Committed' as soon as the related change request in review.openstack.org is merged. Until then, it's still 'In Progress'.

Changed in horizon:
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/131979

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Swati Shukla (<email address hidden>) on branch: master
Review: https://review.openstack.org/128873
Reason: Due to system breakdown, I am abandoning this change. I have created a new branch and submitted a fresh patch on https://review.openstack.org/131979. Please review the same.

Revision history for this message
Swati Sharma (swati-shukla1) wrote :

Initial Branch https://review.openstack.org/128873 is restored and Patch 4 uploaded on the same.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Swati Shukla (<email address hidden>) on branch: master
Review: https://review.openstack.org/131979
Reason: Started working on https://review.openstack.org/#/c/128873/ again, so abandoning this change.
Thanks.

Changed in horizon:
assignee: Swati Sharma (swati-shukla1) → qiaomin032 (chen-qiaomin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by David Lyle (<email address hidden>) on branch: master
Review: https://review.openstack.org/128873
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/220766

Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: qiaomin032 (chen-qiaomin) → nobody
status: In Progress → Confirmed
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Removing assignee due to 6 months period of inactivity.

Changed in horizon:
assignee: nobody → Sayali Lunkad (sayalilunkad)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/290574

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by David Lyle (<email address hidden>) on branch: master
Review: https://review.openstack.org/220766
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by David Lyle (<email address hidden>) on branch: master
Review: https://review.openstack.org/290574
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in horizon:
assignee: Sayali Lunkad (sayalilunkad) → qiaomin032 (chen-qiaomin)
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Removed assignee due to inactivity

Changed in horizon:
importance: Medium → High
milestone: none → newton-rc1
assignee: qiaomin032 (chen-qiaomin) → nobody
status: In Progress → Confirmed
Changed in horizon:
assignee: nobody → Swati Sharma (swati-shukla1)
srikanth (k1039485)
Changed in horizon:
assignee: Swati Sharma (swati-shukla1) → srikanth (k1039485)
Changed in horizon:
milestone: newton-rc1 → next
siva (r.siva)
Changed in horizon:
assignee: srikanth (k1039485) → siva (r.siva)
anusha (anusha)
Changed in horizon:
assignee: siva (r.siva) → nobody
anusha (anusha)
Changed in horizon:
assignee: nobody → anusha (anusha)
anusha (anusha)
Changed in horizon:
assignee: anusha (anusha) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Rob Cresswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/220766
Reason: Due to inactivity and merge conflict

Changed in horizon:
assignee: nobody → Vladislav Kuzmin (vkuzmin-u)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/128873
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=698dbe322bb81421af3203779b456ca3940f1e7b
Submitter: Jenkins
Branch: master

commit 698dbe322bb81421af3203779b456ca3940f1e7b
Author: swati <email address hidden>
Date: Mon Feb 23 15:45:35 2015 +0530

    Confirm Dialog for Delete operation in Network Topology

    When we click a delete button in network topology, the corresponding
    delete operation is issued immediately. Now, a confirm dialog is
    displayed first to confirm the user's action and then the item gets
    deleted accordingly. It brings better consistency with delete
    operations of other tables.

    Change-Id: I1312364c75cea17f228eb298daacb141bf1bfdde
    Co-Authored-By: Vladislav Kuzmin <email address hidden>
    Co-Authored-By: Swati Sharma <email address hidden>
    Co-Authored-By: Allen <chen.qiaomin@99cloud.net>
    Closes-Bug: #1242251

Changed in horizon:
status: In Progress → Fix Released
Ying Zuo (yingzuo)
Changed in horizon:
milestone: next → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b3

This issue was fixed in the openstack/horizon 12.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.