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

MR-2923 Add tabs and empty rates dashboard #1932

Merged
merged 15 commits into from
Sep 25, 2023
Merged

Conversation

haworku
Copy link
Contributor

@haworku haworku commented Sep 19, 2023

Summary

Get tabs, routes, and empty state for dashboard working. Add tests.

Related issues

https://qmacbis.atlassian.net/browse/MCR-2559

Screenshots

Screenshot 2023-09-19 at 4 49 30 PM

Test cases covered

  • I made all existing CMSDashboard tests loop through both variants of the feature flag
  • I added tests to check for presence of tabs for rate reviews flag on

QA guidance

  • Log in as CMS user with both the rates refactor and rates dashboard LD feature flags turned on
  • Go to the main dashboard
  • State user works the same as before just now dashboard is behind dashboard/submissions to match CMS

Copy link
Contributor

@pearl-truss pearl-truss left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

GRAPHQL_EXPLORER: '/dev/graphql-explorer',
HELP: '/help',
REPORTS: '/reports',
SETTINGS: '/settings',
SUBMISSIONS: '/submissions',
SUBMISSIONS_NEW: '/submissions/new',
SUBMISSIONS_FORM: '/submissions/:id/edit/*',
SUBMISSIONS_EDIT_TOP_LEVEL: '/submissions/:id/edit/*',
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: what does top level refer to?

Copy link
Contributor Author

@haworku haworku Sep 22, 2023

Choose a reason for hiding this comment

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

I threw a description in the comment _"The suffix "TOP_LEVEL" mean this route contains an global asterisk has several descendant routes it covers" basically its a glob route and has several descendant routes it covers. Let me know if a different naming is clearer or what you think of this description. I was trying to think how to name this route more precisely because I realized its quite different than other routes in the list.

@haworku haworku merged commit 63b3149 into main Sep 25, 2023
27 checks passed
@haworku haworku deleted the mr-2923-rates-dash-tabs branch September 25, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants