Skip to content

Conversation

@michaelchadwick
Copy link
Contributor

@michaelchadwick michaelchadwick commented Sep 4, 2025

Refs ilios/ilios#4176 ilios/ilios#4300 ilios/ilios#4324 ilios/ilios#5761
Fixes ilios/ilios#5473
Fixes ilios/ilios#5474
Fixes ilios/ilios#6046

Fixes ilios/ilios#6586 (meta ticket)

What This DOES NOT Change

For clarification, this only fixes three issues (and closes the meta ticket I made), but it does refer to others as they were related.

All other changes were mainly to fix the three issues listed, and do a general space savings. There's more work that can be done, but I wanted to clear out old issues and start fresh from here, if possible.

Select LM Changes

  • Search results container width matches input
  • Search input magnifying glass now vertically centered

Manage Form Changes

  • Removed extra margin and padding around main form to be consistent with rest of page
  • Removed space around MeSH Manager and Timed Release Schedule
  • Show something for Timed Release Schedule when there's a start date AND it's in the past
  • Required boolean added to same row as Display Name and Status
  • Description and Instructional Notes now on same row
  • Timed Release section more compact and always on same row regardless of type of LM

New Form Changes

  • Moved Owner up next to Status to take up less vertical space and make Status dropdown take up less horizontal space
  • Removed extra spacing around copyright permission notice text
  • Moved all the "meat" of each LM (the file, the link, the citation) to the same position in the 2-column grid

@netlify
Copy link

netlify bot commented Sep 4, 2025

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit f826049
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/6912476202b1b500086d95a8
😎 Deploy Preview https://deploy-preview-8789--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.

@dartajax
Copy link
Member

dartajax commented Sep 4, 2025

I made a cpl of quick space saving and formatting suggestions - no major reformatting ... yet.

Upper part of screen ...

Currently ...
image

NOTE: slight space saving and no major re-formatting - I thought the "Show Notes to Students" should be on the same horiz area as the Instructional Notes - same with "Required" same line as Display info.

Updated ...
image

Lower part of screen ...

Currently ...
image

Updated ...
image

Blue rectangles show saved space and keep in mind the Start Date and End Date stuff gets stacked up currently making the form even longer and making it farther still be able to save or undo your work.

NOTES:
what did I do? ...

  1. Aligned "Available immediately when published" with the "Timed Release" caption - they were not aligned before.
  2. Start Date and End Date buttons are not the same size and would look better spanning the left and right sides of the screens also saving space especially when those dates are entered - currently they stack all the way down.
  3. I took one line of the search for MeSH captioning out - we'd have to ask if that's acceptable - I just found it redundant.
  4. Removed vertical space wherever possible.

Still no major overhaul. That may still be coming.

@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch 3 times, most recently from 015149e to cef2c99 Compare September 11, 2025 15:31
@michaelchadwick
Copy link
Contributor Author

In order to know how best to go forward, this needs team discussion for further improvements.

@michaelchadwick
Copy link
Contributor Author

Team discussion: be free with potential revamp. Try using the Session->Offering framework with a <fieldset><legend> direction. Make related fields closer to each other, as well.

@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch from cef2c99 to 86c9c56 Compare October 6, 2025 15:16
@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch 3 times, most recently from dd0f123 to a618694 Compare October 23, 2025 23:38
@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch 5 times, most recently from 00b6694 to ea9e04c Compare November 5, 2025 16:20
@michaelchadwick michaelchadwick marked this pull request as ready for review November 5, 2025 16:23
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

});

resultsAppear = modifier((element) => {
element.style.width = `${element.previousElementSibling.clientWidth}px`;
Copy link
Member

Choose a reason for hiding this comment

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

that's cool. also learned about Element.clientWidth.

i noticed that this isn't responsive to screen-resizing, but i think that's acceptable here.

@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch 4 times, most recently from af9c233 to 0d25834 Compare November 7, 2025 18:13
@dartajax
Copy link
Member

dartajax commented Nov 7, 2025

Only two things I could request and even these if they can't happen - well one of them can because it's just a caption change - if approved we can do that - I will start with the caption change - needs approval from @saschaben ...

  1. adjust caption for more accuracy ...
image
  1. line 'em up ...
    this ...
image to become this ... image

The blue lines are for reference only - too bold and obtrusive anyway.

@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch from 0d25834 to 19758fb Compare November 7, 2025 21:54
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.

nice work

@dartajax dartajax added the run ui tests Run the expensive UI tests label Nov 7, 2025
@dartajax
Copy link
Member

image

…th based on width of its previousElementSibling (SearchBox)
…less of LM type, which can have variable fields, affecting the grid layout
…of the LM and the upload date are always in the same spot in a 2-column grid layout
…grid and makes description always in the same spot, as well
…me line and not allowing to go full width in container
@michaelchadwick michaelchadwick force-pushed the frontend-4176-lm-form-revamp branch from 19758fb to f826049 Compare November 10, 2025 20:13
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.

it looks better now

@dartajax dartajax merged commit 2d88766 into ilios:master Nov 10, 2025
32 checks passed
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

3 participants