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

Refactor UserProfileCalendar component #7737

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

jrjohnson
Copy link
Member

The impetus of this was to fix the component's data loading on Sunday night in en-us where the data from the previous week would get loaded instead. I replaced the loading modifier with a tracked async getter and linked this up to the localeDays service.

I also replaced the loader with the built in one that is now in the weekly calendar.

The impetus of this was to fix the component's data loading on Sunday
night in en-us where the data from the previous week would get loaded
instead. I replaced the loading modifier with a tracked async getter and
linked this up to the localeDays service.

I also replaced the loader with the built in one that is now in the
weekly calendar.
@jrjohnson jrjohnson marked this pull request as ready for review March 25, 2024 18:24
@jrjohnson jrjohnson requested a review from stopfstedt as a code owner March 25, 2024 18:24

load = dropTask(async () => {
//luxon weeks always stort on Monday to we have to adjust for that
Copy link
Member

Choose a reason for hiding this comment

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

"stort" 😆

Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't really need to git blame to know who that line belonged to 😁

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 30299e3 into ilios:master Mar 25, 2024
26 checks passed
@jrjohnson jrjohnson deleted the sunday-night-tests branch March 25, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants