StreamDeckToolkit icon indicating copy to clipboard operation
StreamDeckToolkit copied to clipboard

Allow UUID definition from Implementing Class

Open ivanpointer opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. No - just an annoyance.

Describe the solution you'd like I'd like to be able to use either the ActionUuidAttribute or a solution that allows for runtime values; The attribute can only be instantiated with compile-time values (naturally). Perhaps an overload on a property the BaseStreamDeckAction base class to specify the UUID for the action? (I'm not sure, I haven't dug into the code yet - I'm not sure if an instance of the action is available when the UUID is needed).

Describe alternatives you've considered See above.

Additional context I'll be forking this repo to create a potential solution. I'll submit a PR from my fork to this repo (if I can). If no, I'll respond back in this issue with a link to the PR within my fork to show what I end up with...

** Is there one or more bugs reported related to this suggestion? If so, mention them below*** No.

ivanpointer avatar Aug 06 '21 18:08 ivanpointer

The "sister" issue to this in my fork is: https://github.com/ivanpointer/StreamDeckToolkit/issues/1

ivanpointer avatar Aug 06 '21 18:08 ivanpointer

PR Submitted: https://github.com/FritzAndFriends/StreamDeckToolkit/pull/173

ivanpointer avatar Aug 06 '21 19:08 ivanpointer