-
Notifications
You must be signed in to change notification settings - Fork 36
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
custom_fields: enabling visibility on deposit form #681
Conversation
"section": _("Audiovisual core"), | ||
"icon": "camera", | ||
"hide_from_upload_form": False, | ||
"compose_fields": True, # marks the group as dynamic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a better naming for this :) Not sure what yet.....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about be more explicit and say something like
show_all_fields_by_default
show_fields_on_demand
search_fields
(kind of dropdown paradigm of show options vs search for options)
"section": _("Audiovisual core"), | ||
"icon": "camera", | ||
"hide_from_upload_form": False, | ||
"compose_fields": True, # marks the group as dynamic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about be more explicit and say something like
show_all_fields_by_default
show_fields_on_demand
search_fields
(kind of dropdown paradigm of show options vs search for options)
# Custom fields UI components | ||
CUSTOM_FIELDS_UI = [ | ||
# codemeta | ||
# CODEMETA_CUSTOM_FIELDS_UI, # TODO enable when fixed (see https://github.com/zenodo/rdm-project/issues/217) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make sense to check with @0einstein0 if we enable it to check if it's an easy fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was not meant as a part of this sprint if I understood correctly
*AUDIOVIS_FIELDS, | ||
# codemeta, | ||
*CODEMETA_CUSTOM_FIELDS, | ||
# TODO enable when fixed (see https://github.com/zenodo/rdm-project/issues/217) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed with @kpsherva IRL that the naming comment will be handled after the first merge of the chain. If so, then we can go ahead and merge this!
397f4b4
to
28ab451
Compare
28ab451
to
87584a2
Compare
*closes https://github.com/zenodo/rdm-project/issues/649