Skip to content

TSA-297: Return contextWords in the verify response - #347

Merged
Dekshad merged 9 commits into
mainfrom
feat/TSA-297-verify-context-words
Sep 22, 2026
Merged

Dekshad merged 9 commits into
mainfrom
feat/TSA-297-verify-context-words

Conversation

@Dekshad

@Dekshad Dekshad commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Closes #297

Populate next.transcription.contextWords in the verify response using the shared buildContextWords and buildPageLexiconMap helpers extracted from DocumentService.

Highlights use the next transcription’s lexicon IDs and returned text, preserving repeated occurrences and accurate offsets. Lexicon reads participate in the verification transaction.

Note

Automatic lexicon population is handled by #296, until then this returns an empty array.

@Dekshad Dekshad added this to the transcripta-release-4 milestone Sep 21, 2026
@Dekshad Dekshad self-assigned this Sep 21, 2026
@Dekshad Dekshad added the backend Backend application label Sep 21, 2026
@Dekshad Dekshad added the feature New feature (auto-applied by the feature template) label Sep 21, 2026
@anjoanka

Copy link
Copy Markdown
Collaborator

Looks good, please resolve the remaining conflicts, so i can approve

@Dekshad
Dekshad requested a review from anjoanka September 21, 2026 13:50
anjoanka
anjoanka previously approved these changes Sep 21, 2026
@MatiStb
MatiStb self-requested a review September 21, 2026 22:24
@MatiStb

MatiStb commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Aproved! Plase merge to main

@Dekshad
Dekshad merged commit 6f0ac34 into main Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend application feature New feature (auto-applied by the feature template)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BE] Return contextWords in the verify response

4 participants