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

when user is multi-facility admin, Coach > Class Home errors once a facility is selected #10643

Closed
thanksameeelian opened this issue May 4, 2023 · 0 comments · Fixed by #10712
Assignees
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) bug Behavior is wrong or broken

Comments

@thanksameeelian
Copy link
Contributor

thanksameeelian commented May 4, 2023

Observed behavior

If a user is a multi-facility admin and they navigate to the Coach plugin and any of its subtopics, they will be redirected to "All Facilities" containing links to each of the user's facilities. If the user selects a facility with a single class, navigation can fail (you may catch a brief glimpse of the intended page) and user is redirected to "Something happened" error page. If the user selects a facility with multiple classes, navigation may not fail until a specific class is selected, but once the selection is made the user is redirected to the error page.

Navigation will subsequently fail if you attempt to navigate to other subtopics within Coach, e.g. "Plans" will also bring you to the error page.

coach-multifacility-something-went-wrong.mov

Errors and logs

browser devtools console:
image

Expected behavior

Successful navigation to "Class home" and all other subtopic pages once a facility is selected

Note: it is a known issue that in the multi-facility use-case, opening Coach in the sidenav and selecting any subtopic besides "Class home" will lead to the "All Facilities" page with links to each facility that bring you to "Class home" regardless of your initial selection. There is a separate issue addressing this and other elements of Coach multi-facility navigation: #10650.

User-facing consequences

For multi-facility admins, this leads to the inability to see any details about any classes, as navigation to any & all subtopics fails.

Steps to reproduce

  • user must be multi-facility admin (if none of your users have 2+ facilities, you can follow the flow Device > Facilities Tab > Import learning facility to add an additional facility & access shared credentials for the team's facilities in Notion)

  • navigate to Coach > Class home & select a facility

Context

MacOS Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) bug Behavior is wrong or broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants