Bug #17630

All tooltips disappeared when deselects any option from selected items

Added by Kavita Gaikwad 10 months ago. Updated 10 months ago.

Status:Closed
Priority:Normal
Assigned To:Kavita Gaikwad
Category:Web Interface
Target version:Team Anurag Iteration 7
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4101
Story points-
Velocity based estimate-
Release1.14.1Release relationshipAuto

Description

All tooltips disappeared when deselects any option from selected items.

Steps to reproduce:

1. There is organization "default Organization" which is assigned to user "Bob" and one host is associated with it.
2. Create one more organization. for example - "Test Org"
3. Go to edit page of user "Bob". We can see that "default organization" is disabled with tooltip - "This is used by Host" under Organization Tab.
Check attachment [step1-edit-user-page.png]
4. Select "Test Org" under Organization Tab
5. See tooltip is still present on "default organization" hover. Attachment [step2-select-org-TestOrg.png]
6. De-select the "Test Org" from selected items. Attachment [step3-deselect-org-TestOrg.png]

Actual result -
All tooltips associated with disabled selected items are gone and CSS of those items are also changed.

Expected result -

All tooltips of disabled selected items should be remain as it is.

step2-select-org-TestOrg.png (43.1 KB) Preview Kavita Gaikwad, 12/12/2016 04:00 AM

step1-edit-user-page.png (41.3 KB) Preview Kavita Gaikwad, 12/12/2016 04:00 AM

step3-deselect-org-TestOrg.png (40.1 KB) Preview Kavita Gaikwad, 12/12/2016 04:00 AM

Step2-select-org-testorg Step1-edit-user-page Step3-deselect-org-testorg

Associated revisions

Revision edfc2271
Added by Kavita Gaikwad 10 months ago

fixes #17630 - show tooltips after deselecting selected item

For example,
User who must be the owner of that host, is having
an organization which is assigned to the same host
then on edit page, you will see tooltip on that organization
hover saying "This is used by host".
When you will select any other Organization and de-select it
again, on de-selection of item all existing tooltips
are disappeared.

Revision b97df7f4
Added by Kavita Gaikwad 9 months ago

fixes #17630 - show tooltips after deselecting selected item

For example,
User who must be the owner of that host, is having
an organization which is assigned to the same host
then on edit page, you will see tooltip on that organization
hover saying "This is used by host".
When you will select any other Organization and de-select it
again, on de-selection of item all existing tooltips
are disappeared.
(cherry picked from commit edfc22717af19f2e6f1f4da561fe09b432121060)

History

#1 Updated by Kavita Gaikwad 10 months ago

  • Category set to Web Interface

#2 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4101 added

#3 Updated by Kavita Gaikwad 10 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal 10 months ago

  • Release set to 1.14.1

Also available in: Atom PDF