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

Allow edits to chants with no existing full text; fix browse source dropdown #1716

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

dchiller
Copy link
Contributor

@dchiller dchiller commented Nov 21, 2024

Use Source.short_heading in dropdown on the Browse Chants view.

Adjust requirement for a chant to have a non-empty manuscript_full_text_std_spelling field. This PR maintains the requirement for this field to be filled out on chant creation. On chant edit, a chant can be saved with an empty manuscript_full_text_std_spelling field iff that field was already empty. This allows necessary edits to other fields (e.g., changing a genre, feast, or service designation) without necessarily having to locate the full chant text.

Closes #1696. Closes #1715.

Refs #1713: Moves folio-sequence uniqueness check to the ChantCreateForm rather than the ChantCreateView. Also adds this check to the ChantEditForm (previously this was not checked at all on chant edits).



Follow DDMAL#1712 and conform pagination styling of the browse chants templates to other filterable table templates.
Allow edits to chants that did not have an initial full text to be saved even if no full text is added.

Add check for uniqueness of folio-c_sequence to the chant edit page. This requires inclusion of the chant source in the chant edit form: the form, view, and test are edited to add the source to the form.

Refs: DDMAL#1696.
Moves validity checks on the Chant Create view to the Chant Create Form.

Refs: DDMAL#1713.
@dchiller dchiller force-pushed the i1696-allow-save-for-no-full-text branch from c5c964d to d69a155 Compare December 3, 2024 13:06
@dchiller dchiller marked this pull request as ready for review December 3, 2024 13:14
@dchiller dchiller merged commit 5b11019 into DDMAL:develop Dec 17, 2024
1 check passed
@dchiller dchiller deleted the i1696-allow-save-for-no-full-text branch December 17, 2024 20: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.

SourceBrowseChantsView source dropdown has old sigla Allows edits to chants with no full texts to be saved
2 participants