Skip to content

BL-16038 Prioritize sign language for Bloom Library QR code#7782

Open
nabalone wants to merge 1 commit intomasterfrom
BL-16038_qr_code_for_sign_language
Open

BL-16038 Prioritize sign language for Bloom Library QR code#7782
nabalone wants to merge 1 commit intomasterfrom
BL-16038_qr_code_for_sign_language

Conversation

@nabalone
Copy link
Copy Markdown
Contributor

@nabalone nabalone commented Mar 26, 2026

https://issues.bloomlibrary.org/youtrack/issue/BL-16038/QR-Code-for-Sign-Language

Use the same sign-language-first Bloom Library language selection for QR code generation that the collection banner already uses.

Summary:

  • add shared collection settings helpers for the Bloom Library primary language tag and name
  • use that shared logic in the collection banner book-count lookup and QR code generation
  • add regression tests for collections with and without sign language

Tests:

  • dotnet test src/BloomTests/BloomTests.csproj --filter "PrimaryLanguage_WithoutSignLanguage_UsesLanguage1|PrimaryLanguage_WithSignLanguage_UsesSignLanguage" --no-restore

Open with Devin

This change is Reviewable

https://issues.bloomlibrary.org/youtrack/issue/BL-16038/QR-Code-for-Sign-Language

Use the same sign-language-first Bloom Library language selection for QR code generation that the collection banner already uses.

Summary:
- add shared collection settings helpers for the Bloom Library primary language tag and name
- use that shared logic in the collection banner book-count lookup and QR code generation
- add regression tests for collections with and without sign language

Tests:
- dotnet test src/BloomTests/BloomTests.csproj --filter "PrimaryLanguage_WithoutSignLanguage_UsesLanguage1|PrimaryLanguage_WithSignLanguage_UsesSignLanguage" --no-restore
@nabalone
Copy link
Copy Markdown
Contributor Author

GitHub Copilot submitted #7782

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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.

1 participant