Project

General

Profile

Actions

Bug #6019

open

Return to same bootstrap tab when redirected from VM deletion

Added by Dominic Cleal almost 10 years ago. Updated over 5 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
VM management
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1102661
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)

Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Category set to VM management
Actions #2

Updated by Joseph Magen almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Joseph Magen
  • Target version set to 1.8.1
Actions #3

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #4

Updated by Anonymous almost 10 years ago

  • Target version changed from 1.8.1 to 1.8.0
Actions #5

Updated by Anonymous over 9 years ago

  • Target version changed from 1.8.0 to 1.7.5
Actions #6

Updated by Anonymous over 9 years ago

  • Target version changed from 1.7.5 to 1.7.4
Actions #7

Updated by Anonymous over 9 years ago

  • Target version changed from 1.7.4 to 1.7.3
Actions #8

Updated by Dominic Cleal over 9 years ago

  • Target version changed from 1.7.3 to 1.7.2
Actions #9

Updated by Joseph Magen over 9 years ago

  • Status changed from Ready For Testing to Assigned
  • Target version deleted (1.7.2)

Re-open https://github.com/theforeman/foreman/pull/1514 when this issue is re-addressed

Actions #10

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.7.2
  • Pull request https://github.com/theforeman/foreman/pull/1514 added
  • Pull request deleted ()
Actions #11

Updated by Tomer Brisker over 5 years ago

  • Target version deleted (1.7.2)
Actions

Also available in: Atom PDF