-
Notifications
You must be signed in to change notification settings - Fork 48
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
Implement day responsibles on dashboard #4029
Implement day responsibles on dashboard #4029
Conversation
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
I would argue that the we should use 2 different filters for the activity responsible and the day responsible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also improved the loading behavior, you can mention that.
@@ -59,7 +107,7 @@ export default { | |||
components: { CategoryChip, AvatarRow, TextAlignBaseline }, | |||
mixins: [dateHelperUTCFormatted], | |||
props: { | |||
scheduleEntry: { type: Object, required: true }, | |||
scheduleEntry: { type: Object, default: () => ({ _meta: { loading: true } }) }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, cool new pattern to avoid the NPE's.
I would highlight this to other team members, that they can use that too
This adds the dayResponsibility to the day on the dashboard (non editable). Also keeps schedule entries of days with matching responsibility unfiltered.
Fixes #3885