feat: add --show-hidden-parameters CLI option for deadline bundle gui-submit#1042
Draft
epmog wants to merge 1 commit intoaws-deadline:mainlinefrom
Draft
feat: add --show-hidden-parameters CLI option for deadline bundle gui-submit#1042epmog wants to merge 1 commit intoaws-deadline:mainlinefrom
--show-hidden-parameters CLI option for deadline bundle gui-submit#1042epmog wants to merge 1 commit intoaws-deadline:mainlinefrom
Conversation
1bc703c to
775f28e
Compare
mwiebe
reviewed
Mar 17, 2026
c31f1df to
8e279c4
Compare
…gui-submit` Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com>
mwiebe
previously approved these changes
Mar 18, 2026
|
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Note this is in draft until #1073 is merged so that we can add the cli-arg and config option at the same time without having an awful UX experience
What was the problem/requirement? (What/Why)
When crafting job bundles, it can be useful to create hidden job parameters to simplify the gui shown to the user by hiding values that they don't normally need to change. However, when debugging these bundles users need to be able to debug and potentially change these values. They want to see and be able to edit all job parameters without manually modifying the bundle on disk.
Additionally, there was a bug where the float spinner could lose precision from values in the template. QDoubleSpinBox defaults to 2 decimal places and truncates values on setValue() before any signals fire, so setValue(2.718) silently becomes 2.72.
What was the solution? (How)
Add a
--show-hidden-paramatersCLI option to quickly allow users to display all the parameters!We infer the UI control from the parameter type using following table since the paramater ui type is
HIDDEN:allowedValues?STRINGLINE_EDITINTSPIN_BOX(integer)FLOATSPIN_BOX(float)PATH(directory)CHOOSE_DIRECTORYPATH(file, input)CHOOSE_INPUT_FILEPATH(file, output)CHOOSE_OUTPUT_FILEDROPDOWN_LISTNote: controls that require an explicit
userInterface.controlhint (likeMULTILINE_EDITorCHECK_BOX) cannot be inferred. A revealed hiddenSTRINGalways becomesLINE_EDIT, notMULTILINE_EDIT, because theHIDDENcontrol replaced whatever the author might have intended.Future change will add a config option to allow usage within DCCs!
What is the impact of this change?
Users can now show previously hidden parameters and modify them in the submission dialog!
How was this change tested?
I also changed the values of the hidden parameters in the gui and confirmed that the submitted job had those updated values.
Was this change documented?
N/A
Does this PR introduce new dependencies?
N/A
Is this a breaking change?
N/A
Does this change impact security?
N/A
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.