biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 9 forks source link

Dataset registration: disallow multiple selections of same item #88

Closed andrewsu closed 3 years ago

andrewsu commented 3 years ago

In the screenshot below, I can select "RNA-seq" multiple times by repeatedly clicking the green "+". I expect that to only show up once. Ideally, there would also be a visual indicator that the item was successfully added on click (perhaps changing that green "+") when I'm not scrolled down far enough to see the "Selections" box...

image

marcodarko commented 3 years ago
Screen Shot 2021-02-16 at 9 22 16 AM

Will check for matching labels if available and not allow duplicates, thank you!!