-
Notifications
You must be signed in to change notification settings - Fork 41
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
title/descriptions for expandable parameters #370
Comments
Hi @sverhoeven sorry for the late reply here. Is this issue still active? Do you still need this correction/improvement? Cheers, |
Almost one year later 🎂 - is this still relevant @sverhoeven ? |
And another year later. the screenshot from the description is still accurate. I still would like a way to show a nicer title to the user, but need those title from here. |
…dbf71f408fefe43d416ebfd2e7b4818b84bc19d Fixes haddocking/haddock3#370 by having titles in script.
Implemented workaround in my catalog generation script in i-VRESSE/workflow-builder#168 at |
Is your feature request related to a problem? Please describe.
Expandable parameters (aka parameters in defaults.yaml files with
_1
in their name) in the workflow builder app are rendered as an array of sub forms.In the builder I generate
from a defaults.yaml in haddock3
So
mol_shape.items
has a title, butmol_shape
itself does not.I would like to have something like
Currently there is no place where I can get value of
mol_shape.title
,mol_shape.description
andmol_shape.$comment
.Describe the solution you'd like
Somewhere in the haddock3 code to define title/short/long for the parameter in its collapsed state.
This could be done as additional keys in defaults.yaml like
However this solution only works nicely for type 3 expandable parameters
Describe alternatives you've considered
s
to title of array item.nfle1.title.replace('Number of', '')
), however these will disappear in fix for Handlen<param>
parameter assignment logic internally? #369Additional context
Add any other context or screenshots about the feature request here.
Below is a screenshot of the app. Instead of
mol_shape
I would like to show a human readable title.The text was updated successfully, but these errors were encountered: