[FEAT] Improve actions by a mile

Aperta
#494 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Go
Stelle
421
Fork
50
Merge medio
17h 34m
PR unite (30g)
80

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Windshiftapp/core

Tutte le issue di Windshiftapp/core

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.