-
Notifications
You must be signed in to change notification settings - Fork 9
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
Restructure calendar components and fix remote tentative event styles #437
Conversation
Reduce calendar month to mini version only
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.
Otherwise looks good, I meant to do this when we switched to Qalendar but I didn't have time to get around to it. So thank you so much!
}" | ||
:style="{ | ||
borderColor: !isMonthView ? eventColor(event, false).border : null, | ||
backgroundColor: isMonthView || (!isMonthView && event.tentative) ? 'transparent' : event.calendar_color, |
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.
bg-amber-400/80 is being overwritten by transparent, and I think this is the cause. Can you confirm? Thanks!
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 mean for all day events? In which calendar mode?
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.
Yep sorry, all day events on the main calendar page for me!
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.
Yes I see, fixed it
Description of the Change
The change disassembles the
CalendarEvent.vue
component into 4 components of different event states:Moreover a couple of components from the former calendar implementation were removed (CalendarDay.vue and CalendarWeek.vue). The CalendarMonth.vue component was renamed and reduced to a mini month component.
Moreover remote tentative events are now styled with transparent background and calendar colored border and text.
Benefits
This heavily enhances readability and makes styles on different event types changeable again.
Tentative remote events now look like this again in week/day view:
Applicable Issues
Closes #324