Skip to content

Conversation

@linearcombination
Copy link
Contributor

New strategies, layouts, linking, and context aware options

This is a big commit. The primary deliverable for this commit is
adding versification at the book and chapter chunk level for PDF,
ePub, and Docx, their supporting front and backend tests, and new
layouts that match the document prototype provided by the PO as a
guide.

This commit also makes TW words linking work properly.

This commit also adds new optional settings that the user may select
which are contextually relevant for the given assembly
strategy (interleaving strategy chosen). These can be seen dynamically
changing on the final settings page of the UI depending on what is
chosen.

Many bug fixes and visual enhancements to layout along the way.

More to be done, but this should be a very useful upgrade for TS.

This PR temporarily retires OT Survey Reviewer's Guide feature for Passages app. It will be re-released later after some fixes.

PO provided new input docs
This might be put back in place later, but with new layouts it makes
less sense to have a page break before a new chapter.
The parsing isn't quite right, it will come back corrected in a future
update.
We already remove Links: section, but some languages localize the
word.
This is a big commit. The primary deliverable for this commit is
adding versification at the book and chapter chunk level for PDF,
ePub, and Docx, their supporting front and backend tests, and new
layouts that match the document prototype provided by the PO as a
guide.

This commit also makes TW words linking work properly.

This commit also adds new optional settings that the user may select
which are contextually relevant for the given assembly
strategy (interleaving strategy chosen). These can be seen dynamically
changing on the final settings page of the UI depending on what is
chosen.

Many bug fixes and visual enhancements to layout along the way.

More to be done, but this should be a radically useful upgrade for TS.
"tn-condensed": "Condensed Translation Notes",
"tq": "Translation Questions",
"tw": "Translation Words",
# "udb": "Unlocked Dynamic Bible", # Content team doesn't want udb used TODO (just for English or ?)
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe English is the only language that has a UDB resource.

.union(bc_book.lang_code for bc_book in bc_books)
.union(rg_book.lang_code for rg_book in rg_books)
# Collect and duplicate max number of lang_codes
lang_codes = list(
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a clever way of emulating a set that keeps the order of its items.

("pt-br", "1 Corintios"): "1 Coríntios",
(
"rmp",
"Galasians sapta 1. v/1 da-h pol. dal goad phi da-h dululan, ne dal mai-h phi da-h apostel ipais ag mayaib. phi. je-su krais mai-h mam gad pha, nug krais matmat ag mau sen pha, nug da-h ipais ag malan. v/2 da-h ayaid amayaid da-h pha dade, hit jain hen ohvu iu- an sios galesia e-h hagaug. v/3 gad mam hita, hayaug je-su krais pha, nug-te hagaug he-eh phadu ne mab hogad nauha-h da-h-du. v/4",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this correction still needed? I was under the impression that MaryEllen fixed this issue in the source.

@PurpleGuitar PurpleGuitar merged commit 335c0b0 into doc-dev.walink.org Nov 24, 2025
21 of 22 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in DOC Project Management Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants