[FEAT] Improve actions by a mile

Đang mở
#494 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Go
Star
421
Fork
50
Merge trung bình
17 giờ 34 phút
Pull request đã merge (30 ngày)
80

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Windshiftapp/core

Tất cả issue của Windshiftapp/core

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.