Show enabled status more clearly on model editing page

Created on 13 December 2023, 11 months ago

Problem/Motivation

I spent more than an hour yesterday troubleshooting an ECA model that just wouldn't set a value when I asked it to. I finally realized the model didn't work because, uh, it wasn't enabled/executable.

Hence my feature request: Could there be a clear visual indication somewhere on the model page as to whether a model is enabled/executable or disabled? At present, you have to check the "executable" box in the "process" panel, and you have to expand the "general" tab to see that checkbox.

While I'm at it, why does it say "executable" when the index page (/admin/config/workflow/eca) says "enabled?"

Just some minor UI suggestions for a terrific module.

Feature request
Status

Active

Version

1.2

Component

User interface

Created by

🇺🇸United States rclemings

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rclemings
  • 🇩🇪Germany jurgenhaas Gottmadingen

    Moving this to the bpmn_io project since this is where this is coming from. The executable checkbox is BPMN specific and that's why it's there. We haven't even invented that, we just thought that the existing BPMN property "executable" would perfectly match the enabled/disabled state for Drupal entities. Not sure how to resolve this without getting BPMN to change their standard spec.

  • 🇩🇪Germany rkoller Nürnberg, Germany

    One option might be to add some sort of a "status bar" (not as a drupal status message) to the top of the canvas across the full width with a centered "this model is disabled" label. That way it would not interfere with the bpmn io ui necessarily and on the other hand it would be directly apparent to the person editing that this is not an enabled model and something is different here.
    The second option might be instead of introducing a status bar using the aforementioned regular drupal status/info message. the downside, it takes up way more screen estate due to its height and might be too much of a distraction since disabled bpmn io models are still editable.
    The last option to consider as an addition to one of the previous options or even as an alternative is adding the info that a model is disabled to the h1 in the model header. for screenreader users that might be an mandatory bit of information anyway, but it might be worth to be considered for sighted users as well?

Production build 0.71.5 2024