Closed Bug 367131 Opened 19 years ago Closed 15 years ago

Allow click and drag event creation in time scale (hours column)

Categories

(Calendar :: Calendar Frontend, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aryx, Assigned: bv1578)

References

Details

(Whiteboard: [not needed beta][no l10n impact])

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9a2pre) Gecko/20070115 Calendar/0.6a1 At the moment, if there is an event where you want to create a new one by click and drag, it is not possible if the whole pane at start and end time is blocked by events. So it would be good if the user can click and drag in the time scale and the start and end time taken there are used to create a new event in the pane. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I'd second this. A margin around the event boxes might be the solution.
Christian, do you have an idea how this could be fixed?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: uiwanted
I think we should leave a small margin on the left of *each* event column in the multiday views, this way you always have room to create the events.
This is a simple and effective fix that's similar to what other calendars do.
Flags: blocking-calendar1.0+
Keywords: uiwanted
Whiteboard: [not needed beta][no l10n impact]
Attached patch patch - v1 (obsolete) β€” β€” Splinter Review
(In reply to comment #4) > I think we should leave a small margin on the left of *each* event column in > the multiday views, this way you always have room to create the events. Could something like this patch be fine?
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
Attachment #474149 - Flags: review?(philipp)
Comment on attachment 474149 [details] [diff] [review] patch - v1 Nice and simple patch, thanks for taking care! I'm going to piggyback a small fix in the memory calendar, where the cal. prefix was missing. I noticed this bug while testing this patch (even though its totally unrelated :) r=philipp
Attachment #474149 - Flags: review?(philipp) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/f20238339e58> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0b3
Wouldn't it be more intuitive if that space was on the right side (in ltr languages that is)? This is what other calendars I've seen leaving that space do (Outlook & Google). Also if you are adding an event that collides with others you likely look at other events first to make sure it's ok and then create the event. Having it on the left side means eye focus going from right to left instead of more natural left to right direction.
Comment on attachment 474149 [details] [diff] [review] patch - v1 Sounds like a logical reason, lets have a ui-reviewer decide on this.
Attachment #474149 - Flags: ui-review?(nisses.mail)
I think Merike is right, it seems more natural adding events on the right side. I have to reopen the bug because the patch causes a misalignment on the time-bar (the box with anonid="top-box" is also present inside the "calendar-time-bar" binding). I'm going to attach a patch that fixes after the ui review.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hm, bitrotted?
Oh, crap, of course it's bitrotted, since that's already checked in and I thought there was a new patch. So you want me to ui-review if we should do what's proposed in Comment 10? I don't have any big objections to do that, so lets do that. ui-r+
This patch moves the margin on the right side and fixes the misalignment on the time-bar. By the way, what about the width? I think 4 pixels might be good as well, but less than 4 pixels seems definitely too little and more than 5 pixels seems a waste of space.
Attachment #474149 - Attachment is obsolete: true
Attachment #477056 - Flags: review?(philipp)
Attachment #474149 - Flags: ui-review?(nisses.mail)
Comment on attachment 477056 [details] [diff] [review] patch - margin on the right side r=philipp
Attachment #477056 - Flags: review?(philipp) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/bf7ef020ee97> -> FIXED
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: