-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideas for breaking changes #71
Comments
Really? I thought you'd never ask!! ;-)
|
|
As I mentioned in that issue, I don't completely follow, but typically your changes tend to improve things, so I say go for it!
huh? "Not breaking", "accidental breakages"?
Not sure what you mean. Devs can already choose whether or not to support variables, what is a scenario you see to be problematic?
You're maybe thinking of it backwards? I'm saying that Triggers can do everything a feedbacks can (and there's lots of overlap) (correct me if I'm wrong) and more, so what's the need for feedbacks? Do it all in triggers so there's less confusion and overlap. |
Notice how similar these are in condition, but not enough to share any logic (even if we had 'release actions' in triggers) Some of this could maybe be simplified if triggers was refocused to be a replacement for feedbacks, but due to the 'action' nature (vs 'state' nature of feedbacks), it is a lot more effort to get the same result. Even in a simple case of using an expression |
I think a good cleanup of the internal actions and feedbacks should be done first, with consideration of the future so that the chances of the internal actions/feedbacks changing in the future its minimal. I haven't looked recently, but last time I did there was what seemed to be a lot of overlap of older and newer versions of what seemed to be the same actions/feedbacks. Would you be able to clean these up if I created a list of suggestions? I presume there'd have to be a "translator" like an upgrade script that internally converts old actions/feedbacks to the new style.
So what you're speaking to is simply how to keep track of which version of the control to show in the gui - i.e. keeping track of whether the user is in "normal" or "variable" mode? If that's what you mean, then why not just a
Understood. Minor issue. My OCD can't stand overlap and duplication, but the cleanup of the actions and feedbacks would help that a lot. You're right - no need to do anything about the merging as it would probably confuse users even more. |
Any more thoughts about allowing internal actions/feedbacks to be available in presets? I would very much like to add presets as I have been asked by new users, but this limitation is a barrier. |
The Action Recorder is missing the Delay property. When recording actions, the timing can often need to be captured as well to play back the actions with the recorded timing. |
Looks like the structure that includes the delay is already there? |
Can you explain what you mean by the proposed change to |
I've been working on converting an existing module to TypeScript, and I've been running up against the sort of concerns/issues that motivated https://github.com/bitfocus/companion-module-bmd-atem/blob/6ecde2befd989e416c4a34dd2c129815d05f83fc/src/common.ts. It would be extremely nice if the various callback APIs, etc. were tightened up so that using TypeScript is more seamless than it is now (and didn't require that extraordinary mess of typing glue). Having every option value be Along similar lines, it seems in principle possible (or nearly possible?) to have the type system statically restrict values of Last (and easily least), I don't believe this would be a breaking change, but I think it would be backwards-incompatible -- |
Also, this is more than a bit trivial/petty (and if you just said "no" I would understand!), but it would be nice if you could specify colors not just by decimal, but by hex. I'm guessing more than a few users would understand |
@jswalden This thread was meant for discussing breaking changes, but it seems to be parallel universe for any feature request but there is not a single breaking change. It is about ideas of things which can't be done without breaking existing code and will force all or at least some modules to be rewritten. After the adoption rate of the v3 syntax, I hope we won't have a breaking change for years to come. Anyhow, it is possible to use hex colors ever since. You can just enter a color like |
A collection of ideas that could be considered for a breaking change. Many could be done as optional things before then.
Feel free to suggest ideas in comments, or if it needs more description/discussion as an issue that can be linked to
isVisible
functions with the expression syntax. This will make them safer to execute, and hopefully easier for module developers to understand the limitations. This could definitely be added as an option in a minor version, only removing the function support in a major version bumpstatic-text
fields should use markdown, not htmlThe text was updated successfully, but these errors were encountered: