-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature: Associate categories inputs with their parents in selecting/deselecting #773
base: development
Are you sure you want to change the base?
Feature: Associate categories inputs with their parents in selecting/deselecting #773
Conversation
…ps in browse page
…d when selected and deselect children of parent when deselected
@syphax-bouazzouni |
C'est super bravo. |
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.
Need to resolve the conflicts and do the old changes request
@syphax-bouazzouni I added it to the upload and edit ontology forms, Ready to be merged now. |
We need to change the behavior in the browse page to be:
|
@Bilelkihal what is the state of this? will it be abandoned or adapted or is it already good to be merged? |
To my knowledge we were waiting for the federation to be activated and the new features related to categories assessed before enabling this. |
PR description
This PR updates the category selection logic to ensure that:
Example:
ANIMAL
and its children areDOG
andCAT
:DOG
orCAT
will automatically select theANIMAL
category.ANIMAL
category will automatically deselect bothDOG
andCAT
This behavior is implemented in the following features
Demo
Enregistrement.de.l.ecran.2024-10-11.a.12.10.17.mov
Enregistrement.de.l.ecran.2024-11-07.a.15.35.42.mov
Enregistrement.de.l.ecran.2024-11-07.a.15.36.31.mov