bpmn-io / bpmn.io

The bpmn.io website sources.
https://bpmn.io
155 stars 99 forks source link

Be able to navigate process using standard browser navigation #111

Open nikku opened 2 years ago

nikku commented 2 years ago

Is your feature request related to a problem? Please describe

With browsers, IDEs and other tools I'm used to a smooth navigation in the diagram / in and out of scopes via MODIFIER + arrow keys. On an app like the BPMN.io demo, Web Modeler or Camunda Modeler I'd assume that such navigation is supported, too.

Describe the solution you'd like

Describe alternatives you've considered

Do not hook navigation in the diagram. Users need to use the mouse.

Additional context

ALT + arrow keys is the standard shortcut for navigating back and forth in your history in Chrome (Linux) and Sublime Text.

nikku commented 2 years ago

For context, setting and retrieving plane from a link is already done in Camunda Cockpit:

Setting of Plane from link: https://github.com/camunda/camunda-bpm-platform/blob/01049cc462bd8790de70ef8bfe0ae[…]da-commons-ui/lib/widgets/bpmn-viewer/cam-widget-bpmn-viewer.js

Storing the Plane: https://github.com/camunda/camunda-bpm-platform/blob/01049cc462bd8790de70ef8bfe0ae[…]da-commons-ui/lib/widgets/bpmn-viewer/cam-widget-bpmn-viewer.js