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

Properly conditionalize "View Learner Devices" in Coach #12947

Open
marcellamaki opened this issue Dec 13, 2024 · 2 comments
Open

Properly conditionalize "View Learner Devices" in Coach #12947

marcellamaki opened this issue Dec 13, 2024 · 2 comments
Assignees
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) P0 - critical Priority: Release blocker or regression TAG: regression Something that previously worked

Comments

@marcellamaki
Copy link
Member

Observed behavior

develop regression
In Coach quizzes, the option to view LODs on the network is displayed, regardless of whether or not any LODs exist in the class.

Image

Expected behavior

This option should only be there for LODs that exist. It is not an "are they on the network" check, but rather if any learners enrolled in the class are using LODs.

User-facing consequences

It is confusing for coaches to have this option (and to see learners as "disconnected" and not syncing when they really are not on LODs)

Steps to reproduce

  1. Create a facility, users, and class where there is a coach and learner(s) but the learners are NOT on LODs
  2. Go to the exams page
  3. Observe that in the main exam page, and when clicking into a specific exam, see that the "View learner devices" link (and link to that page) is present.

Acceptance criteria

  1. Implement that change in the ReportControls component to properly check if LODs exist
  2. Cleanup any places where the learnerOnlyDevicesExist check is being used in the coach plugin that are no longer needed
  3. If possible, have this code/check only written in one place, or in fewer places.

Context

develop

@marcellamaki marcellamaki added P0 - critical Priority: Release blocker or regression TAG: regression Something that previously worked APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) bug Behavior is wrong or broken and removed bug Behavior is wrong or broken labels Dec 13, 2024
@rparadowski
Copy link
Contributor

I can take it.

@marcellamaki
Copy link
Member Author

marcellamaki commented Jan 9, 2025

Hi @rparadowski - I've assigned you. Let me know if you have any questions.

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.) P0 - critical Priority: Release blocker or regression TAG: regression Something that previously worked
Projects
None yet
Development

No branches or pull requests

2 participants