SchweizerischeBundesbahnen / scion-workbench

SCION Workbench enables the creation of Angular web applications that require a flexible layout to arrange content side-by-side or stacked, all personalizable by the user via drag & drop.
Eclipse Public License 2.0
77 stars 10 forks source link

Perspective active state not written to browser session history #579

Open danielwiehl opened 1 week ago

danielwiehl commented 1 week ago

Describe the bug

The perspective active state is not written to browser session history.

When switching perspectives and navigating back in the browser history, the workbench updates the layout correctly but not the perspective's active state. As a result, the workbench displays the wrong start page and a perspective switcher the wrong active perspective.

To Reproduce

Steps to reproduce the behavior:

  1. Create two perspectives with each having a different start page
  2. Switch perspective
  3. See that the workbench displays the wrong start page and the perspective switcher the wrong active perspective.

Environment