Closed
Bug 272732
Opened 21 years ago
Closed 20 years ago
New event/edit event dialog updates
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
Sunbird 0.3
People
(Reporter: pavlov, Assigned: pavlov)
References
(Depends on 1 open bug)
Details
Attachments
(13 files, 2 obsolete files)
|
100.08 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
|
107.76 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
4.30 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
48.52 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
20.16 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
42.01 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
42.32 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
18.91 KB,
patch
|
mattwillis
:
first-review+
|
Details | Diff | Splinter Review |
|
13.46 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
14.55 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
15.80 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
|
12.22 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
|
77.22 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
Updating the event dialog to use the new calendar APIs as well as a revamp'd
dialog by Matthew Willis. A few things are still needed like recurance and some
alarm work, but this gets things being added to a calendar.
| Assignee | ||
Comment 1•21 years ago
|
||
| Assignee | ||
Updated•21 years ago
|
Attachment #167625 -
Flags: first-review?(shaver)
Comment 2•21 years ago
|
||
Comment on attachment 167625 [details] [diff] [review]
inital pass
> getProperty: function (aName) {
>- return this.mProperties.getProperty(aName);
>+ try {
>+ return this.mProperties.getProperty(aName);
>+ } catch (e) {
>+ return undefined;
>+ }
> },
I think we'd rather return null here, if indeed we want to suppress this error
in that fashion.
> setProperty: function (aName, aValue) {
> if (this.mImmutable)
>@@ -153,7 +157,10 @@
> deleteProperty: function (aName) {
> if (this.mImmutable)
> throw Components.results.NS_ERROR_FAILURE;
>- this.mProperties.deleteProperty(aName);
>+ try {
>+ this.mProperties.deleteProperty(aName);
>+ } catch (e) {
>+ }
> }
> };
Is the intent to silently fail to delete an item that isn't present? If so,
please confer with Vlad to make sure that that's the desired behavior for this
API, and stick a comment in the IDL somewhere.
>+ case "popup":
>+ showElement("alarm-length-field");
>+ showElement("alarm-length-units");
>+ hideElement("alarm-box-email");
>+ break;
>+ case "popupAndSound":
>+ showElement("alarm-length-field");
>+ showElement("alarm-length-units");
>+ hideElement("alarm-box-email");
>+ break;
Can merge these into a single block with two case labels.
Seems like we could generally merge the popup and popupAndSound cases
throughout
the code, but that's not what this patch is about.
Nothing here looks like a show-stopper to me. Time to wreck some stuff!
Attachment #167625 -
Flags: first-review?(shaver) → first-review+
| Assignee | ||
Comment 3•21 years ago
|
||
checked in. i'll leave this open for additional work on this.
Comment 4•21 years ago
|
||
Attachment #169851 -
Flags: first-review?(pavlov)
Updated•21 years ago
|
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Sunbird 0.3
| Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 169851 [details] [diff] [review]
rev1 - trunk - further updates to eventDialog - more works
with the changes we talked about on irc (style stuff mostly) r=
Attachment #169851 -
Flags: first-review?(pavlov) → first-review+
Comment 6•21 years ago
|
||
(In reply to comment #5)
> (From update of attachment 169851 [details] [diff] [review] [edit])
> with the changes we talked about on irc (style stuff mostly) r=
>
checked in
Comment 7•21 years ago
|
||
Attachment #169853 -
Flags: first-review?(pavlov)
| Assignee | ||
Updated•21 years ago
|
Attachment #169853 -
Flags: first-review?(pavlov) → first-review+
Comment 8•21 years ago
|
||
(In reply to comment #7)
> Created an attachment (id=169853) [edit]
> rev2 - trunk - fixes window title
>
checked in
Comment 9•21 years ago
|
||
Comment 10•21 years ago
|
||
Attachment #170092 -
Attachment is obsolete: true
Attachment #170157 -
Flags: first-review?(pavlov)
| Assignee | ||
Updated•21 years ago
|
Attachment #170157 -
Flags: first-review?(pavlov) → first-review+
Comment 11•21 years ago
|
||
(In reply to comment #10)
> Created an attachment (id=170157) [edit]
> rev4 - trunk - more fixes, more refactoring, less redundant code, more work on
> event vs. todo
checked in
Comment 12•21 years ago
|
||
Attachment #170179 -
Flags: first-review?(pavlov)
| Assignee | ||
Comment 13•21 years ago
|
||
Comment on attachment 170179 [details] [diff] [review]
rev5 - trunk - incorporates changes we talked about on IRC
r= with the title fixes we talked about on irc
Attachment #170179 -
Flags: first-review?(pavlov) → first-review+
Comment 14•21 years ago
|
||
(In reply to comment #13)
> (From update of attachment 170179 [details] [diff] [review] [edit])
> r= with the title fixes we talked about on irc
>
Checked in with the fixes:
16:33 <stuart> your changeTitleBar thing doesn't have a var title anywhere
16:33 <stuart> add var title; at the top of that function and remove it fro
mprocessComponentType
Comment 15•21 years ago
|
||
Attachment #170199 -
Flags: first-review?(pavlov)
Comment 16•21 years ago
|
||
Attachment #170199 -
Attachment is obsolete: true
Attachment #170242 -
Flags: first-review?(pavlov)
Updated•21 years ago
|
Attachment #170199 -
Flags: first-review?(pavlov)
| Assignee | ||
Updated•21 years ago
|
Attachment #170242 -
Flags: first-review?(pavlov) → first-review+
Comment 17•21 years ago
|
||
(In reply to comment #16)
> Created an attachment (id=170242) [edit]
> rev7 - trunk - more UI work, adds support for event priority and todo statuses
Checked in.
Comment 18•21 years ago
|
||
Updated•21 years ago
|
Attachment #170276 -
Flags: first-review?(pavlov)
| Assignee | ||
Updated•21 years ago
|
Attachment #170276 -
Flags: first-review?(pavlov) → first-review+
Comment 19•21 years ago
|
||
(In reply to comment #18)
> Created an attachment (id=170276) [edit]
> rev8 - trunk - fixes to alarms for event vs. todo, etc.
Checked in.
Comment 20•21 years ago
|
||
Attachment #170309 -
Flags: first-review?(pavlov)
Comment 21•21 years ago
|
||
Comment on attachment 170309 [details] [diff] [review]
rev9 - trunk - "OK" stuff now works for both events and todos
r=dmose via irc
Attachment #170309 -
Flags: first-review?(pavlov) → first-review+
Comment 22•21 years ago
|
||
(In reply to comment #20)
> Created an attachment (id=170309) [edit]
> rev9 - trunk - "OK" stuff now works for both events and todos
Checked in.
Comment 23•21 years ago
|
||
Attachment #170368 -
Flags: first-review?(pavlov)
| Assignee | ||
Updated•21 years ago
|
Attachment #170368 -
Flags: first-review?(pavlov) → first-review+
Comment 24•21 years ago
|
||
(In reply to comment #23)
> Created an attachment (id=170368) [edit]
> rev10 - minor fixes to xul/js for recurrence
Checked in.
Comment 25•21 years ago
|
||
Updated•21 years ago
|
Attachment #170398 -
Flags: first-review?(pavlov)
| Assignee | ||
Updated•21 years ago
|
Attachment #170398 -
Flags: first-review?(pavlov) → first-review+
Comment 26•21 years ago
|
||
(In reply to comment #25)
> Created an attachment (id=170398) [edit]
> rev11 - trunk - fixes day checkboxes in recurrence
Checked in.
Comment 27•21 years ago
|
||
| Assignee | ||
Updated•21 years ago
|
Attachment #170407 -
Flags: first-review+
Comment 28•21 years ago
|
||
Attachment #170632 -
Flags: first-review?(shaver)
Comment 29•21 years ago
|
||
Comment on attachment 170632 [details] [diff] [review]
rev13 - trunk - more UI polish - listbox "remove" buttons now disable/enable properly
Local style omits braces on single-line thens and elses. With that changed,
r=shaver.
Attachment #170632 -
Flags: first-review?(shaver) → first-review+
Comment 30•21 years ago
|
||
(In reply to comment #29)
> (From update of attachment 170632 [details] [diff] [review] [edit])
> Local style omits braces on single-line thens and elses. With that changed,
> r=shaver.
rev13 checked in with those changes
Comment 31•21 years ago
|
||
Attachment #170680 -
Flags: first-review?(shaver)
Comment 32•21 years ago
|
||
Comment on attachment 170680 [details] [diff] [review]
rev14 - trunk - patch standardizes on use of get/setFieldValue, and removes many global vars (ie: gEvent)
r=shaver with IRC comments
Attachment #170680 -
Flags: first-review?(shaver) → first-review+
Comment 33•21 years ago
|
||
(In reply to comment #32)
> (From update of attachment 170680 [details] [diff] [review] [edit])
> r=shaver with IRC comments
Checked in (w/ comments and conflict fixes)
This patch breaks the ability to switch from Event to Todo in the dialog.
More back end work needs to happen to support that.
Updated•20 years ago
|
QA Contact: gurganbl → sunbird
Comment 34•20 years ago
|
||
As far as I can tell, this bug itself is done. We can use individual bugs for remaining things that need to be tweaked.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•