Closed
Bug 393084
Opened 18 years ago
Closed 7 years ago
Copy series of recurring events to another calendar [clipboard]
Categories
(Calendar :: General, enhancement)
Calendar
General
Tracking
(Not tracked)
RESOLVED
FIXED
6.2
People
(Reporter: juergen.edner, Assigned: MakeMyDay)
References
(Blocks 1 open bug)
Details
(Whiteboard: [has l10n impact])
Attachments
(2 files, 2 obsolete files)
16.53 KB,
patch
|
MakeMyDay
:
review+
|
Details | Diff | Splinter Review |
1.32 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Thunderbird v2.0.0.6 (20070728) Lightning v0.7pre (2007081804)
I've created a recurring (birthday) event in one ical calendar.
Then I've marked the event and tried to copy it to a second
ical calendar by pressing CTRL-C, selecting the second calendar
and pressing CTRL-V.
As a result only the marked event has been copied and not the
complete recurring event. It would be much better if the program
would automatically asked which data should be copied, only the
current event or the complete (recurring) event.
Reproducible: Always
Steps to Reproduce:
1.see above description
2.
3.
Updated•16 years ago
|
Severity: normal → enhancement
Component: Provider: ICS/WebDAV → General
OS: Windows XP → All
QA Contact: ics-provider → general
Hardware: PC → All
Summary: unable to copy recurring events from one ical calendar to another ical calendar → Copy series of recurring events to another calendar
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: wanted-calendar1.0+
Comment 2•16 years ago
|
||
I'd prefer an additional menu item like "Copy Series" or "Copy All".
Keywords: uiwanted
Updated•16 years ago
|
Summary: Copy series of recurring events to another calendar → Copy series of recurring events to another calendar [clipboard]
Comment 4•12 years ago
|
||
I know it's been a while since someone look at this bug, but what should happen of exceptions in this case? Should they also be copied or left aside?
Assignee | ||
Comment 5•7 years ago
|
||
This patch adds the same behaviour as we have it for editing recurring items by presenting the popup to choose to cut/copy the occurence or the entire series.
I considered to implement separate menu options, but this wouldn't be sufficient for keyboard based workflows since Ctrl+C and Ctrl+X are the standard here, which people expect just to work.
Assignee | ||
Comment 6•7 years ago
|
||
De-bitrotted patch after the recent mass changes. To avoid late string changes, please consider to do the review soon since the patch has string changes.
Attachment #8948238 -
Attachment is obsolete: true
Attachment #8948238 -
Flags: review?(philipp)
Attachment #8951993 -
Flags: review?(philipp)
Comment 7•7 years ago
|
||
Comment on attachment 8951993 [details] [diff] [review]
CutCopyRepeatingItems-V2.diff
Review of attachment 8951993 [details] [diff] [review]:
-----------------------------------------------------------------
Just a few minor nits, otherwise this looks fine.
::: calendar/base/content/calendar-item-editing.js
@@ +561,5 @@
> const MODIFY_PARENT = 3;
>
> + let futureItems = false;
> + let pastItems = [];
> + let returnItem;
Since returnItem can be returned verbatim if aItem is not passed, maybe it makes sense to explicitly initialize to null?
@@ +588,5 @@
> switch (type) {
> case MODIFY_PARENT:
> + for (let item of items) {
> + pastItems.push(item.parentItem);
> + }
pastItems = items.map(item => item.parentItem)
(but I don't have a strong opinion, feel free to keep what you have)
::: calendar/base/content/dialogs/calendar-occurrence-prompt.xul
@@ +46,3 @@
>
> + // Set up title and type label
> + document.title = getDString("windowtitle." + itemType + "." + action);
Maybe use `windowtitle.${itemType}.action` and similar in the other strings?
::: calendar/locales/en-US/chrome/calendar/calendar-occurrence-prompt.properties
@@ +5,5 @@
> header.isrepeating.event.label=is a repeating event
> +header.isrepeating.task.label=is a repeating task
> +header.containsrepeating.event.label=contain repeating events
> +header.containsrepeating.task.label=contain repeating tasks
> +header.containsrepeating.mixed.label=contain repeating items of different type
contain or contains?
@@ +24,2 @@
>
> +buttons.single.occurrence.copy.label=Copy just this occurrence
I don't have a strong feeling here, but s/just/only/ sounds better in my ears.
Attachment #8951993 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 8•7 years ago
|
||
Thanks, updated patch with comments considered.
Attachment #8951993 -
Attachment is obsolete: true
Attachment #8952010 -
Flags: review+
Assignee | ||
Updated•7 years ago
|
Keywords: uiwanted → checkin-needed
Version: unspecified → Trunk
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/6bb845d0c8fc
Allow to cut/copy the series or a single occurrence for repeating items. r=philipp
Updated•7 years ago
|
Target Milestone: --- → 6.2
Comment 10•7 years ago
|
||
> +buttons.multiple.allfollowing.edit.label=Edit selcted and all future occurrences
> +
> +
> +buttons.multiple.parent.copy.label=Copy all occurrences of selceted items
> +buttons.multiple.parent.cut.label=Cut all occurrences of selceted items
MakeMyDay: can you check for and fix the typos?
Flags: needinfo?(makemyday)
Comment 11•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e0290580088a
fix typos in "selected". rs=typo-fix DONTBUILD
Comment 12•7 years ago
|
||
Thnask, Ton :-)
(Seriously, much appreciated that you advise of spelling mistakes!)
Flags: needinfo?(makemyday)
Assignee | ||
Comment 13•7 years ago
|
||
I didn't craft the string composition properly in the landed patch, the attached one takes care to fix this.
Attachment #8955883 -
Flags: review?(philipp)
Assignee | ||
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•7 years ago
|
Attachment #8955883 -
Flags: review?(philipp) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 14•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/3c9b650ac751
Fix string composition regression. r=philipp
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•