Closed Bug 289776 Opened 20 years ago Closed 19 years ago

Make Help table of contents fully platform-specific

Categories

(Firefox Graveyard :: Help Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox1.5

People

(Reporter: jwalden+fxhelp, Assigned: jwalden+fxhelp)

References

Details

Attachments

(1 file)

Once I check in the patch in bug 254992 when I have time to watch the tree,
we'll be able to have platform-specific panel data in Firefox Help.  We should
start taking advantage of this.

The apparent lack of any real ordering in how nodes are listed when the nodes
are split between documents will be helpful here, because the patch doesn't
allow for any detailed sequencing of platform-specific and platform-independent
nodes (i.e., have <specific><general><specific><general><specific> without using
5 separate RDF files to store the data.  Of course, if a node's contents are
entirely specific to one or all platforms, this isn't a problem.

The problem of how to specify platform-independent children of a
platform-specific node (e.g. the children of the Options document) without
duplicating the data in the source tree is one that will require some
consideration.  Duplicating the data is easy, but keeping it in sync becomes
annoying.  Another possible solution would be to store such data in a DTD. 
Because the platform-specific node's ID isn't the same for all platforms (it'll
be <platformfile>.rdf#ID), I don't think there's a way to do this with just RDF,
but I could be wrong.
Status: NEW → ASSIGNED
Target Milestone: --- → Firefox1.1
A list of somehow-platform-specific stuff in firebird-toc.rdf:
-top level
  -Options topic needs title change (more stuff enum'd below)
-sub levels
  -download manager
    -options
  -using Firefox
    -navigating pages > copy/save/print pages > using print preview
    -improving speed/efficiency > make default browser
  -controlling popups
    -options
  -options/preferences
    -Make Default Browser
  -menu reference
    -Firefox menu
    -Window menu
    -File > Print Preview
    -File > Exit/Quit
    -Edit > Preferences
    -Tools > email stuff
    -Tools > Options
    -Help > For IE Users

...and I think that's it.  This is going to be a real pain, especially with how
things are sometimes interwoven.  I'm really starting to think the original idea
of having an optional nc:platform attribute for RDF nodes here is a much, much,
much better idea than attempting to use what's already available throughout (the
problem being that we'd have to write a patch and get it approved ASAP).  It's
more logical and would have less redundancy (which would make it easier to write
patches).  As it is right now we're going to have a lot of duplication of stuff
(particularly in the Options topic, and I haven't even gotten to the index yet)
if we do it the way I think we'd do it.
Depends on: 296012
As a bug affecting l10n, I have to fix this before the freeze coming up in the
next couple weeks.  This will require bug 295817 and bug 296012 both be fixed
before the l10n freeze.  Both have mostly-working patches, but because of code
overlap it'll take me at least couple days to provide a final patch for bug
296012 after bug 295817 is fixed.

The fix for this bug should be trivial, tho it will be somewhat tedious.  I
estimate it would take probably an hour to produce (and thoroughly test, once
bug 296012 is fixed).
Flags: blocking-aviary1.1?
Version: unspecified → Trunk
Hi, I suppose this will involve getting rid of the parentheses around (windows)
in
http://lxr.mozilla.org/mozilla/source/browser/locales/en-US/chrome/help/menu_reference.xhtml#75,
as well as the remarks in the same file that some options are not/only available
on platform X?  (Line 96)
It seems like there is an entry missing in menu reference: Under Go, there is
also a link to the history, which isn't documented. (Windows)
Also, the explanation for Quit/Exit seems a bit nonsensical: if there is any
window open... there always is a window open!
(In reply to comment #5)
> Also, the explanation for Quit/Exit seems a bit nonsensical: if there is any
> window open... there always is a window open!

Even more: I don't get any warning message at all. (with three tabs open)
Regarding comment 3: yes.
Regarding comments 4 to 6: This has nothing to do with this bug. Please file a
new one. And the warning message is on by default (Tools->Options->Tabs->Warn
when closing multiple tabs).
With bug 296012 minused, this isn't going to be plussed to block 1.1.  We'll
just have to work as fast as we can to fix it should that bug get fixed in time.
Flags: blocking-aviary1.1?
(In reply to comment #1)
>     -navigating pages > copy/save/print pages > using print preview

I didn't change this because it wrongly displays on all platforms now.	When we
fix that we can change it properly.

>     -improving speed/efficiency > make default browser

>     -Tools > email stuff

Shell service changes make this unneeded.

I also removed About Firefox from display in the Help menu on Mac -- see
<http://lxr.mozilla.org/mozilla/source/browser/base/content/baseMenuOverlay.xul#100>.


I didn't change the hidden datasources because they're clearly a lower
priority.  Also, if we're getting rid of the multiple instances of stuff like
"Options", this is going to change pretty radically then anyway.  Finally, it's
late and I need sleep more than I want to fix them.  :-)
Attachment #190796 - Flags: review?(steffen.wilberg)
Comment on attachment 190796 [details] [diff] [review]
Patch for toc (only, mostly intentionally)

Sorry for the delay, I messed up my Linux system.

Thanks for this nice improvement over 1.0!

Please also fix this in menu reference by adding the respective platform
classes to the menu ref and the toc:
<h3 id="print_preview">Print Preview (Windows and Linux only)</h3>
<h3 id="for_ie_users">For Internet Explorer Users (Windows only)</h3>

> I also removed About Firefox from display in the Help menu on Mac
Sure, but please also hide it from the menu reference.

r=me with that.

The hidden datasources need major cleanup anyway, which is another bug.
Attachment #190796 - Flags: review?(steffen.wilberg)
Attachment #190796 - Flags: review+
Attachment #190796 - Flags: approval1.8b4?
Attachment #190796 - Flags: approval1.8b4? → approval1.8b4+
Patch checked in, marking FIXED.  Platform specificity in hidden datasources
will be added in the patch(es) for bug 299976.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
OS: Linux → All
Hardware: PC → All
Resolution: --- → FIXED
Summary: Make table of contents, index, etc. be fully platform-specific → Make Help table of contents fully platform-specific
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: