Skip to content

Conversation

@michaelchadwick
Copy link
Contributor

@netlify
Copy link

netlify bot commented Nov 14, 2025

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit 689a745
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/69275c64eaa3ae0008040b01
😎 Deploy Preview https://deploy-preview-8949--ilios-frontend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@saschaben
Copy link
Member

saschaben commented Nov 14, 2025

I think we need to suppress/remove the truncation from the learner display, and have all names visible. a key issue is for users to have the ability to rapidly verify the assignees without clicking in further. this will take some clever space organization but let's take a stab at it.

Alternately, we can modify the mouseover display to be more accessible and legible to users.

@jrjohnson
Copy link
Member

I'd vote for the better tooltip. Looks like for learner group hover we're using a popper which we can put HTML in. Going with that instead of a title should make this easier to read. I'm not sure we want to do without truncation on this table or it will be really hard to read everything else.

@michaelchadwick michaelchadwick force-pushed the frontend-3530-improve-offering-learner-visibility branch from bed3128 to 212bb0c Compare November 20, 2025 00:44
@michaelchadwick
Copy link
Contributor Author

Here are some paths we could go:

First, adding them as I've done so far, truncated, with the untruncated version as a title:
default

Second, with all learner names visible:
show-all-names

Third, learner names truncated, but with IliosTooltip at default width (80%):
ilios-tooltip-default

Fourth, learner names truncated, but with IliosTooltip at narrower width (40%):
ilios-tooltip-narrow

@saschaben
Copy link
Member

I think of the shown screenshot options, #2 and #4 are the options best suited. I personally would go with #4, but I suspect our users would prefer #2.

@michaelchadwick
Copy link
Contributor Author

As far as this context goes, showing all Learners but filtered by FadeText seems like a good way to go.

@michaelchadwick
Copy link
Contributor Author

SessionsGrid currently shows a Learners column like this PR is attempting to add to Session->Offerings, but it uses the @offering.allLearners convenience method, which aggregates individual learners AND all learners in assigned LearnerGroups. Whether these two places should show the same thing or not is now up for discussion.

@michaelchadwick
Copy link
Contributor Author

For Session->Offering context specifically, add individual learners, if they exist, to each existing "Group Name" cell, and filter by FadeText. Don't add a new column. Rename the existing column to "Learners and Groups".

@michaelchadwick michaelchadwick force-pushed the frontend-3530-improve-offering-learner-visibility branch from 34b6ebd to d24c37c Compare November 26, 2025 16:25
@michaelchadwick michaelchadwick marked this pull request as ready for review November 26, 2025 17:37
@michaelchadwick
Copy link
Contributor Author

I updated the code to reflect our latest discussion.
Screenshot 2025-11-26 at 9 36 16 AM

The above screenshot had all the possibilities I could think of: only learners, only groups, both, or none, and learners list that both needs fading and does not.

@dartajax dartajax self-requested a review November 26, 2025 18:35
Copy link
Member

@dartajax dartajax left a comment

Choose a reason for hiding this comment

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

image

@saschaben and I discussed this. We can deal with the counts and labels later. For now, get rid of the count as shown in screen shot if that's cool with you.

@michaelchadwick michaelchadwick force-pushed the frontend-3530-improve-offering-learner-visibility branch from abd3008 to 6505a04 Compare November 26, 2025 19:08
Copy link
Member

@dartajax dartajax left a comment

Choose a reason for hiding this comment

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

from my perspective, at least from an initial pass, this looks great - as mentioned we can deal with labels and possibly counts later - good stuff

@dartajax dartajax added the run ui tests Run the expensive UI tests label Nov 26, 2025
@jrjohnson jrjohnson removed the request for review from stopfstedt November 26, 2025 19:25
if (!this.learnerGroups) {
return [];
}
return this.learnerGroups.slice().sort((learnerGroupA, learnerGroupB) => {
Copy link
Member

Choose a reason for hiding this comment

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

This slice() is probably left over from old ember data, but shouldn't be needed anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing the slice() results in an error (looks like an unfinished Proxy object) and no learnerGroups at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The other two places I see LGs grabbed like this, SessionsGridOffering and LearnerGroupsRoot, don't do a slice(), and I don't understand why this one needs it...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, OK, the other two uses are different as their get learnerGroups() methods are only ever called in the template, and this PR uses it again in the functional code.

@jrjohnson jrjohnson removed the run ui tests Run the expensive UI tests label Nov 26, 2025
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.

Interface Improvements Needed with Individual Learner Assignments

4 participants