Skip to content

Publication Review Buttons and Checkboxes now using Radio Button Groups#9357

Open
michaelchadwick wants to merge 6 commits into
ilios:masterfrom
michaelchadwick:frontend-6854-pub-review-make-radio-buttons
Open

Publication Review Buttons and Checkboxes now using Radio Button Groups#9357
michaelchadwick wants to merge 6 commits into
ilios:masterfrom
michaelchadwick:frontend-6854-pub-review-make-radio-buttons

Conversation

@michaelchadwick
Copy link
Copy Markdown
Contributor

Fixes ilios/ilios#6854

This changes the "Publish All As-Is" and "Mark All As Scheduled" bulk action buttons for Publication Review into a semantically clearer radio button group. It also changes individual session row checkboxes into radio button groups.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 29, 2026

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit f3be1cd
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/6a21c72bda072400087ed9f7
😎 Deploy Preview https://deploy-preview-9357--ilios-frontend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

❌ Visual Diff Report — FAILED

884 images compared: 41 different · 843 identical

Details

Differences (41)

File Diff % Notes
desktop-Acceptance _ API Version Check _ No warning shows up when api versions match _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ API Version Check _ Warning shows up when api versions do not match _ .png 100.00% ⚠️ Dimension mismatch (1859x1000 → 1729x1000)
desktop-Acceptance _ assign students _ visiting _admin_assignstudents _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Instructor Groups _ filters options _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Instructor Groups _ User in single school _ list groups _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Learner Group _ generate new subgroups _ learnerGroupId1.png 100.00% ⚠️ Dimension mismatch (2152x1000 → 2115x1000)
desktop-Acceptance _ pending user updates _ multiple schools, default school selection _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ pending user updates _ one school _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Program - Overview _ editable fields _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Program - Overview _ non editable fields _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Program - ProgramYear List _ check list _ default.png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Program - ProgramYear List _ privileged users can lock and unlock program-year _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Program Year - Competencies _ list _ .png 0.03%
desktop-Acceptance _ Program Year - Competencies _ list with permission to edit _ .png 0.03%
desktop-Acceptance _ Program Year - Course associations _ course associations are expanded if URL contains corresponding parameter _ .png 0.04%
desktop-Acceptance _ Program Year - Course associations _ expand and collapse course associations _ .png 0.04%
desktop-Acceptance _ Program Year - Leadership _ collapsed leadership _ .png 0.04%
desktop-Acceptance _ Program Year - Leadership _ list leadership _ .png 0.04%
desktop-Acceptance _ Program Year - Objectives _ list editable _ .png 0.04%
desktop-Acceptance _ Program Year - Objectives _ list not editable _ .png 0.04%
desktop-Acceptance _ Program Year - Terms _ list terms _ .png 0.04%
desktop-Acceptance _ Program Year - Terms _ manage terms _ .png 0.03%
desktop-Acceptance _ Reports - Subject Reports _ create new report _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Reports - Subject Reports _ create new report _ post-save form.png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
desktop-Acceptance _ Reports - Subject Reports _ shows reports _ .png 100.00% ⚠️ Dimension mismatch (2310x1000 → 2115x1000)
… and 16 more

Download the results.

@michaelchadwick michaelchadwick marked this pull request as ready for review May 29, 2026 23:02
@michaelchadwick michaelchadwick changed the title Publication Review Buttons and Checkboxes now using Radio Button Sets Publication Review Buttons and Checkboxes now using Radio Button Groups May 29, 2026
@michaelchadwick michaelchadwick force-pushed the frontend-6854-pub-review-make-radio-buttons branch from 7ea27fb to 222e5e9 Compare June 2, 2026 17:55
@michaelchadwick michaelchadwick force-pushed the frontend-6854-pub-review-make-radio-buttons branch from 222e5e9 to ac3689f Compare June 4, 2026 15:48

get sessionsToAllBePublished() {
if (this.sessionsToPublish?.length) {
return !this.sessionsToSchedule?.length ? true : false;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
return !this.sessionsToSchedule?.length ? true : false;
return !this.sessionsToSchedule?.length;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In fact, this could be simplified even further?

get sessionsToAllBePublished() {
  return !this.sessionsToSchedule?.length;
}


get sessionsToAllBeScheduled() {
if (this.sessionsToSchedule?.length) {
return !this.sessionsToPublish?.length ? true : false;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
return !this.sessionsToPublish?.length ? true : false;
return !this.sessionsToSchedule?.length;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In fact, this could be simplified even further?

get sessionsToAllBeScheduled() {
  return !this.sessionsToPublish?.length;
}

Copy link
Copy Markdown
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.

looks good to me - I like this - much improved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

frontend - bulk session publishing - change checkboxes and buttons to radio buttons

3 participants