Closed
Bug 404900
Opened 18 years ago
Closed 14 years ago
Add Accept/Decline to Calendar item's context menu
Categories
(Calendar :: Calendar Frontend, enhancement)
Calendar
Calendar Frontend
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b4
People
(Reporter: gmbailey21, Assigned: Fallen)
References
Details
(Whiteboard: [needed beta][no l10n impact])
Attachments
(5 files, 4 obsolete files)
48.70 KB,
image/png
|
Fallen
:
ui-review+
|
Details |
17.53 KB,
image/jpeg
|
Details | |
70.22 KB,
image/png
|
Details | |
13.91 KB,
patch
|
nomisvai
:
review+
|
Details | Diff | Splinter Review |
25.66 KB,
patch
|
mschroeder
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Build Identifier: TB 2.0.0.9 and Lightning .7 and .8pre
Ability to right click on a meeting and choose accept/decline as well as the edit and delete options
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•18 years ago
|
||
This one gives much room for discussion...
- is this wanted by drivers?
- for Lightning only or Sunbird too (see bug 417429)
Also, this would very much involve Bugs 404179 and 361635. Building support here, would likely also result in resolving those issues.
Assignee | ||
Comment 3•16 years ago
|
||
I think we should do this. Bryan, what do you think? Also, where in the context menu should it be placed? Should it be disabled or hidden when the event in question is not an invitation?
Assignee: nobody → clarkbw
Status: NEW → ASSIGNED
Flags: wanted-calendar1.0+
![]() |
||
Comment 4•16 years ago
|
||
Philipp - If by "invitation" you mean an event with attendees, then you could probably disable the status change (accept/decline/tentative) context menu. But if by "invitation" you mean anything more specific, such as limiting it to events created by others, then the answer is IMHO a "no".
I'll add my vote for this enhancement. Needing to go in to the Edit screen and selecting Options->Status to change your attendance status is a pain.
Assignee | ||
Updated•15 years ago
|
Flags: wanted-calendar1.0+ → blocking-calendar1.0+
Whiteboard: [not needed beta][has l10n impact]
Assignee | ||
Updated•15 years ago
|
Whiteboard: [not needed beta][has l10n impact] → [needed beta][has l10n impact]
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needed beta][has l10n impact] → [needed beta][has l10n impact][needs ui-r]
Assignee | ||
Updated•15 years ago
|
Assignee: clarkbw → nisses.mail
Comment 5•15 years ago
|
||
The only source I could quickly for this was this MSDN document [1] that seems in favor of hiding the items as they don't apply to items that are not invites.
To avoid things from jumping around too much and doing tricks to your muscle memory I would suggest putting them at the bottom of the menu.
1. http://msdn.microsoft.com/en-us/library/aa511502.aspx#removeDisable
Comment 6•15 years ago
|
||
also, a right click action for this would make these things much more efficient without risking making the right click menu too long (yes, I'm looking at you thread pane right click menu! ;) )
Comment 7•15 years ago
|
||
so ui-r+ on this approach from me
Assignee | ||
Comment 8•15 years ago
|
||
This patch takes care, carrying forward ui-r+ from Andreas
Assignee: nisses.mail → philipp
Attachment #506379 -
Flags: ui-review+
Attachment #506379 -
Flags: review?(nomisvai)
Assignee | ||
Comment 9•15 years ago
|
||
Attachment #506380 -
Flags: ui-review+
Assignee | ||
Updated•15 years ago
|
Attachment #506379 -
Flags: ui-review+
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needed beta][has l10n impact][needs ui-r] → [needed beta][has l10n impact][needs review]
Comment 10•15 years ago
|
||
Comment on attachment 506379 [details] [diff] [review]
Fix - v1
Thanks for asking me to review this, I see 3 things that I think are important and are missing from the patch:
1) Ability to reply to all instances of a recurring meeting
2) Ability for the organizer to change his participation status
3) Ability for participation status of tasks to be changed
I will attach screenshots of what we did in the oracle add-on, I've wanted to push these in the Lightning code base for a long time but never found the time. For recurrence meeting reply, we basically allow for the same type of operations as if you were double clicking on an instance, if it's an exception, we change the partstat of the exception only, if it's not an exception, we offer, in the menu, 2 sets of option (All occurrences and one instance only) the screenshots are self explanatory IMO.
Attachment #506379 -
Flags: review?(nomisvai) → review-
Comment 11•15 years ago
|
||
Assignee | ||
Comment 12•15 years ago
|
||
(In reply to comment #10)
> Comment on attachment 506379 [details] [diff] [review]
> Fix - v1
>
> Thanks for asking me to review this, I see 3 things that I think are important
> and are missing from the patch:
>
> 1) Ability to reply to all instances of a recurring meeting
Hmm, I see. Maybe we can do the UI a bit differently though, I don't quite like the ( All Occurrences ) part. Maybe we can use special menuitems as headings. Not quite the usual context menu, but I think its better than using ()'s. Andreas, could you comment on this?
> 2) Ability for the organizer to change his participation status
Ok, so the same options to select but to change the organizer status. I'll still be hiding the context menu item if the item has no attendees, so its not in the way for users that don't take part in scheduling. Sound good?
> 3) Ability for participation status of tasks to be changed
Doesn't this already work with the patch with tasks in view? I agree "attend" isn't quite the right word for tasks though, and it will likely not work in the task pane. I'll fix this.
Assignee | ||
Comment 13•15 years ago
|
||
(In reply to comment #12)
> > 1) Ability to reply to all instances of a recurring meeting
Would you be ok with postponing this particular feature to after the release? This is basically the last bug before string freeze and I'd hate to hold the string freeze for another cycle of UI decisions and implementation.
> > 2) Ability for the organizer to change his participation status
Done in my local copy of the patch. No Emails appear to be sent when changing the organizer status, but maybe this has other reasons. This is also not a bug in the patch but likely in the itip code and should be fixed separately.
> > 3) Ability for participation status of tasks to be changed
I've tested this, and at least the attendance menu shows up with options like "I will attend". Given we don't support sending tasks via itip, I think its ok to leave the wording as is and fix it in a followup bug.
Assignee | ||
Comment 14•15 years ago
|
||
Attachment #506379 -
Attachment is obsolete: true
Attachment #509766 -
Flags: review?(nomisvai)
Comment 15•15 years ago
|
||
> > > 1) Ability to reply to all instances of a recurring meeting
> Would you be ok with postponing this particular feature to after the release?
> This is basically the last bug before string freeze and I'd hate to hold the
> string freeze for another cycle of UI decisions and implementation.
I have an issue with this for 2 reasons, 1) bad user experience, try replying to a recurring meeting with 10s of instances that way :( . 2) From a server side perspective this is also bad because it will create a multitude of exceptions which are often more intensive to process than a meeting with just a rule.
Could we just keep the current UI and instead re-use the "Edit this occurrence/Edit All occurrences" prompt if the current instance is not an exception? I would be happy with that.
> > > 2) Ability for the organizer to change his participation status
> Done in my local copy of the patch. No Emails appear to be sent when changing
> the organizer status, but maybe this has other reasons. This is also not a bug
> in the patch but likely in the itip code and should be fixed separately.
Agree, and most caldav servers support implicit scheduling nowadays :)
> > > 3) Ability for participation status of tasks to be changed
> I've tested this, and at least the attendance menu shows up with options like
> "I will attend". Given we don't support sending tasks via itip, I think its ok
> to leave the wording as is and fix it in a followup bug.
Agree
I will review again when you reply to my comment on issue #1
Thanks!
Assignee | ||
Comment 16•15 years ago
|
||
Ok, so styling the menu isn't all that hard. I was able to add labels to the menu and make it look good, at least on Linux (haven't tried others).
Here's the plan for functionality:
The following cases can be selected. Two means two or more.
- A recurring event occurrence and a single event --> ???
- Two single events --> Show options only once (as in Screenshot v1)
- Two recurring events --> Show both options (as in Screenshot v3)
Now to think about what should be shown for mixed single/recurring events?
- Show only one set of options --> Bad, can't select right for recurring evnts
- Show both options --> Good, but what happens for single events?
The solution may be that for single events, selecting both "this occurrence/..." and "all occurrences/..." causes the single event status to be changed.
Objections?
Assignee | ||
Comment 17•15 years ago
|
||
This patch should take care, I'd appreciate some testing on a server that does real invitations.
Attachment #509766 -
Attachment is obsolete: true
Attachment #510019 -
Flags: review?(nomisvai)
Attachment #509766 -
Flags: review?(nomisvai)
Comment 18•15 years ago
|
||
Comment on attachment 510019 [details] [diff] [review]
Fix - v3
> The solution may be that for single events, selecting both "this
> occurrence/..." and "all occurrences/..." causes the single event status to be
> changed.
I agree.
For the review I have to r- because:
1) The patch seems to work ok for single events but when I have a recurring event it seems not to be working. I will refresh from comm-central and recompile everything just to be sure the problem is not on my side.
2) Right clicking on tasks and events on the sidebar should work the same way as in the calendar view and calendar finder IMO, right not it does not. Same goes for task finder.
Test cases for replying to an event and task:
1) Reply to single event/task
2) Reply to one occurrence of recurring event/task that has no exception
3) Reply to one occurrence of recurring event/task that is already an exception
4) Reply to all occurrences of recurring event/task
5) Reply to all occurrence of recurring event/task w/ one exception (all partstats but exception should be changed)
6) Do tests 1 to 5 from sidebar, calendar view, task view, event finder.
7) Multi-select single, recurring event/task with no exception, recurring meeting with exception, reply all occurrences. make sure all partstats have changed except the exception.
8) Try bunch of other multi-select possibilities in the event finder, change event finder from "All Events" to "All future events" since they both expose different part of a meeting (master instance vs exceptions).
Note that we could merge this bug in 2 phases, I think the strings are fine and could be merged right now so we can do the string freeze.
Attachment #510019 -
Flags: review?(nomisvai) → review-
Updated•15 years ago
|
Whiteboard: [needed beta][has l10n impact][needs review] → [needed beta][has l10n impact]
Assignee | ||
Comment 19•15 years ago
|
||
Ah, I switched the order of if statements in calendar-item-editing.js. We need to check for the invited attendee first, otherwise all events with an organizer that is not yourself will cause no action.
Attachment #510019 -
Attachment is obsolete: true
Attachment #512041 -
Flags: review?(nomisvai)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needed beta][has l10n impact] → [needed beta][has l10n impact][needs review]
Assignee | ||
Comment 20•15 years ago
|
||
I'm going to check this in so we can string freeze soon. If there are any errors or missing features for this bug, we can take care afterwards.
Simon, I'd still appreciate review, when you have time :)
Assignee | ||
Comment 21•15 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/c25fd0381b62>
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Assignee | ||
Comment 22•15 years ago
|
||
Backported to comm-1.9.2 <http://hg.mozilla.org/releases/comm-1.9.2/rev/b859ddbdb54a>
a=philipp
Target Milestone: Trunk → 1.0b3
Assignee | ||
Comment 23•15 years ago
|
||
This patch should be applied in addition to Fix v4, to show the attendance menu also from the task panes.
Attachment #515512 -
Flags: review?(nomisvai)
Comment 24•15 years ago
|
||
Comment on attachment 512041 [details] [diff] [review]
Fix - v4
Approving this but will comment more on the next patch
Attachment #512041 -
Flags: review?(nomisvai) → review+
Comment 25•15 years ago
|
||
Comment on attachment 515512 [details] [diff] [review]
Additional patch for task context menu
This looks good but I think the exit criteria for this patch would be to also have the context menu on the "Today Pane" which is the pane people use for quick access to their calendars.
Attachment #515512 -
Flags: review?(nomisvai) → review-
Comment 26•14 years ago
|
||
What about the additional patch that got review-? Reopening to clarify the situation.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needed beta][has l10n impact][needs review] → [needed beta][has l10n impact][needs new patch]
Assignee | ||
Comment 27•14 years ago
|
||
This takes care of the review comment and also consolidates some duplicated code. Simon, do you have time to review this?
Attachment #515512 -
Attachment is obsolete: true
Attachment #538490 -
Flags: review?(nomisvai)
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needed beta][has l10n impact][needs new patch] → [needed beta][no l10n impact][needs review]
Comment 28•14 years ago
|
||
Comment on attachment 538490 [details] [diff] [review]
Additional patch for task context/today pane
Looks good code wise! r=mschroeder with following considered:
[...]
diff -r 5aef837e76ac calendar/base/content/calendar-common-sets.xul
--- a/calendar/base/content/calendar-common-sets.xul Fri Jun 10 10:39:37 2011 +0200
+++ b/calendar/base/content/calendar-common-sets.xul Fri Jun 10 14:55:18 2011 +0200
[...]
@@ -425,6 +426,63 @@
[...]
+ <menupopup id="task-context-menu-attendance-menupopup">
+ <label id="task-context-attendance-thisoccurrence-label"
+ class="calendar-context-heading-label"
+ scope="all-occurrences"
+ value="&calendar.context.attendance.occurrence.label;"/>
Should the scope be "this-occurence" as the menuitems?
[...]
diff -r 5aef837e76ac calendar/base/content/today-pane.xul
--- a/calendar/base/content/today-pane.xul Fri Jun 10 10:39:37 2011 +0200
+++ b/calendar/base/content/today-pane.xul Fri Jun 10 14:55:18 2011 +0200
@@ -46,6 +46,7 @@
<!ENTITY % dtd3 SYSTEM "chrome://messenger/locale/messenger.dtd" > %dtd3;
<!ENTITY % dtd4 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd4;
<!ENTITY % dtd5 SYSTEM "chrome://global/locale/global.dtd" > %dtd5;
+ <!ENTITY % dtd6 SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd"> %dtd6;
Time for another l10n cleanup and reorganisation? ;)
[...]
@@ -239,15 +214,98 @@
[...]
+ <menupopup id="calendar-today-pane-menu-attendance-menupopup">
+ <label id="calendar-today-pane-attendance-thisoccurrence-label"
+ class="calendar-context-heading-label"
+ scope="all-occurrences"
+ value="&calendar.context.attendance.occurrence.label;"/>
Should the scope be "this-occurence" as the menuitems?
[...]
Attachment #538490 -
Flags: review?(nomisvai) → review+
Assignee | ||
Comment 29•14 years ago
|
||
(In reply to comment #28)
> Comment on attachment 538490 [details] [diff] [review] [review]
> Additional patch for task context/today pane
>
> Looks good code wise! r=mschroeder with following considered:
Martin, thank you very much for your time and review!
> + <menupopup id="task-context-menu-attendance-menupopup">
> + <label id="task-context-attendance-thisoccurrence-label"
> + class="calendar-context-heading-label"
> + scope="all-occurrences"
> + value="&calendar.context.attendance.occurrence.label;"/>
>
> Should the scope be "this-occurence" as the menuitems?
Not for the labels. The idea is to hide even the labels ("This Occurrence: " / "All Occurrences:") when its a single event, since there is only one set of menuitems (accept/decline/...) anyway.
> <!ENTITY % dtd5 SYSTEM "chrome://global/locale/global.dtd" > %dtd5;
> + <!ENTITY % dtd6 SYSTEM
> "chrome://calendar/locale/calendar-event-dialog.dtd"> %dtd6;
>
> Time for another l10n cleanup and reorganisation? ;)
Yes, that would be swell :)
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needed beta][no l10n impact][needs review] → [needed beta][no l10n impact]
Assignee | ||
Comment 30•14 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/16cf72def333>
-> FIXED
Status: REOPENED → RESOLVED
Closed: 15 years ago → 14 years ago
Resolution: --- → FIXED
Target Milestone: 1.0b3 → Trunk
Assignee | ||
Comment 31•14 years ago
|
||
Backported to comm-miramar <http://hg.mozilla.org/releases/comm-miramar/rev/8264edcd4cf2>
Target Milestone: Trunk → 1.0b4
You need to log in
before you can comment on or make changes to this bug.
Description
•