-
Notifications
You must be signed in to change notification settings - Fork 14
RFC: Script group names #258
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
Comments
This sounds reasonable to me. Note that all the other |
Yes, thanks for pointing that out. I've updated the original post to reflect that (and will use PascalCase when I actually implement this). |
This is an excellent proposal. The "wrong name" has bothered me since the first time I used |
Sounds like there's consensus that I should move forward on this. If either of you want to create PRs adding the new |
I'm working on this right now. As I was rereading #169, I noticed we also had the discussion of how to show the additional descriptions. With the current |
The issue
This is in response to #257.
#257 adds a new script to help configure the hairpin_creator.lua script. The configuration script is named "Hairpin creator configuration", which makes sense. However, on the website the original script is named "Hairpin create crescendo".
https://www.finalelua.com/scripts?search=Hairpin%20create%20crescendo
This has a few issues:
I suggest we figure out a better way of naming scripts with multiple menu items.
How names are currently determined
Names are currently determined from the return value in the plugindef:
This script's name will be shown as "Hairpin create crescendo" since that string is the first value in the return statement. This made sense when we didn't have additional menu options since the first value in the return statement would be what's displayed in the Finale menu. However, this doesn't make sense for scripts taking advantage of the recently added
finaleplugin.AdditionalMenuOptions
option.Now, the name "Hairpin create crescendo" doesn't accurately represent what this script file accomplishes.
Proposal
For scripts with multiple menu items, we allow a new item in the plugin def for the script group name.
To prevent abuse, the new
finaleplugin.ScriptGroupName
field will be ignored if there aren't any additional menu options. However, when there are additional menu options, the script group name will be displayed on the website instead of the first value in the return statement.No changes will be needed to RGP Lua, only to the metadata generator. I hope to tackle this and a few other metadata generator backlog items within the next week or two. Though opening this up for comments and suggestions in the meantime.
cc @cv-on-hub @rpatters1
The text was updated successfully, but these errors were encountered: