CentreForDigitalHumanities / CentreForDigitalHumanities/EDPOP
Disable add/remove buttons when no records are selected
Open
enhancement
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Inspired by https://github.com/CentreForDigitalHumanities/EDPOP/pull/261#pullrequestreview-2794377504.
Currently, the "add to collection" button is only activated if at least one collection is selected. However, it does this even if no records are selected. Likewise, the "remove from collection" button is always active, even if no records are selected.
Improve the UX by only enabling these buttons when all conditions are met.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.