Skip to content

Backend: test data factory, accessibility prefs, bandwidth-adaptive payload, search scorer - #431

Merged
Mkalbani merged 1 commit into
MindFlowInteractive:mainfrom
mftee:fix/backend-batch-416-419-420-421
Aug 27, 2026
Merged

Backend: test data factory, accessibility prefs, bandwidth-adaptive payload, search scorer#431
Mkalbani merged 1 commit into
MindFlowInteractive:mainfrom
mftee:fix/backend-batch-416-419-420-421

Conversation

@mftee

@mftee mftee commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Adds four small, self-contained utility modules under src/common/utils/:

  • test-data-factory.ts — generic factory helper to reduce test fixture boilerplate
  • accessibility-preferences.ts — validates and merges player accessibility preferences (contrast, TTS, font scale, color-blind mode)
  • bandwidth-adaptive-payload.ts — selects a mobile response payload variant based on reported network type
  • search-relevance-scorer.ts — scores and ranks search results by term-frequency overlap with the query

Closes #416
Closes #419
Closes #420
Closes #421

…payload, and search relevance scorer utilities
@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@mftee Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mkalbani
Mkalbani merged commit cf93205 into MindFlowInteractive:main Aug 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants