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

Display additional chant fields on Chant Detail page when they exist #1573

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

dchiller
Copy link
Contributor

@dchiller dchiller commented Jul 23, 2024

This PR updates the chant detail page to include additional fields added for the Benedicamus Domino project (#1473). These include:

  • polyphony (any chant, not just BD-project chants, may have this field filled)
  • liturgical function (any chant, not just BD-project chants, may have this field filled)
  • later addition
  • incipit of refrain
  • rubrics
  • cm melody id

Screenshots for these cases below.

Additionally, in profiling the chant detail page, I discovered our view was making a duplicate query. I've refactored the view code to eliminate this duplicate.

Chant detail page for chant with polyphony and function fields filled

image

Chant detail page for chant in Benedicamus Domino project

image

Closes #1495. Closes #1496.

@dchiller dchiller marked this pull request as ready for review July 24, 2024 12:14
@dchiller dchiller requested a review from lucasmarchd01 July 24, 2024 12:14
Copy link
Contributor

@lucasmarchd01 lucasmarchd01 left a comment

Choose a reason for hiding this comment

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

Side note: For the chant you've used as an example, how is its source None?

@dchiller dchiller merged commit f709567 into DDMAL:develop Jul 24, 2024
1 check passed
@dchiller dchiller deleted the chant-detail-display-fields branch July 24, 2024 15:14
@dchiller
Copy link
Contributor Author

Side note: For the chant you've used as an example, how is its source None?

Ah! I think because I hadn't run @ahankinson's migrate_records command yet when I took the screenshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants