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

Convert Tenants details page to textual summary and add Relationships with Services, Automate Domain and Providers #5675

Merged
merged 11 commits into from
Sep 18, 2019

Conversation

hstastna
Copy link

@hstastna hstastna commented Jun 5, 2019

RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1678124
Details about some changes: #6060
Tracking issue: ManageIQ/manageiq#18734

Depends on: (all merged)
ManageIQ/manageiq#18733
ManageIQ/manageiq#18735
ManageIQ/manageiq-automation_engine#318
ManageIQ/react-ui-components#129
ManageIQ/manageiq#19071

This PR includes converting Tenants details page to textual summary page. We need this to be able easily to add Relationships table with related Services, Automate Domain and Providers info. This PR also adds this.

Where:
Configuration ☸️ > Access Control accordion > Tenants

TODO:

  • convert an existing Tenants details page to textual summary
  • make Parent, Child Tenants, Groups under Properties clickable (if there are any)
  • edit existing TagGroup component to make items clickable: Edit TagGroup component to support onClick and displaying titles react-ui-components#129
  • solve the background/lines of the items in the table - for Child Tenants, Groups
  • add Relationships with related Service Catalog Items, Automate Domain and Providers info (number of items) and make them clickable
  • add yamls, list views for displaying Catalog Items and Bundles, Automate Domains, Providers
    • display GTL, with pagination, accordion (only list view is enough to be displayed
  • fix breadcrumbs
  • specs
  • when clicking on some Group in textual summary of a Tenant, the Group should be highlighted in accordion

Notes:
We can find Automate Domains under Automation -> Automate -> Explorer.
Making Automate Domains and Providers in nested lists clickable will be done via following up PR.


After:
Displaying also Child Tenants of an actual Tenant in Properties table (and no Groups present):
tenant_summ
Displaying Catalog Items from Relationships table:
nested_cat_items

@hstastna
Copy link
Author

hstastna commented Jun 5, 2019

@miq-bot add_label changelog/yes, hammer/no

@hstastna hstastna force-pushed the Tenant_summary_relationships branch 8 times, most recently from 3fac152 to f83f71f Compare June 11, 2019 13:25
@hstastna hstastna changed the title [WIP] Convert Tenants details page to textual summary [WIP] Convert Tenants details page to textual summary and add Relationships with Services, Automate Domain and Providers Jun 11, 2019
@hstastna hstastna force-pushed the Tenant_summary_relationships branch 6 times, most recently from cd32f78 to a123a4b Compare June 14, 2019 11:31
@hstastna hstastna force-pushed the Tenant_summary_relationships branch 3 times, most recently from 4a4eed6 to fd7149a Compare July 1, 2019 16:20
@hstastna hstastna force-pushed the Tenant_summary_relationships branch 7 times, most recently from 96fd535 to b62218a Compare July 4, 2019 09:07
@romanblanco
Copy link
Member

romanblanco commented Sep 12, 2019

Which button do you mean? The toolbar?

Policy button in the toolbar on the page showing Providers related to the Tenant

Actually, probably the whole toolbar should be hidden. As the Configuration also has button only related to the Tenant.

@hstastna
Copy link
Author

And what about Configuration button? I think that both buttons should be there or none of them.

@hstastna hstastna force-pushed the Tenant_summary_relationships branch from 7fe755b to 708fba0 Compare September 12, 2019 09:12
@romanblanco
Copy link
Member

And what about Configuration button? I think that both buttons should be there or none of them.

Yeah, none of them.

@hstastna hstastna force-pushed the Tenant_summary_relationships branch 3 times, most recently from f6ad2a2 to 415d7ca Compare September 17, 2019 08:43
Hilda Stastna and others added 10 commits September 18, 2019 10:40
Also set explorer to true for proper replacing right cell with GTL.
Display nested lists of Catalog Items/Bundles, Automate Domains, Providers.
Providers and automate domans are not clickable.
Add also spec for updating view_options in nested_list in GenericShowMixin
Fix highlighting Group in accordion after clicking on it in Tenant's textual summary.
@hstastna hstastna force-pushed the Tenant_summary_relationships branch from 415d7ca to 0672cc8 Compare September 18, 2019 08:41
@hstastna hstastna force-pushed the Tenant_summary_relationships branch 2 times, most recently from 97de4d2 to 32ef759 Compare September 18, 2019 11:40
Copy link
Member

@romanblanco romanblanco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, LGTM 👍

@hstastna hstastna force-pushed the Tenant_summary_relationships branch from 32ef759 to b931d92 Compare September 18, 2019 12:26
@miq-bot
Copy link
Member

miq-bot commented Sep 18, 2019

Checked commits hstastna/manageiq-ui-classic@88d7587~...b931d92 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
11 files checked, 0 offenses detected
Everything looks fine. 🍰

@himdel himdel merged commit 8d2ea04 into ManageIQ:master Sep 18, 2019
@himdel himdel self-assigned this Sep 18, 2019
@himdel himdel added this to the Sprint 121 Ending Sep 30, 2019 milestone Sep 18, 2019
@martinpovolny
Copy link
Member

🎆 🍾

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

Successfully merging this pull request may close these issues.

8 participants