Closed Bug 360120 Opened 18 years ago Closed 18 years ago

prototype event dialog : selection of scheduled event should be interactive

Categories

(Calendar :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: michael.buettner, Assigned: michael.buettner)

References

Details

Attachments

(1 file)

in the free/busy-grid of the prototype event dialog the time occupied by the current event is displayed as a transparent overlay. it would be a nice add-on if this overlay could be interactively manipulated with the mouse in order to move the whole event or modify the start- and/or end-time.
after pondering about how the overlay actually should behave under different circumstances i found two problematic cases.

1) assume we need to display an event that falls outside of the displayed range of hours (this is prepared for the upcoming working hours, currently i'm using some hardcoded values). currently the time-range the overlay occupies in order to indicate the time the event is scheduled for is clipped according the displayed set of hours. an example will clarify this a bit. display range: 8:00 - 16:00; event: 7:00 - 10:00. in this case the overlay will start at 8:00 and end at 10:00, since the start of the event was moved to the start of the display range. if we want to modify the time of the event by interactively moving the overlay we always need to display the actual range the event is scheduled for. this makes this bug depend on #360117 which will automatically expand the display range to 24hrs in such cases.

2) the second issue is a bit more problematic. what should happen if we encounter an allday-event? currently the free/busy-grid simply expands the overlay to cover the days the event is actually scheduled for. but in case the user drags this event around we need to clarify what this action semantically should mean. there are several options how this problem could be tackled. a) restrict the move-operation to whole days, don't allow moving start/end times. b) automatically convert allday-event to events that last 24 hours. this is how outlook solves this problem.

comments are welcome...
Depends on: 360117
Comments to #1 & 2:

In case one event (7am - 8pm) is out of the range (9am - 6pm) the grid should auto-expand to 24 h. Same applies to all day events, or events which span over more than one day.

May it makes sense to zoom out (25%) automatically. This would help users want to move all day events.
Attached patch patch v1 — — Splinter Review
This patch implements that the selection-bar can be interactively modified. this involves that the datetime-pickers for start- and end-time can also be changed (they are no longer just read-only), timezone-support for those controls has also been added. this also brings the 'automatic expansion to 24hrs'-feature into the game (the grid will be expanded if an event is now scheduled for out of business hours). as one last issue, the 'pick next slot'-feature was also modified to work with the new zoom-able and expand-able grid.
Checked in on trunk and MOZILLA_1_8_BRANCH
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
New patch is needed---->see bug 364572
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: