Frankfurt
Account created on 7 January 2009, over 15 years ago
#

Recent comments

🇩🇪Germany rvolk Frankfurt

Creating users and roles always opens up a couple of related issues. To do it right, the status page should indicate if something is missing, this way site builders can still extend the user and role model, while the module will only ensure the minimum requirements are met. After uninstall a message to the user might be sufficient, informing him that he can delete the user now. So the optional configuration approach in combination with a status checks should be sufficient for the current case. If we want to remove the user and role, we must make sure that it has not been modified or repurposed.

Once the status check is in place, we can use the same routine in the install process and only create the user if missing.

The preview site feels like a no brainer, should be fine to simply remove it.

🇩🇪Germany rvolk Frankfurt

We also discussed this at the Drupal Dev Days in Vienna 2023, the manually sorted list in the management view is responsible for the order of execution, so this kind of makes sense. However, the order should be only relevant per event type, where it's going to be validated and sorted.

Also see https://ecaguide.org/eca/usage/#admin-ui

With the recent development of event specific execution, it would be helpful to see the execution of rules per event type and not all at once. A filter would be certainly helpful, but maybe we should consider a dedicated view of execution order and not mix it up with the management view, where we could handle a multitude of rules.

To get started with I would appreciate:
- a text-filter for "Model" names
- a multi-select-filter for available "Events"
- a bool-filter for "enabled"

Furthermore, with a fresh and empty installation no list is shown, but we can see the save button. It's not really a bug, but just not necessary when there are no rules to be drag & dropped.

A pager might become handy, when we have more than 50 rules. But a pager would break the sorting feature, which would be another argument to specify the execution order per event and not in the management view. In this case a simple counter behind the listed event could indicate how many rules are using the same event, e.g.:

- Update content entity (Content: - any- )
- Presave content entity (Content: - any- ) [Used by 2 rules]

Clicking on the "[Used by 2 rules]", could bring up a screen where we order the rules accordingly.

Keep up the great work, it's already very useful!

Production build 0.69.0 2024