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

changed disable subject linking to enable for #2872 #2995

Merged
merged 2 commits into from
Feb 13, 2022

Conversation

sylvieed
Copy link
Collaborator

Resolves #2872

The problem

Previously, the "subject linking" / "subject indexing" toggle in the Collection settings page had a double negative, which is counterintuitive and confusing.

disable subject indexing

The solution

Changing the wording to "Enable subject linking" and flipping the boolean going to the database solves this.

enable subject indexing

Changes made

Previously, the check_boxes were using a value parameter to set their state. However, we found this parameter is not doing anything as check_boxes use the method passed to them to set their state. So, all uses of the value parameter in the collection/edit view were removed.

@sylvieed sylvieed linked an issue Feb 10, 2022 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Feb 10, 2022

Coverage Status

Coverage decreased (-0.09%) to 79.848% when pulling 06ef17e on 2872-subject-linking-wording into 219c85e on development.

@benwbrum
Copy link
Owner

The tests are failing because the disable_subjects_spec is looking for the old wording. Changing that wording (and the click/unclick logic) around line 20 should fix them.

Copy link
Owner

@benwbrum benwbrum left a comment

Choose a reason for hiding this comment

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

This looks good!

@benwbrum benwbrum merged commit c8fd8f4 into development Feb 13, 2022
sylvieed pushed a commit that referenced this pull request Jul 14, 2022
changed disable subject linking to enable for #2872
@benwbrum benwbrum deleted the 2872-subject-linking-wording branch August 3, 2022 15:34
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.

Change “disable subject linking” to “enable”
3 participants