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

Merge Hotfix 2.12.2 #1329

Merged
merged 7 commits into from
Jun 18, 2024
Merged

Merge Hotfix 2.12.2 #1329

merged 7 commits into from
Jun 18, 2024

Conversation

dougmartin
Copy link
Member

No description provided.

…PT-187796954]

Previously only site admins and managers could toggle the hide names control in the learner reports.  This expands this ability for project admins of any project to also toggle this control.

The original reason that only site admins and managers had access is the user could use the learner report page to select teachers or resources both in and out of a project they admined so there was not enough fine grained control.  It was decided to open this toggle up to any project admin as those roles have blanket coverage in the IRBs.
This fixes two issues:

1. Updates pre-loading to add project pre-loading of teacher and student cohorts and removes unneeded pre-loading of teacher_clazzes: [:clazz] based on an eager loading errors that Rails was outputting.
2. Limits the result set to 10 from the default of 30.

There are no more eager loading errors and I've verified that the query is limited to 10 results.  The only real way to tell if this fixes production, given its large number of users, is to try it there after validating the changes on staging.
…min-can-see-hide-names

fix: Allow project admins of any project to toggle hide names control [PT-187796954]
…ser-admin-page-load

fix: Slow load on user admin page [PT-187797154]
With the update to React 18 the Formsy input validations broke as they relied on state updates being done before the validations.

This commit changes the password confirmation validation to use a function that compares the passed form values.  It also updates the the password length validations to remove the max length validation.
…rds-do-not-match

fix: Passwords validations in signup form [PT-187798321] [PT-187798313]
@dougmartin dougmartin requested a review from pjanik June 18, 2024 09:36
Copy link
Member

@pjanik pjanik left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@dougmartin dougmartin merged commit a31f2e1 into master Jun 18, 2024
27 of 28 checks passed
@dougmartin dougmartin deleted the hotfix-2.12.2 branch June 18, 2024 10:36
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