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

Material Manager Updates #8257

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Conversation

jrjohnson
Copy link
Member

Replaced the validation and removed the render modifier for the LearningmaterialManager component.

Because this component is only ever rendered with a material and a
different material cannot be passed in we can do all of the data loading
in the constructor and not worry about the behavior in did-update.

I was also able to remove the spinner as the only data included in the
manager that isn't already loaded is some mesh tree meta data when mesh
terms are attached.

Replacing our existing validations with yup equivalents. Fixes a couple
of issues with the values key as well while working on this.
Because this component is only ever rendered with a material and a
different material cannot be passed in we can do all of the data loading
in the constructor and not worry about the behavior in did-update.

I was also able to remove the spinner as the only data included in the
manager that isn't already loaded is some mesh tree meta data when mesh
terms are attached.
@jrjohnson jrjohnson marked this pull request as ready for review December 6, 2024 08:06
@dartajax dartajax added the run ui tests Run the expensive UI tests label Dec 9, 2024
@dartajax dartajax merged commit 0109a25 into ilios:master Dec 9, 2024
42 checks passed
@jrjohnson jrjohnson deleted the lm-manager-yup-no-render branch December 9, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run ui tests Run the expensive UI tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants