diff --git a/Apprise/Communication/Apprise.cs b/Apprise/Communication/Apprise.cs index 03e2a2f2..4209a0e7 100644 --- a/Apprise/Communication/Apprise.cs +++ b/Apprise/Communication/Apprise.cs @@ -3,14 +3,24 @@ using System.Text.Json; namespace FileFlows.Apprise.Communication; +/// +/// Flow element that send a notification via apprise +/// public class Apprise: Node { public override int Inputs => 1; + /// public override int Outputs => 2; - public override FlowElementType Type => FlowElementType.Communication; + /// + public override FlowElementType Type => FlowElementType.Communication; + /// public override string Icon => "fas fa-bell"; + /// public override bool FailureNode => true; + /// public override string HelpUrl => "https://fileflows.com/docs/plugins/apprise/apprise"; + /// + public override string CustomColor => "#257575"; [Required] [TextVariable(1)] @@ -42,6 +52,7 @@ public class Apprise: Node } } + /// public override int Execute(NodeParameters args) { try diff --git a/BasicNodes/Functions/FailFlow.cs b/BasicNodes/Functions/FailFlow.cs index de68eb6f..75a6c278 100644 --- a/BasicNodes/Functions/FailFlow.cs +++ b/BasicNodes/Functions/FailFlow.cs @@ -24,7 +24,10 @@ public class FailFlow : Node /// Gets the URL for the help page /// public override string HelpUrl => "https://fileflows.com/docs/plugins/basic-nodes/fail-flow"; - + + /// + public override string CustomColor => "var(--error)"; + /// /// Gets or sets the reason to fail the flow /// diff --git a/DiscordNodes/Communication/Discord.cs b/DiscordNodes/Communication/Discord.cs index ca19b42a..c0854723 100644 --- a/DiscordNodes/Communication/Discord.cs +++ b/DiscordNodes/Communication/Discord.cs @@ -5,12 +5,19 @@ namespace FileFlows.DiscordNodes.Communication; public class Discord: Node { + /// public override int Inputs => 1; + /// public override int Outputs => 2; public override FlowElementType Type => FlowElementType.Communication; + /// public override string Icon => "fab fa-discord"; + /// public override bool FailureNode => true; + /// public override string HelpUrl => "https://fileflows.com/docs/plugins/discord/discord"; + /// + public override string CustomColor => "#5865F2"; [Required] [TextVariable(1)] diff --git a/FileFlows.Plugin.dll b/FileFlows.Plugin.dll index f51f1c33..07a3f83f 100644 Binary files a/FileFlows.Plugin.dll and b/FileFlows.Plugin.dll differ diff --git a/FileFlows.Plugin.pdb b/FileFlows.Plugin.pdb index 667a7f99..49be02e5 100644 Binary files a/FileFlows.Plugin.pdb and b/FileFlows.Plugin.pdb differ diff --git a/Gotify/Communication/Gotify.cs b/Gotify/Communication/Gotify.cs index 87e0efe1..af964308 100644 --- a/Gotify/Communication/Gotify.cs +++ b/Gotify/Communication/Gotify.cs @@ -28,6 +28,9 @@ public class Gotify: Node /// Gets if this can be used in a failure flow /// public override bool FailureNode => true; + + /// + public override string CustomColor => "#6fc4e7"; /// /// Gets the Help URL diff --git a/Telegram/Communication/Telegram.cs b/Telegram/Communication/Telegram.cs index dcba8de6..413e514d 100644 --- a/Telegram/Communication/Telegram.cs +++ b/Telegram/Communication/Telegram.cs @@ -20,11 +20,14 @@ public class Telegram: Node /// /// Gets the icon for this flow element /// - public override string Icon => "fas fa-bell"; + public override string Icon => "fab fa-telegram-plane"; /// /// Gets if this can be used in a failure flow /// public override bool FailureNode => true; + + /// + public override string CustomColor => "#0088CC"; /// /// Gets the Help URL