Skip to content

feat(dashboards): Added Breadcrumbs to the Dashboard Details page#25943

Merged
shruthilayaj merged 8 commits into
masterfrom
feat/dashboard-detail-subpages
May 10, 2021
Merged

feat(dashboards): Added Breadcrumbs to the Dashboard Details page#25943
shruthilayaj merged 8 commits into
masterfrom
feat/dashboard-detail-subpages

Conversation

@shruthilayaj

Copy link
Copy Markdown
Member

Dashboard details page is now a sub page for business plan
and has breadcrumbs. The manage page will be the main container
for business plan. for Team plans however, the default dashboard
is still the main page. User now also won't be able to delete the last
dashboard.

Dashboard details page is now a sub page for business plan
and has breadcrumbs. The manage page will be the main container
for business plan. for Team plans however, the default dashboard
is still the main page. User now also may not delete the last
dashboard.
@shruthilayaj shruthilayaj requested a review from a team May 7, 2021 18:09
@shruthilayaj shruthilayaj marked this pull request as draft May 7, 2021 18:09
priority="danger"
message={t('Are you sure you want to delete this dashboard?')}
onConfirm={onDelete}
disabled={!(dashboards.length > 1)}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@shruthilayaj We also may need to prevent deleting the last dashboard for the API endpoint.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: Can we simplify the negation here and just do dashboards.length <= 1?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

lol sure thing

…, rename dashboard to default dashboard if dashboard manager is enabled

@doralchan doralchan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good from the design end

@shruthilayaj shruthilayaj merged commit 9831ada into master May 10, 2021
@shruthilayaj shruthilayaj deleted the feat/dashboard-detail-subpages branch May 10, 2021 17:56
priscilawebdev pushed a commit that referenced this pull request May 11, 2021
…5943)

Dashboard details page is now a sub page for business plan
and has breadcrumbs. The manage page will be the main container
for business plan. for Team plans however, the default dashboard
is still the main page. User now also may not delete the last
dashboard.
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants