Skip to content

fix: better messages when alignment fails#484

Merged
joanise merged 1 commit intomainfrom
dev.ej/better-alignment-error-messages
Dec 12, 2025
Merged

fix: better messages when alignment fails#484
joanise merged 1 commit intomainfrom
dev.ej/better-alignment-error-messages

Conversation

@joanise
Copy link
Member

@joanise joanise commented Dec 10, 2025

PR Goal?

When we get to the third alignment failure toast, the message was confusing and not helpful, so improve it.
When we get to the second alignment failure toast, it should be a warning only since we automatically try again.

Fixes?

The note quite intuitive messages we get on alignment failure.

Before After
image image

Feedback sought?

Do you agree this is more intuitive?

Priority?

low

Tests added?

no

How to test?

enter this as text:

This is a test, a very long test, and it cannot possibly be aligned to a second or two of noise, so alignment will eventually fail, with three distinct toasts popping up along the way.

record a second or two of noise

then click on go to the next step

Confidence?

medium high

Version change?

no

@semanticdiff-com
Copy link

semanticdiff-com bot commented Dec 10, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  packages/studio-web/src/app/upload/upload.component.ts  10% smaller
  packages/studio-web/src/i18n/messages.es.json  0% smaller
  packages/studio-web/src/i18n/messages.fr.json  0% smaller
  packages/studio-web/src/i18n/messages.json  0% smaller

@github-actions
Copy link
Contributor

github-actions bot commented Dec 10, 2025

PR Preview Action v1.6.3

🚀 View preview at
https://ReadAlongs.github.io/Studio-Web/pr-preview/pr-484/

Built to branch gh-pages at 2025-12-12 18:34 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link
Collaborator

@sergeleger sergeleger left a comment

Choose a reason for hiding this comment

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

This works for me and the warning toasts for first and second failures are logical since the audio processing has not yet fully completed.

Base automatically changed from dev.ej/ng20 to main December 12, 2025 17:34
@joanise joanise force-pushed the dev.ej/better-alignment-error-messages branch from 5e1d175 to 50a72f2 Compare December 12, 2025 18:19
@joanise joanise force-pushed the dev.ej/better-alignment-error-messages branch from 50a72f2 to 9ba87d1 Compare December 12, 2025 18:30
@joanise joanise merged commit d341aff into main Dec 12, 2025
5 checks passed
@joanise joanise deleted the dev.ej/better-alignment-error-messages branch December 12, 2025 18:31
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.

2 participants