github common-voice/common-voice release-v1.27.1
Mid-sprint release: Target Segments

latest releases: sandbox-v1.118.1-rc1, sandbox-v1.118.0-rc1, sandbox-v1.117.1-rc1...
3 years ago

As mentioned last week, this was a mid-sprint release to enable collection of target segments of clips. The Discourse post has more information about what this means for contributors and how to help out. This release went out on Wednesday, May 20th.

Technical changes specific to target segments:

  • Refactored Clip/Sentence types to account for taxonomy data and to ensure greater consistency between frontend and backend object models
  • Added sentence and clip serving logic to prioritize the target segment first and to limit validations to 2x per sentence
  • Modified clip saving logic to account for taxonomy data
  • Modified clip saving mechanism to pass sentenceId through headers instead of re-hashing the same sentence server-side and introducing inconsistencies
  • Added sentences for the target segment and modified sentence import logic to permit repeated phrases/words across languages
  • Added call-to-action banner on the frontend, which included refactoring existing banner functions to allow for persistent banners with multiple links
  • Added explanatory info on contribution cards for target segment phrases that link out to Discourse
  • Added segment-specific recording minimum length and increased minimum length for regular sentences

Additional features and bugfixes bundled with this release to ensure smoother experience for target segments:

  • Fixed several related bugs for client-side audio processing, including a bug that repeatedly threw the "too quiet" error even if contributors were shouting
  • Sentences that contributors have previously skipped will no longer appear in the sentence queue
  • Added Feature type to allow for more robust feature flag use
  • Modified sentence and clip serving logic to improve query performance
  • Modified clip fetching to minimize unnecessary downloads
  • Added additional indexing to database tables to improve performance
  • Consolidated server-side hashing functions
  • Enabled CSP for all environments for consistency of testing
  • Added useStickyState custom hook to reliably access localeStorage values
  • Fixed bug in the "report sentence/clip" function
  • Enabled server-side Sentry bug tracking

Don't miss a new common-voice release

NewReleases is sending notifications on new releases.