Ticket #106 (closed Feature Request: fixed)

Opened 9 years ago

Last modified 9 years ago

The browser's back button should work as expected

Reported by: jri Owned by: jri
Priority: Major Milestone:
Component: DeepaMehta Standard Distribution Version: 4.0.4
Keywords: Cc: Malte
Complexity: 5 Area: Usability
Module:

Description

The browser's back/forward buttons should navigate the browser's history. The history should store the sequence of selected topics. A history entry could be a topic/topicmap pair.

The URL in the browser's location bar should always reflect the selected topic/topicmap. The URL should function as a permalink.

Could be realized by HTML5 History API.
http://diveintohtml5.org/history.html

Change History

comment:1 Changed 9 years ago by Jörg Richter

Webclient: browser's back buttón works (#106).

The browser's back/forward buttons steps through the history of selected topics and topicmaps.
Each topic/topicmap has a unique URL which appears in the browser's address bar.

Firefox 4, Safari 5, or Chrome is required.

Basically it works. A lot of issues remain, e.g.

  • when topics are deleted history gets corrupted
  • selected associations are not included in the history
  • when stepping back beyond the history begin an error occurs
  • the displayed URL does not actually work yet (permalink feature)

For developers there are 3 new webclient hooks:

  • pre_push_history()
  • pre_pop_history()
  • post_reset_selection()

See ticket 106.

comment:2 Changed 9 years ago by Jörg Richter

  • Status changed from new to closed
  • Resolution set to fixed

New webclient feature: Permalinks (#106).

Individual topicmaps/topics can be addressed via webclient URLs.

To jump into a particular topicmap:
http://localhost:8080/topicmap/2204

To jump into a particular topicmap and display a particular topic of that map:
http://localhost:8080/topicmap/2204/topic/2512

Browser compatibility: the permalinks work in all browsers. However, to see the address bar's location change *while you navigate* (and for functional back and forward browser buttons) Firefox 4, Safari 5, or Chrome is required.

Note: the "topicmap" URL query parameter is not supported anymore. Use the new URL format instead.

Close ticket 106.

comment:3 Changed 9 years ago by jri

  • Cc Malte added

comment:4 Changed 9 years ago by jri

Hi Malte! For your lookmarker Firefox plugin please note:

The "topicmap" URL query parameter is not supported anymore. Use the new URL format instead.

See ticket 106.

comment:5 Changed 9 years ago by Jörg Richter

New webclient feature: Permalinks (#106).

Individual topicmaps/topics can be addressed via webclient URLs.

To jump into a particular topicmap:
http://localhost:8080/topicmap/2204

To jump into a particular topicmap and display a particular topic of that map:
http://localhost:8080/topicmap/2204/topic/2512

Browser compatibility: the permalinks work in all browsers. However, to see the address bar's location change *while you navigate* (and for functional back and forward browser buttons) Firefox 4, Safari 5, or Chrome is required.

Note: the "topicmap" URL query parameter is not supported anymore. Use the new URL format instead.

Close ticket 106.

Note: See TracTickets for help on using tickets.