Closed
Bug 337248
Opened 19 years ago
Closed 16 years ago
Color day box when event contains events from special calendars (i.e holiday) [extension fodder]
Categories
(Calendar :: Calendar Frontend, enhancement)
Calendar
Calendar Frontend
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: andrew.dowden, Unassigned)
Details
(Whiteboard: [extension fodder])
Attachments
(1 file, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060508 Mozilla Sunbird/0.3a2
Since rfc2445 supports (multiple) categories, but does not define them
(left to user/community), this feature could be used to define day
types: holiday, public holiday, religious holiday (everything closed),
as well as working week / non-working weeks (as currently supported).
Primary support should start with the 5 standard (flood) colors:
a current month, week, etc. (default)
b current day (today)
c current focus
d previous / next month (or week?)
e non-working week (eg. Saturday & Sunday)
The user would be able to define a color choice for each of these ..
with subsequent user-defined categories having:
1. no color assigned
2. color for category (used for title outline)
- Note: would need order (in list) to denote which color, if multiple categories assigned
3. NEW: color for category (flood), for primary day-type categories.
see attached images, for further clarity
May have impact on attempts to develop overlay views, as well as:
bug 316927 (Multiple categories should be allowed ..),
bug 268115 (Option to import categories ..),
and maybe others ..
Reproducible: Didn't try
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
You can assign a category to an event or task, but not to a special day. This is already working in Sunbird. Also I don't understand how your proposal should work if you have two events with different categories on the same day.
I think what you want is called Themes. Themes are already supported by Sunbird too. Or you can change the default theme by overwriting it with custom css style rules in your 'userChrome.css' file. See http://wiki.mozilla.org/User:Ssitter/UserChrome for an example.
Comment 4•19 years ago
|
||
I agree with ssitter that this proposal is going to (a) create an even larger variety of color-conflicts and (b) probably violate some bits of interoperability, as we would be interpretting categories in ways other than various other programs.
mvl once had a suggestion to allow categories to be more like tags. The idea there was that the color would be applied for the first tag. This would allow multiple categories in a cleaner way, in my mind.
Reporter | ||
Comment 5•19 years ago
|
||
Useful input ..
Let us then assume that colors used for: current month, next/previous month, non-working days, today, and current-focus should NOT be assigned a color, other than through themes.
This leaves the need to support multi-category per event or task.
This would require Tools> Options> General> Categories to support:
- flood color categories (in order of precedence)
- outline color categories (in order ..)
- unassigned (no color yet defined)
- NEW category (added through iCal import / discovery)
Although drag/paste could be used, I believe that up/down arrows for order would also be useful.
If this idea has merit, I could design a possible UI look (but more interested in function).
Under this approach, the order or precedence of categories (under UI, or from iCal file) would not be used. Rather the order of the categories (in flood, and outline) would determine the appearance of the view.
Primarily this would now support:
(a.) multiple category, per event / task
(b.) full day color ('flood') for major categories or full-day effects
Reporter | ||
Comment 6•19 years ago
|
||
removed refeerences for inbuilt color usage (a, b, c, d, e)
Attachment #221423 -
Attachment is obsolete: true
Attachment #221424 -
Attachment is obsolete: true
Comment 7•19 years ago
|
||
The bugspam monkeys have struck again. They are currently chewing on default assignees for Calendar. Be afraid for your sanity!
Assignee: base → nobody
Comment 8•17 years ago
|
||
Multiple category support is bug 316927, therefore this bug should be changed to reflect the "flood categories" request. Christian, is this something that we should support in core functionality?
I think this would be something that should be done in an extension, although I'm not sure its actually possible, due to lack of being able to overlay bindings. If you agree that this is rather extension fodder, please change summary accordingly and resolve as WONTFIX.
Comment 9•17 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20081207 Calendar/1.0pre
Current day, current focus and non-working days (i.e. non-working weekdays as user-customizable; not national holidays) are already available in this Sunbird-trunk build (cf.comment #3) so I suppose this bug is either WORKSFORME or Lightning-only (or maybe WONTFIX for the parts not yet available).
Component: Internal Components → Lightning Only
QA Contact: base → lightning
Comment 10•17 years ago
|
||
The code is shared so reverting component change.
Component: Lightning Only → Internal Components
QA Contact: lightning → base
Summary: Enhancement: category color(s) → Category color(s)
Updated•16 years ago
|
Component: Internal Components → Calendar Views
QA Contact: base → views
Comment 11•16 years ago
|
||
I think this would make a nifty extension, closing this bug as extension fodder. Just a note how I think it could be done:
Add a preference to the calendar property dialog to color all days that have events in a certain, user-selectable color. This is for example nice if you have a holiday calendar that contains only allday events. The day will be colored i.e light red, indicating a holiday.
From a technical perspective, one would probably need to extend the refresh functions of each calendar view to color the day boxes accordingly.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Summary: Category color(s) → Color day box when event contains events from special calendars (i.e holiday) [extension fodder]
Whiteboard: [extension fodder]
You need to log in
before you can comment on or make changes to this bug.
Description
•