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

Fix incorrect title while displaying Datastore details page #4529

Conversation

hstastna
Copy link
Contributor

@hstastna hstastna commented Aug 23, 2018

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

There is a small bug related to Datastores: incorrect title is displayed while displaying Datastore details page: unnecessary 'Names with.. ' and/or 'Filtered by..' is added to the title (right cell text), if any filtering (basic or advanced search) was applied on the list of datastores, before displaying datastore's details page.

Steps to reproduce:

  1. Go to Compute > Infra > Datastores (you need some Datastores here!)
  2. Search for some text using basic search and/or apply some filter
    (click on some filter in accordion or use Advanced Search)
  3. Click on some datastore to display its details page

Before:
incorrect_title_datastore

After:
datastore_title_expect


Note:
The fix was inspired by service controller https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/controllers/service_controller.rb#L307 and https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/controllers/service_controller.rb#L332 which works well.

@hstastna
Copy link
Contributor Author

@miq-bot add_label bug, gaprindashvili/yes

@hstastna hstastna force-pushed the Incorrect_title_displaying_Datastore_details branch from 217ad32 to e16b86b Compare August 23, 2018 14:25
@hstastna hstastna changed the title Fix incorrect title while displaying Datastore details page [WIP] Fix incorrect title while displaying Datastore details page Aug 23, 2018
@miq-bot miq-bot added the wip label Aug 23, 2018
@hstastna hstastna force-pushed the Incorrect_title_displaying_Datastore_details branch 5 times, most recently from a316d17 to 102f475 Compare August 27, 2018 20:52
@hstastna hstastna changed the title [WIP] Fix incorrect title while displaying Datastore details page Fix incorrect title while displaying Datastore details page Aug 27, 2018
@miq-bot miq-bot removed the wip label Aug 27, 2018
@hstastna hstastna changed the title Fix incorrect title while displaying Datastore details page [WIP] Fix incorrect title while displaying Datastore details page Aug 28, 2018
@miq-bot miq-bot added the wip label Aug 28, 2018
@hstastna hstastna force-pushed the Incorrect_title_displaying_Datastore_details branch from da6a365 to 244916e Compare August 28, 2018 11:47
@hstastna hstastna changed the title [WIP] Fix incorrect title while displaying Datastore details page Fix incorrect title while displaying Datastore details page Aug 28, 2018
@miq-bot miq-bot removed the wip label Aug 28, 2018
@hstastna hstastna changed the title Fix incorrect title while displaying Datastore details page [WIP] Fix incorrect title while displaying Datastore details page Aug 28, 2018
@miq-bot miq-bot added the wip label Aug 28, 2018
@hstastna hstastna force-pushed the Incorrect_title_displaying_Datastore_details branch from 244916e to d0138c0 Compare August 28, 2018 14:04
@miq-bot
Copy link
Member

miq-bot commented Aug 28, 2018

Checked commits hstastna/manageiq-ui-classic@82d1469~...ef055df with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@hstastna hstastna changed the title [WIP] Fix incorrect title while displaying Datastore details page Fix incorrect title while displaying Datastore details page Aug 28, 2018
@miq-bot miq-bot removed the wip label Aug 28, 2018
@h-kataria h-kataria self-assigned this Aug 28, 2018
@h-kataria
Copy link
Contributor

@h-kataria h-kataria added this to the Sprint 94 Ending Sept 10, 2018 milestone Aug 28, 2018
@h-kataria h-kataria merged commit 0664fa8 into ManageIQ:master Aug 28, 2018
@martinpovolny
Copy link

@h-kataria : @mzazrivec is working on it. We are consulting the best approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants