Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo-stack is lost when I drill into a decision #858

Open
marstamm opened this issue Apr 30, 2024 · 1 comment
Open

Undo-stack is lost when I drill into a decision #858

marstamm opened this issue Apr 30, 2024 · 1 comment
Labels
backlog Queued in backlog bug Something isn't working spring cleaning Could be cleaned up one day

Comments

@marstamm
Copy link
Contributor

Describe the Bug

When I use the drill-down option, I loose my command stack of the DRD

Recording 2024-04-30 at 10 26 47

Steps to Reproduce

Steps to reproduce the behavior:

  1. open a DRD
  2. Add a decision + change it to decision table
  3. Open the decision table
  4. get back to DRD
  5. Press CTR+Z
  6. Nothing happens

If you report a modeling related issue, ensure you can reproduce it on demo.bpmn.io ✔️

Expected Behavior

The command stack is persisted, I can undo once I am in the DRD viewer.

Alternative:
The command stack is global and I switch views when an action is performed in another element, similar to sub processes in bpmn-js

Environment

Please complete the following information:

  • Browser: [e.g. IE 11, Chrome 69]
  • OS: [e.g. Windows 7]
  • Library version: [e.g. 2.0.0]
@marstamm marstamm added the bug Something isn't working label Apr 30, 2024
@philippfromme
Copy link
Contributor

I can reproduce this. With the current implementation of separate command stacks for each editor I'd at least expect to be able to undo if I didn't make any changes except for switching the editor.

@philippfromme philippfromme added backlog Queued in backlog spring cleaning Could be cleaned up one day labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working spring cleaning Could be cleaned up one day
Development

No branches or pull requests

2 participants