Skip to content
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

Allow selection of any term in the DatasetPreview component #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arteymix
Copy link
Member

@arteymix arteymix commented Sep 7, 2023

Unselecting a term is also implemented.

Fixes #64 and #62

@arteymix arteymix added this to the 0.4.2 milestone Sep 7, 2023
@arteymix arteymix changed the title Feature allow selection of any term Allow selection of any term in the DatasetPreview component Sep 7, 2023
@@ -70,7 +70,8 @@
:selected-categories="searchSettings.categories"
:selected-annotations="searchSettings.annotations"
:available-annotations="datasetsAnnotations"
@chip-clicked="handleChipClicked"></DatasetPreview>
@annotation-selected="selectTerm"
@annotation-unselected="unselectTerm"/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, one could use add a sync prop, bind it to searchSettings.annotations and let the component alter the selection itself.

@arteymix arteymix modified the milestones: 0.4.2, 0.4.3 Sep 22, 2023
@arteymix arteymix modified the milestones: 0.4.3, 0.4.5 Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow selecting terms that are not proposed as option
1 participant