Closed
Bug 340560
Opened 19 years ago
Closed 19 years ago
Integrate the replication progress dialog into the LDAP directory properties window
Categories
(MailNews Core :: Address Book, defect)
MailNews Core
Address Book
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Keywords: fixed-seamonkey1.1a, fixed1.8.1)
Attachments
(3 files, 3 obsolete files)
|
25.33 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
|
4.89 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
|
30.31 KB,
patch
|
Bienvenu
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
The replication progress dialog doesn't really need to be a separate window, there is some nice real estate available in the directory properites window just underneath the download button. So combining them should reduce codesize.
Additionally this will let us fix some bugs with it like trying to kick off a replication process twice by accidently double clicking on the button etc.
I've a patch coming up.
| Assignee | ||
Comment 1•19 years ago
|
||
The patch. Implementation for both sm & tb.
Attachment #224599 -
Flags: review?(neil)
Comment 2•19 years ago
|
||
Comment on attachment 224599 [details] [diff] [review]
Patch v1
>+ document.getElementById("download").label =
>+ gReplicationBundle.getString("downloadButton");
I'm not convinced that this can be accessibly localised, but feel free to double-check with KaiRo.
>+ gProgressMeter.setAttribute("mode","undetermined");
Nit: space after comma (and also in EndDownload).
>+ gDownloadInProgress = true;
This is confusing because clicking the button changes it into a cancel button without changing this flag, so it doesn't actually cancel yet. Maybe you should change the button here too.
>+ EndDownload(aStatus);
This confused me until I realised that the C++ is actually abusing nsresults.
>+ gProgressText.value =
>+ gReplicationBundle.getString(aStatus ? "replicationSucceeded" :
>+ (gReplicationCancelled ? "replicationCancelled" :
>+ "replicationFailed"));
Nit: don't need ()s as ?: is right associative.
Attachment #224599 -
Flags: review?(neil) → review+
| Assignee | ||
Comment 3•19 years ago
|
||
(In reply to comment #2)
> (From update of attachment 224599 [details] [diff] [review] [edit])
> >+ document.getElementById("download").label =
> >+ gReplicationBundle.getString("downloadButton");
> I'm not convinced that this can be accessibly localised, but feel free to
> double-check with KaiRo.
Well the two labels that could be used both contain "D" which I've set permantely. I can do Alt-D for both of them (on Linux) and that works fine.
| Assignee | ||
Comment 4•19 years ago
|
||
Addressed Neil's comments and carried forward his sr.
Attachment #224599 -
Attachment is obsolete: true
Attachment #225137 -
Flags: superreview?(bienvenu)
Attachment #225137 -
Flags: review+
| Assignee | ||
Comment 5•19 years ago
|
||
(In reply to comment #4)
> Addressed Neil's comments and carried forward his sr.
Sorry, I meant r.
Status: NEW → ASSIGNED
Comment 6•19 years ago
|
||
(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 224599 [details] [diff] [review] [edit] [edit])
> > >+ document.getElementById("download").label =
> > >+ gReplicationBundle.getString("downloadButton");
> > I'm not convinced that this can be accessibly localised, but feel free to
> > double-check with KaiRo.
>
> Well the two labels that could be used both contain "D" which I've set
> permantely. I can do Alt-D for both of them (on Linux) and that works fine.
Please don't do this. How do you know that all languages contain the same character in both strings and have no conflict of that character with other access keys?
| Assignee | ||
Comment 7•19 years ago
|
||
Comment on attachment 225137 [details] [diff] [review]
Patch v2
Cancelling review due to KaiRo's comments.
Attachment #225137 -
Flags: superreview?(bienvenu)
| Assignee | ||
Comment 8•19 years ago
|
||
New patch that uses two buttons in the xul - it appears that the access key can't be changed dynamically from js, and therefore we need two buttons. Requesting review again due to the changes required.
Attachment #225137 -
Attachment is obsolete: true
Attachment #225157 -
Flags: review?(neil)
| Assignee | ||
Comment 9•19 years ago
|
||
Based on the patch this uses two access keys for the button to avoid localisation issues.
Attachment #225157 -
Attachment is obsolete: true
Attachment #225180 -
Flags: superreview?(bienvenu)
Attachment #225180 -
Flags: review?(neil)
Attachment #225157 -
Flags: review?(neil)
Updated•19 years ago
|
Attachment #225180 -
Flags: review?(neil) → review+
Updated•19 years ago
|
Attachment #225180 -
Flags: superreview?(bienvenu) → superreview+
| Assignee | ||
Comment 10•19 years ago
|
||
I forgot to remove the references to the old files from the jar.mn files.... thankfully I haven't removed the old ones yet.
Attachment #225287 -
Flags: superreview?(bienvenu)
Attachment #225287 -
Flags: review?(bienvenu)
Updated•19 years ago
|
Attachment #225287 -
Flags: superreview?(bienvenu)
Attachment #225287 -
Flags: superreview+
Attachment #225287 -
Flags: review?(bienvenu)
Attachment #225287 -
Flags: review+
| Assignee | ||
Updated•19 years ago
|
Attachment #225180 -
Attachment description: Patch v4 → Patch v4 (checked in to trunk)
| Assignee | ||
Updated•19 years ago
|
Attachment #225287 -
Attachment description: Remove old file references from the jar.mn files. → Remove old file references from the jar.mn files (checked in to trunk)
| Assignee | ||
Comment 11•19 years ago
|
||
This patch combines the previous two for branch checkin (no other changes). Requesting branch approval - this would be a nice little enhancement to the ldap setup for SeaMonkey & Thunderbird. Should be low risk. It has some l10n impact so I'd like to get it in before 15th June if possible - though I don't know if that just applies to firefox or not.
Attachment #225297 -
Flags: approval-branch-1.8.1?(bienvenu)
Updated•19 years ago
|
Attachment #225297 -
Flags: approval-branch-1.8.1?(bienvenu) → approval-branch-1.8.1+
| Assignee | ||
Updated•19 years ago
|
Attachment #225297 -
Attachment description: Combined patch for branch. → Combined patch for branch (checked in)
| Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed-seamonkey1.1a,
fixed1.8.1
Resolution: --- → FIXED
| Assignee | ||
Comment 12•18 years ago
|
||
*** Bug 133886 has been marked as a duplicate of this bug. ***
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•