Bug 315013 - [Webapp] Make Deep Linking easier in Infocenter
Summary: [Webapp] Make Deep Linking easier in Infocenter
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 14:50 EDT by Holger Voormann CLA
Modified: 2019-11-14 03:09 EST (History)
3 users (show)

See Also:


Attachments
HTML/JavaScript prototype (1.84 KB, application/zip)
2010-06-02 05:34 EDT, Holger Voormann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Voormann CLA 2010-05-30 14:50:54 EDT
Is:
In Eclipse Infocenter the URL does not follow the navigation between topics: the URL always points to the start page. To reference to a special topic or to bookmark a topic with the web browser, the URL must manually rewritten from e.g.
http://help.eclipse.org/galileo/index.jsp
to
http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/guide/ua_help_setup_infocenter.htm
or
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/ua_help_setup_infocenter.htm

Should:
The URL should follow the navigation between topics so that the build-in bookmark feature of a web browser can be used to bookmark the currently displayed topic.
Comment 1 Holger Voormann CLA 2010-05-30 14:51:58 EDT
With JavaScript only the hash part of the URL can be rewritten because of security reasons.

Example:
  window.location.hash = 'myHash';
changes the URL from
  http://example.org/path
to
  http://example.org/path#myHash
Comment 2 Chris Goldthorpe CLA 2010-06-01 12:26:53 EDT
I understand what you are wanting to do which is to be able to navigate to a page in the help system in Firefox and then create a bookmark in Firefox which will return you to that page. That is not so easy to do in the frame based version of the help system we are currently using since clicking on a link only changes the contents of one frame.

If you open an infocenter in IE there is a button on the toolbar to add bookmarks but we don't have similar functionality for other browsers since there seems to be no good way to set a bookmark from JavaScript. If there was an easy way to allow users of browsers other than IE to set bookmarks I would implement it, I just don't know how to do it.
Comment 3 Holger Voormann CLA 2010-06-02 05:34:19 EDT
Created attachment 170765 [details]
HTML/JavaScript prototype

(In reply to comment #2)
> I understand what you are wanting to do which is to be able to navigate to a
> page in the help system in Firefox and then create a bookmark in Firefox which
> will return you to that page. That is not so easy to do in the frame based
> version of the help system we are currently using since clicking on a link only
> changes the contents of one frame.
> 
This would be possible by using JavaScript to write and read the hash part of the URL and to set the frame location (see attachment).
Comment 4 Pierre Candela CLA 2010-06-02 14:13:54 EDT
(In reply to comment #2)
> I understand what you are wanting to do which is to be able to navigate to a
> page in the help system in Firefox and then create a bookmark in Firefox which
> will return you to that page. That is not so easy to do in the frame based
> version of the help system we are currently using since clicking on a link only
> changes the contents of one frame.
> 

Hi Chris,
in Firefox 3.6.x, you can either:
- right click in the "topic frame" and select "This Frame > Bookmark This Frame"
- right click a node in the "toc frame" and select "Bookmark This Link"

With the 2nd method, though, the bookmark name is sometimes:
- "topic": "Workbench User Guide > Tips and Tricks"
- "container": "Workbench User Guide > Reference"
- "container topic": "Workbench User Guide > Reference > Preferences"
- the topic title: "Workbench User Guide > Eclipse platform overview"

Pierre
Comment 5 Holger Voormann CLA 2010-06-02 17:14:40 EDT
(In reply to comment #4)
> ...in Firefox 3.6.x, you can either: ...
>
I know these workarounds but I like to avoid teaching users how to bookmark a topic (help about help). Please be aware that this feature request is not only about http://help.eclipse.org but about Infocenter in general. Not all people who use Infocenter are technically accomplished.
Comment 6 Chris Goldthorpe CLA 2010-06-02 18:33:57 EDT
That prototype is ingenious, I hadn't thought of using the hash but it looks like it would be feasible for the help system to use the hash to store the topic parameter.
Comment 7 Lars Vogel CLA 2019-11-14 03:09:04 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.