Closed Bug 239746 Opened 21 years ago Closed 19 years ago

All-day events should occupy multiple lines in a Week View.

Categories

(Calendar :: Sunbird Only, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla-bugs, Assigned: mostafah)

References

Details

Attachments

(3 files)

Currently, in the Week View, all the all-day events are pushed into a single line, where there are no space for them. If you have a few of those every day, then at most you will just see a bunch of stars... I would proposed changing this to giving each all-day event a separate line. Additionally, this line could _span_ several days in a multi-day all-day event, which would make it even more readable.
I think this issue is fixed in the to-be-checked-in patch for bug 236551
(In reply to comment #1) > I think this issue is fixed in the to-be-checked-in patch for bug 236551 Not really ( I didn't really change week view in that patch ), but it shouldn't be a big change to make week view use the same event-arrangement functions - I tried to keep week view in mind when creating them. I'll look into it, but possibly after said checkin (to get some feedback first).
The new day view style for all-day events looks exactly right (IMHO), and if the week view is updated in the same way (with multi-day events represented by a bar spanning several days, as opposed to being repeated for each day, if possible), I would be perfectly happy with it.
Here is something I'm working on (partly image manipulation at the moment).
Comment on attachment 146770 [details] image of possible implementation Very nice, this is exactly what I hoped for!
I moved the helper function 'setAllDayDrawProperties' from dayview.js to calendarWindow.js, and modified it a little. It's now usable both in dayview and weekview.
Attachment #147717 - Attachment description: in preparation of the real patch... → in preparation of the real patch...(checked in)
Attachment #147717 - Flags: first-review+
attachment 127717 [details] introduced a number of javascript strict warnings. This patch fixes those. It is advisable to turn on strict warnings when hacking lots of javascript, like calendar.
Attachment #148211 - Flags: first-review?(mostafah)
Comment on attachment 148211 [details] [diff] [review] fix strict warnings (checked in) r=mostafah
Attachment #148211 - Flags: first-review?(mostafah) → first-review+
Attachment #148211 - Attachment description: fix strict warnings → fix strict warnings (checked in)
BTW, a different RFE for the weekly view - bug 243494.
QA Contact: gurganbl → sunbird
*** Bug 309997 has been marked as a duplicate of this bug. ***
This was fixed awhile ago in the new views.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: