You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Apply variable substitution in Custom Action Controls #1466
When creating Controls for Custom Actions, it would be very helpful if the variables ${REPO}, ${BRANCH} etc were expanded there as well (at least in some of the fields)...
(Additionally, there seems to be a rather limited length for the Label field for TextBox / Path Selector in the resulting Action-dialog. Could the label and the dialog width be dynamically sized, or the label be placed on its own line/row if exceeding a certain length?)
Activity
ux: always show the scope target of custom action (#1466)
love-linger commentedon Jun 27, 2025
I've pushed a new commit that always shows the scope target of current custom action.
love-linger commentedon Jun 27, 2025
goran-w commentedon Jun 27, 2025
Thank you, that's an improvement. However, could we at least expand relevant variables in the
Defaultfield?It would be very helpful when renaming etc, to be able to start from the existing name and just make a minor adjustment!
enhance: supports to use `${BRANCH}`/`${COMMIT}`/`${TAG}` in `Default…
love-linger commentedon Jun 27, 2025
Done.
goran-w commentedon Jun 27, 2025
Thanks, that's great! However, (sorry to be nitpicky) BUT for consistency the
${REPO}variable should be available in all scopes... 😉It could be included in
PrepareStringByTarget(), I guess.enhance: supports to use `$REPO` in `Default` field of `TextBox`/`Pat…
love-linger commentedon Jun 27, 2025
Done
goran-w commentedon Jun 27, 2025
Great, thanks!
goran-w commentedon Jun 27, 2025
One final tweak: The help-text below
Arguments:can now be re-used belowDefault:to indicate that variables can be expanded there...ux: show built-in parameters for `Default` field of `TextBox` and `Pa…
goran-w commentedon Jun 27, 2025
Perfect!