dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
168 stars 39 forks source link

Weekly Calendar Not Showing Event Specific Colors #1778

Closed cocarrig closed 1 year ago

cocarrig commented 1 year ago

Describe the bug For Authenticated Calendar sources (Google, Microsoft) Event specific colors are not displaying in the Weekly Calendar style.

To Reproduce Steps to reproduce the behavior:

  1. Authorize google or microsoft calendar in DAKboard
  2. Access calendar in google/MS and edit/create an event
  3. Assign the event a standard color from the color list (not custom). Select a color that is not used for the whole calendar.
  4. On DAKboard screen, add calendar block
  5. Select and enable calendar with colored event
  6. select weekly calendar type
  7. click save and preview event, note that the event specific color is not displayed

Expected behavior Event specific colors should display for Weekly Calendar style, just as they do for other calendar styles.

Screenshots N/A

Additional context N/A

Dan-Peck commented 1 year ago

Currently, the weekly calendar is only applying an event color when there is no calendar color set on its source. Will be adjusting this to always apply the event color, when present.

Google Calendars should work fine with these changes. Microsoft Calendars, however, do not appear to support changing the event color; so those events will remain as their calendar color.

Dan-Peck commented 1 year ago

Merged in @ 0aa4841 and added to the queue for upcoming release to the live site.