[FEAT] Improve actions by a mile

Open
#494 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
go
Domain
backend

Research direction

The issue lists four changes to actions: renaming, duplication, triggering on multiple events, and testing select-list conditions by option rather than ID. Start by locating the action and trigger implementation, then identify how each behavior is currently handled. Done means agreeing on the scope and implementing the selected behaviors; the issue does not specify files, tests, or acceptance criteria.

Written by the indexing model from the issue text.

Description

partial-0.9.5

Current behavior

  • Actions cannot be renamed
  • Actions cannot be copied/duplicated
  • Triggers do not consume more than 1 event
  • Conditions test on the internal key

Why useful

  • Renaming actions allows for more clarity and helps establish naming conventions
  • Duplicating actions saves a lot of time when rebuilding similar actions. This is especially important with the very limited set of triggers
  • Triggering on multiple events would be helpful, as it reduces the need for additional actions / spaghetti-actions. Example:
WHEN
- field 1 is modified AND/OR
- field 2 is modified

THEN
- do something
  • Conditions on select lists test on the ID of the option; this makes actions difficult to read and potentially dangerous to maintain.
Dominant language
Go
Stars
421
Forks
50
Avg merge
17h 34m
Merged PRs (30d)
80

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Windshiftapp/core

All issues in Windshiftapp/core

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.