Breadcrumbs should reflect the (navigation) path

Description

The Topology Map should show breadcrumbs to reflect the elements currently visible.
Breadcrumbs should reflect the navigation path.

There are two strategies to implement:

  • Show no breadcrumbs

  • Always show shortest path to root. This strategy always calculates the path to root, despite the actual path used

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Jesse White October 18, 2016 at 7:21 AM

Markus von Rüden October 17, 2016 at 10:00 AM
Edited

There doesn't seem to be a good generic solution for breadcrumbs, instead we can make the breadcrumb behavior tunable by choosing one of the strategies:
1) How you did get here (the current strategy)

This strategy has been removed.

We need to fix the case where users search for a vertex, click navigate to, and then can't use the breadcrumbs to go back to that vertex.

The user can now either use the back button or click the parent breadcrumb. This will switch the layer and add the vertex from the layer "below" to focus.

2) How you could have gotten here (show all paths)
(We'll need to same fix as 1) )

This is the "SHORTEST_PATH_TO_ROOT" strategy and always calculates a path to root.

3) You're on your own (no breadcrumbs)

This is the new default strategy.

More details can be found in the PR: https://github.com/OpenNMS/opennms/pull/1078

Jesse White September 21, 2016 at 4:41 PM
Edited

There doesn't seem to be a good generic solution for breadcrumbs, instead we can make the breadcrumb behavior tunable by choosing one of the strategies:
1) How you did get here (the current strategy)
We need to fix the case where users search for a vertex, click navigate to, and then can't use the breadcrumbs to go back to that vertex.
2) How you could have gotten here (show all paths)
(We'll need to same fix as 1) )
3) You're on your own (no breadcrumbs)

Jesse White September 21, 2016 at 4:21 PM

Clicking the parent breadcrumb should select the layer, and add the child to focus (currently the default focus is always used).

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

PagerDuty

Created September 19, 2016 at 3:25 PM
Updated June 3, 2019 at 8:04 AM
Resolved October 18, 2016 at 7:21 AM

Flag notifications