Closed
Bug 275695
Opened 20 years ago
Closed 19 years ago
Rework Sunbird menubar and menus
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mattwillis, Assigned: ssitter)
References
Details
Attachments
(8 files, 3 obsolete files)
29.35 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
8.89 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
1.87 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
21.61 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
7.10 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
2.76 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
1.35 KB,
patch
|
dmosedale
:
first-review+
|
Details | Diff | Splinter Review |
611 bytes,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
The Sunbird menubar needs work.
We should add things like Undo and Redo, and being a toolkit app, the Extension
and Theme Managers.
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
From IRC:
11:51 <lilmatt> So is it okay for me to begin landing my menubar changes as
described in the wiki on the trunk?
12:40 <stuart> i'm all for landing whatever menu stuff
Patch checked in.
Status: NEW → ASSIGNED
Comment 3•20 years ago
|
||
For reference, here's the section in the wiki that discusses the change:
http://wiki.mozilla.org/index.php/Calendar:Sunbird_UIReview
Also, the usual process would be to ask pavlov@pavlov.net for a review and check
the patch in once he grants the patch a first review. This way it will give
others a chance to comment, seeing that the change is about to land.
Updated•20 years ago
|
Attachment #169378 -
Flags: first-review+
Reporter | ||
Comment 4•20 years ago
|
||
Sorry. Will do in the future.
For reference, I will make the labels localizable once we've locked the menus
down more tightly.
Nit:
The menu item
"View | Workweek days only"
is listed as
"View | Only show work days"
The former wording was chosen because "workweek days" makes clear the context of
days within a week. "Work days" does not give the "week" context, and can be
wrongly taken to exclude holidays as well as weekend days. (Also "show" is
redundant in the "view" menu.)
Reporter | ||
Comment 6•20 years ago
|
||
(In reply to comment #5)
> The former wording was chosen because "workweek days" makes clear the context of
> days within a week. "Work days" does not give the "week" context, and can be
> wrongly taken to exclude holidays as well as weekend days. (Also "show" is
> redundant in the "view" menu.)
Thanks. I'll revert it in the next patch.
Reporter | ||
Comment 7•20 years ago
|
||
Attachment #169852 -
Flags: first-review?(pavlov)
Updated•20 years ago
|
Attachment #169852 -
Flags: first-review?(pavlov) → first-review+
Reporter | ||
Comment 8•20 years ago
|
||
(In reply to comment #7)
> Created an attachment (id=169852) [edit]
> rev1 - trunk - incorporates gekacheka's comment and other minor changes
Checked in.
Comment 9•20 years ago
|
||
Matt,
Are you still planning to work on this one? It's an 0.3a1 blocker (at least
to get the sunbird menu to look like cvs's calendar.xul). If not, we should get
this set to nobody@mozilla.org, so somebody can finish this.
Blocks: 298936
Reporter | ||
Comment 10•20 years ago
|
||
I likely won't be able to get to this bug this month.
Setting back to nobody@mozilla.org as requested.
Assignee: mattwillis → nobody
Status: ASSIGNED → NEW
Comment 11•20 years ago
|
||
(In reply to comment #10)
> I likely won't be able to get to this bug this month.
Matt, was is missing here? If it's just the localization of th currently
hardcoded Menu labels, then I can surely make this happen.
Comment 12•20 years ago
|
||
(In reply to comment #11)
> Matt, was is missing here? If it's just the localization of th currently
> hardcoded Menu labels, then I can surely make this happen.
Simon,
I added it as a blocker mostly because Undo/Redo have the wrong commands
assigned, and hence don't work, but localizing would be great. Also, some of
the open/new calendar commands are getting changed, so some work might need to
be done there. (See my patch on bug 300254)
Comment 13•20 years ago
|
||
This should finish activating all the remaining commands (undo/redo/quit and
fix import/export). It doesn't do anything for l10n, though. We should decide
how string complete we want to be for 0.3a1, and that will determine if this
still blocks it.
Attachment #191339 -
Flags: first-review?(mvl)
Comment 14•20 years ago
|
||
Comment on attachment 191339 [details] [diff] [review]
activate commands
>+ <menuitem id="calendar-quit-menu"
>+ label="Quit"
>+ oncommand="window.close()"/>
I think that won't really quit the app if you have a child windo open, like a
event dialog. I don't really know how to make that work correctly though. I
need to check the source from other apps.
Comment 15•20 years ago
|
||
Toolkit (and xpfe) includes a nice goQuitApplication() in globalOverlay.js.
This version uses it (like firefox does) and doesn't have the import-export
stuff that was in the previous version, since that got checked in earlier.
Attachment #191339 -
Attachment is obsolete: true
Attachment #191400 -
Flags: first-review?(mvl)
Updated•20 years ago
|
Attachment #191339 -
Flags: first-review?(mvl)
Comment 16•20 years ago
|
||
Comment on attachment 191400 [details] [diff] [review]
activate commands v2
looks good. r=mvl
Attachment #191400 -
Flags: first-review?(mvl) → first-review+
Comment 17•20 years ago
|
||
Comment on attachment 191400 [details] [diff] [review]
activate commands v2
Patch checked in. Anyone should feel free to take the l10n issues that remain.
A decision should be made on if this still blocks 0.3a1 now.
Comment 18•20 years ago
|
||
As mentioned in comment 11, here is my take on the l10n part to finally get
this bug from the radar.
Attachment #191796 -
Flags: first-review?(jminta)
Comment 19•20 years ago
|
||
(In reply to comment #18)
> Created an attachment (id=191796) [edit]
> Localize hardcoded entities v1
In this patch I also took the liberty of adding in some missing id's and
accesskeys as I came across them. Since my build machine is offline at the
moment (graphics card seems to be screwed), I couldn't test this properly.
Assignee: nobody → mostafah
QA Contact: gurganbl → sunbird
Updated•20 years ago
|
Assignee: mostafah → nobody
Comment 20•20 years ago
|
||
Comment on attachment 191796 [details] [diff] [review]
Localize hardcoded entities v1
Fantastic. Tested on linux with a clean build and everything worked great.
Leave the bug open though, since there's still a few things that need to be
cleaned up (localize 'Quit' and fix 'Select All').
r=jminta
Attachment #191796 -
Flags: first-review?(jminta) → first-review+
Comment 21•20 years ago
|
||
>Leave the bug open though, since there's still a few things that need to be
>cleaned up (localize 'Quit' and fix 'Select All').
I fixed the "quit"-part (and also the key codes for "new journal", "undo" and
"redo" in calendar-sets.inc). I don't know what you mean by fixing "select
all", so I couldn't do anything about that.
Attachment #191796 -
Attachment is obsolete: true
Attachment #191825 -
Flags: first-review?(jminta)
Comment 22•20 years ago
|
||
Comment on attachment 191825 [details] [diff] [review]
Localize hardcoded entities v2
Looks good. I'm fixing the 'Select All' as we speak. (It still uses the old
gEventSource.)
Attachment #191825 -
Flags: first-review?(jminta) → first-review+
Comment 23•20 years ago
|
||
Other than 'Print', which is a much larger task for a separate bug, 'Select
All' is the final menu-item that worked in 0.2, but doesn't work in trunk.
This updates it.
'Select All' now selects all events in the current view, which seemed like the
intuitively correct behavior (rather than selecting every event ever created).
This should finally finish the bug.
Attachment #191829 -
Flags: first-review?(mvl)
Comment 24•20 years ago
|
||
A bunch of > characters were missed with a checkin on this bug.
Attachment #191854 -
Flags: first-review?(jminta)
Comment 25•20 years ago
|
||
Comment on attachment 191854 [details] [diff] [review]
fix DTD bustage
Thanks for the patch. Checked in.
r=jminta (who sucks as a reviewer)
Attachment #191854 -
Flags: first-review?(jminta) → first-review+
Comment 26•20 years ago
|
||
Missing a quote in calendara-menubar.inc
Attachment #191859 -
Flags: first-review?(dmose)
Updated•20 years ago
|
Attachment #191859 -
Flags: first-review?(dmose) → first-review+
Comment 27•19 years ago
|
||
Attachment #192405 -
Flags: first-review?(jminta)
Comment 28•19 years ago
|
||
Comment on attachment 192405 [details] [diff] [review]
Fix 'show status bar'
Thanks for the patch. Checked in.
Attachment #192405 -
Flags: first-review?(jminta) → first-review+
Updated•19 years ago
|
Attachment #191829 -
Flags: first-review?(mvl) → first-review+
Comment 29•19 years ago
|
||
'Select All' patch checked in. Leaving this open to fix the parts depending on
bug 195580. However, this bug no longer blocks 0.3a1.
No longer blocks: 298936
Comment 30•19 years ago
|
||
Localizing a hardcoded entry, I guess this is the right place to attach the
patch.
Attachment #194086 -
Flags: first-review?(mvl)
Comment 31•19 years ago
|
||
Comment on attachment 194086 [details] [diff] [review]
Localize hardcoded entry
Sorry, posted in wrong bug
Attachment #194086 -
Attachment is obsolete: true
Attachment #194086 -
Flags: first-review?(mvl)
Reporter | ||
Updated•19 years ago
|
Assignee: nobody → ssitter
Comment 32•19 years ago
|
||
(In reply to comment #23)
> Created an attachment (id=191829) [edit]
> fix 'Select All'
>
> Other than 'Print', which is a much larger task for a separate bug, 'Select
> All' is the final menu-item that worked in 0.2, but doesn't work in trunk.
> This updates it.
>
> 'Select All' now selects all events in the current view, which seemed like the
> intuitively correct behavior (rather than selecting every event ever created).
>
> This should finally finish the bug.
This doesn't seem to work if you are in the 'List' view.
It still only selects the current month/week/day as selected in the lower viewing area.
As such there is now no way of selecting an entire years worth of events and exporting them, other than to select each event individually within the 'List' view.
Thanks...
Ross...
Assignee | ||
Comment 33•19 years ago
|
||
(In reply to comment #32)
> This doesn't seem to work if you are in the 'List' view.
That is Bug 321384.
I'm resolving this bug as fixed because the patches have been checked in long time ago. Further work can be done in follow up bugs, e.g. bug 327912.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•