Bug 1102661 - [RFE] Return to same bootstrap tab when redirected from VM deletion
Summary: [RFE] Return to same bootstrap tab when redirected from VM deletion
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: jmagen@redhat.com
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 12:07 UTC by Martin Korbel
Modified: 2017-08-31 17:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-31 17:28:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6019 0 None None None 2016-04-22 15:13:03 UTC

Description Martin Korbel 2014-05-29 12:07:18 UTC
Description of problem:
I have thought about simple and usable feature (one JS command) "opening relevant tab depending on URL anchor".
This feature will be able to open  (bootstrap) tab after loading page. Anchor will be taken from URL.


This is the JS code:

$('a[href="'+window.location.hash+'"]').tab('show');


Reason:
In some situations, we want to execute some action in one of tabs and a WebUI redirects us to new page, there are only content of previous tab.

Nice example: 
When we want delete VM. 
1. Open "Compute Resource" > some resource (in my case EC2) > "Virtual Machines". 
2. We can see list of machines for this resource. 
3. We open detail one of them and click on the button "Delete" (right side of page)
4. We are redirect to page, where is only list of VMs (mising bar of tabs).
   We are redirect to https://<fqdn>/compute_resources/1-ec2-resource/vms.

I think that a better way would be to redirect users back to the resource detail and open tab with the list there. (something as https://<fqdn>/compute_resources/1-ec2-resource#vms)

Comment 1 RHEL Program Management 2014-05-29 12:27:15 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-06-02 16:33:19 UTC
I believe the gist of this BZ is for the context to be preserved during a redirect, in this case, from the VM deletion on the compute resource page, which contains a number of tabs.

Comment 4 Dominic Cleal 2014-06-02 16:33:38 UTC
Created redmine issue http://projects.theforeman.org/issues/6019 from this bug

Comment 5 Martin Korbel 2014-06-03 09:39:54 UTC
Same problem:

Compute Resource (in my case EC2) > create a Image

Comment 6 Martin Korbel 2014-06-06 10:06:01 UTC
Same problem:

Compute Resource (in my case RHEV) > open a existing image and press "Cancel"

Comment 7 jmagen@redhat.com 2014-06-16 06:19:09 UTC
Fixed returns to Virtual Machines or Images tab after create/update/delete

https://github.com/theforeman/foreman/pull/1514

Comment 8 Bryan Kearney 2015-08-25 17:23:38 UTC
Upstream bug component is Compute Resources

Comment 9 Bryan Kearney 2015-08-25 17:56:52 UTC
Upstream bug component is Provisioning

Comment 10 Bryan Kearney 2015-08-25 17:58:26 UTC
Upstream bug component is Compute Resources

Comment 11 Bryan Kearney 2017-08-31 17:28:09 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


Note You need to log in before you can comment on or make changes to this bug.