Skip to content

Conversation

@michaelchadwick
Copy link
Contributor

@michaelchadwick michaelchadwick commented Nov 3, 2025

Fixes ilios/ilios#6599
Fixes ilios/ilios#6600

I had more added logic in this and then realized the fix was simpler than originally expected: the SubjectHeader component just needed to take in the report title so it set its internal state variable on load. Then, if you try to change the report title but make no changes, it goes back to the report title...not ''.

@netlify
Copy link

netlify bot commented Nov 3, 2025

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit 6ba7247
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/690925068767290008fbac04
😎 Deploy Preview https://deploy-preview-8916--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 dartajax self-assigned this Nov 3, 2025
@dartajax
Copy link
Member

dartajax commented Nov 3, 2025

Assigned to @dartajax for testing and possible merging

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.

I am not sure this is working completely. I'd recommend logging as demo_dev1 and try copying the report "All Competencies for Session Selective: Diagnosing and Managing Insomnia (2026 - 2027) in Medicine" (the first one currently).

image image

At first I was thinking the title was too long or something. The one that currently copies the title over correctly (as far as my testing is concerned) is "All Courses in Medicine". The other ones stay blank including "All Courses in All Schools", which seems weird but there is probably a reason under the hood.

@michaelchadwick michaelchadwick marked this pull request as draft November 3, 2025 21:26
@dartajax dartajax self-requested a review November 3, 2025 21:46
@michaelchadwick michaelchadwick marked this pull request as ready for review November 3, 2025 21:56
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.

this is better - great stuff

@dartajax dartajax added the run ui tests Run the expensive UI tests label Nov 4, 2025
@dartajax dartajax merged commit add1e38 into ilios:master Nov 4, 2025
39 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

2 participants