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

Change source completeness options; modify source list filters/search by name, source completeness, production method, century #1698

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

dchiller
Copy link
Contributor

@dchiller dchiller commented Nov 8, 2024

This PR makes a number of changes to the source list page:

The PR also modifies the source completeness field and accompanying filters on the source list page (Closes #1699):

  • source completeness field now has 4 options: "complete or mostly complete", "fragment", "fragmented", and "reconstruction"
  • any combination of these fields can now be filtered on the source list page
  • only "fragment" sources have "(fragment)" appended to their Cantus siglum and titles

Note: division of "fragment" and "fragmented" sources will have to be a manual process.

Screenshot of source list page (heading area with filters and then scrolled down to see both fragment and non-fragment sources) with these changes:

image

image

Add tests and modify `make_fake_source` to account for source name. Add types to `get_random_search_term`.

Refs: DDMAL#1697
Splits the "fragment" and "fragmented" option for Source.source_completeness.

Changes the "complete" source option to "complete or mostly complete".

Harmonizes word form for production method: "Printed" -> "Print"
…ilters

Adds a production method filter to the source list page.

Updates the source completeness filter to conform to new source completeness options. Makes it possible to filter by various combinations of source completeness.

Adds associated tests.
@dchiller dchiller changed the title Source list search filters Modify source list filters/search: name, source completeness, production method, century Nov 8, 2024
@dchiller dchiller changed the title Modify source list filters/search: name, source completeness, production method, century Change source completeness options; modify source list filters/search by name, source completeness, production method, century Nov 8, 2024
Adds "Fragment" to the Cantus Siglum cells on the source list page, separated by formatting.
@dchiller dchiller marked this pull request as ready for review November 8, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant