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

Learner Groups now use same loading style as Instructor Groups #7857

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

michaelchadwick
Copy link
Contributor

Fixes ilios/ilios#5426

Learner Groups were using the deprecated(?) <PulseLoader> loading component, but now they are using the same style as Instructor Groups (i.e. obfuscated shimmer method).

{{#each (repeat @count) as |empty|}}
<tr class="is-loading">
<td class="text-left" colspan="2">{{truncate
(repeat (random 3 10) "ilios rocks")
Copy link
Member

Choose a reason for hiding this comment

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

Yeah it does!!

@@ -122,7 +122,7 @@
@setSortBy={{@setSortBy}}
/>
{{else}}
<PulseLoader />
<LearnerGroups::Loading />
Copy link
Member

Choose a reason for hiding this comment

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

This accepts a count of all the learner groups that will eventually show up on the page and has a row for each one. I think you'll need to massage the data loading a bit to get the same info you need here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants