Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace render modifiers in course rollover component #8429

Conversation

stopfstedt
Copy link
Member

refs ilios/ilios#5374

i'm still a bit iffy by setting tracked props in the save() task, but don't see another way to shoe-horn these in if the user hasn't changed the defaults before form validation runs.

@stopfstedt stopfstedt force-pushed the replace_render_modifier_course_rollover_component branch from e81df37 to ca12fe4 Compare March 11, 2025 21:21
Copy link

netlify bot commented Mar 11, 2025

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit e81df37
🔍 Latest deploy log https://app.netlify.com/sites/ilios-frontend/deploys/67d0a8925cd3ee000847f73f
😎 Deploy Preview https://deploy-preview-8429--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 site configuration.

Copy link

netlify bot commented Mar 11, 2025

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit 2f021d1
🔍 Latest deploy log https://app.netlify.com/sites/ilios-frontend/deploys/67d1cf36a09ca90008e2152f
😎 Deploy Preview https://deploy-preview-8429--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 site configuration.

@stopfstedt stopfstedt marked this pull request as ready for review March 11, 2025 21:58
@stopfstedt stopfstedt marked this pull request as draft March 12, 2025 16:55
…es tracked prop with getter.

with the render-ember-modifier approach to initializing the component is
going way, we can't set the course title on init anymore.
i'm attempting to side-step this issue by setting the title from the
given course's title on save if the user hasn't set one explicitly.

replacing allCourses with a getter in the same go since this is where
is started.
i don't see how the new start date cannot be set at this point.
fold it in with the rst of the attributes.
@stopfstedt stopfstedt force-pushed the replace_render_modifier_course_rollover_component branch from ca12fe4 to 870b705 Compare March 12, 2025 17:03
@stopfstedt stopfstedt marked this pull request as ready for review March 12, 2025 18:03
in the save() task, i moved the call to timeout() below the form
validation step, to address a flash of content issue that i was noticing (the
saving-overlay would briefly blink in).
@stopfstedt stopfstedt force-pushed the replace_render_modifier_course_rollover_component branch from 066123c to 2f021d1 Compare March 12, 2025 18:15
Copy link
Member

@jrjohnson jrjohnson left a comment

Choose a reason for hiding this comment

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

😤 love it.

@dartajax dartajax added the run ui tests Run the expensive UI tests label Mar 12, 2025
@dartajax dartajax merged commit 4c27f73 into ilios:master Mar 12, 2025
40 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
Development

Successfully merging this pull request may close these issues.

3 participants