BaryoDev / BaryoDev/barakoCMS

Workflows: allow a trigger to name several content types and several events

Open
#664 0 comments 0 reactions 0 assignees View on GitHub
core enhancement
Dominant language
C#
Stars
6
Forks
7
Avg merge
4h 42m
Merged PRs (30d)
307

Description

Found while planning barakocms.com as a barakoCMS-backed site.

`WorkflowDefinition` has one `TriggerContentType` and one `TriggerEvent`. To say "rebuild the site whenever anything changes in any of these three types" takes five separate definitions that differ only in those two fields and share one action.

Five copies of one intent drift. Add a fourth content type and it is four edits in four places, and nothing fails if you miss one.

## What to change

Let a trigger name several content types and several events. A list in each field, with the existing single value staying valid, so nothing already configured breaks.

Contributor guide

Open the contributing guide

Research direction

Start by locating WorkflowDefinition and the code that consumes TriggerContentType and TriggerEvent. Trace how existing single values are loaded and matched, then verify that old configurations remain valid and that multiple content types and events can share one action.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.