Skip to content

Commit

Permalink
Merge pull request samuelthng#9 from ChrisMancini/add-action-icons
Browse files Browse the repository at this point in the history
Update notifications.yaml
  • Loading branch information
samuelthng authored Jun 27, 2023
2 parents 33bb3e9 + 7d9e2c5 commit 071a9eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ blueprint:
default: "Confirm"
selector:
text:
confirm_icon:
name: "🙂 Confirmation Icon"
description: "Optional: Custom icon to show on the confirmation button"
default: ""
selector:
icon:
confirm_action:
name: "✅ Confirmation Action"
description: "Optional: Action to run when notification is confirmed"
Expand All @@ -126,6 +132,12 @@ blueprint:
default: "Dismiss"
selector:
text:
dismiss_icon:
name: "🙂 Dismiss Icon"
description: "Optional: Custom icon to show on the dismiss button"
default: ""
selector:
icon:
dismiss_action:
name: "❌ Dismiss Action"
description: "Optional: Action to run when notification is dismissed"
Expand Down Expand Up @@ -233,8 +245,10 @@ sequence:
actions:
- action: "{{ action_confirm }}"
title: !input confirm_text
icon: !input confirm_icon
- action: "{{ action_dismiss }}"
title: !input dismiss_text
icon: !input dismiss_icon
tag: !input tag
persistent: !input persist
channel: !input channel
Expand Down

0 comments on commit 071a9eb

Please sign in to comment.