CentreForDigitalHumanities / CentreForDigitalHumanities/EDPOP

Disable add/remove buttons when no records are selected

Open
#264 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.