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

WIP: tenant dashboards #537

Closed
wants to merge 4 commits into from
Closed

WIP: tenant dashboards #537

wants to merge 4 commits into from

Conversation

xaun
Copy link
Contributor

@xaun xaun commented Oct 17, 2017

@ouranos just FYI, any comments?

@xaun
Copy link
Contributor Author

xaun commented Oct 18, 2017

FYI, waiting for #535 to be approved & merged before adding specs for this.

@@ -0,0 +1,31 @@
module MnoEnterprise::Concerns::Controllers::Jpi::V1::Impac::TenantDashboardsController
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be an admin controller? I thought this was used to load the admin dashboards in your new section in the admin panel?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes true, this should be in the admin controller

def dashboards
@dashboards ||= MnoEnterprise::Dashboard
.includes(*DASHBOARD_DEPENDENCIES)
.find(owner_type: 'Mnoe::Tenant')
Copy link
Contributor

Choose a reason for hiding this comment

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

When is the dashboard created with owner_type = 'Mnoe::Tenant'? Is it directly in mnohub?

Copy link
Contributor Author

@xaun xaun Oct 19, 2017

Choose a reason for hiding this comment

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

As you now know, currently it is not being created, as I got this particular element of the project confused with the SPA and thought that we were also provisioning a dashboard for the tenant.

So for this we need then to add the rest of the tenant_dashboards_controller actions.

@xaun
Copy link
Contributor Author

xaun commented Nov 1, 2017

Replace by: #557

@xaun xaun closed this Nov 1, 2017
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.

3 participants