Closed Bug 298357 Opened 20 years ago Closed 19 years ago

views need to colourize events by calendar color-pref

Categories

(Calendar :: Lightning Only, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Lightning 0.1

People

(Reporter: shaver, Assigned: jminta)

References

Details

Attachments

(3 files)

 
You might ask yourself "why is that being set twice? why does it not appear on
the item box in either case?".	I sure did.
Attachment #186938 - Flags: first-review?(vladimir)
Comment on attachment 186938 [details] [diff] [review]
Add item-calendar attribute for the calendar's URI, maintain dynamic style rules to match user's prefs [checked in]

r=vladimir; we need something similar for the calendar-month-view as well.
Attachment #186938 - Flags: first-review?(vladimir) → first-review+
Comment on attachment 186938 [details] [diff] [review]
Add item-calendar attribute for the calendar's URI, maintain dynamic style rules to match user's prefs [checked in]

Checked this in, I'll work on the multiday view when I get the todo display
limping along for pav.
Attachment #186938 - Attachment description: Add item-calendar attribute for the calendar's URI, maintain dynamic style rules to match user's prefs → Add item-calendar attribute for the calendar's URI, maintain dynamic style rules to match user's prefs [checked in]
Priority: -- → P3
Target Milestone: --- → Lightning 0.8
Attached patch multiday view — — Splinter Review
This fixes things for me.  I find it odd that it was so simple.
Attachment #198707 - Flags: first-review?(dmose)
Comment on attachment 198707 [details] [diff] [review]
multiday view

r=dmose
Attachment #198707 - Flags: first-review?(dmose) → first-review+
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
We decided in IRC that coloring the background looks a lot better than coloring
the font.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch use backgroundColor — — Splinter Review
This patch switches to using backgroundColor for calendar color preferences. 
We have to move the default background color into js to avoid conflicting rule
problems.  Also, this moves getContrastingColor into calendarUtils.js so that
both  Sunbird and Lightning can use it easily.
Assignee: shaver → jminta
Status: REOPENED → ASSIGNED
Attachment #198745 - Flags: first-review?(dmose)
Comment on attachment 198745 [details] [diff] [review]
use backgroundColor

r=dmose
Attachment #198745 - Flags: first-review?(dmose) → first-review+
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
QA Contact: shaver → lightning
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: