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 be5b1d9
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/692f8729d2de2f0008f9bec0
😎 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
@jrjohnson jrjohnson removed the run ui tests Run the expensive UI tests label Nov 26, 2025
@stopfstedt stopfstedt added the run ui tests Run the expensive UI tests label Dec 2, 2025
@michaelchadwick michaelchadwick force-pushed the frontend-3530-improve-offering-learner-visibility branch from 157dea1 to 03c4a8b Compare December 3, 2025 00:07
Copy link
Member

@stopfstedt stopfstedt left a comment

Choose a reason for hiding this comment

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

minor issue on an early return statement in a getter. otherwise good.

}

get sortedIndividualLearners() {
if (!this.individualLearners) {
Copy link
Member

Choose a reason for hiding this comment

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

empty lists are not falsy, and i'm not seeing a falsy value like null or undefined sneaking through here.

Suggested change
if (!this.individualLearners) {
if (!this.individualLearners.length) {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@stopfstedt stopfstedt dismissed their stale review December 3, 2025 00:41

stale review.

Copy link
Member

@stopfstedt stopfstedt left a comment

Choose a reason for hiding this comment

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

LGTM

@dartajax dartajax merged commit 319c146 into ilios:master Dec 3, 2025
35 checks passed
@michaelchadwick michaelchadwick deleted the frontend-3530-improve-offering-learner-visibility branch December 4, 2025 16:45
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.

Interface Improvements Needed with Individual Learner Assignments

5 participants