General: Rewrite global toast error messages with context and guidance - #2517
Merged
Conversation
…dance
Audit all toast error messages in i18n/{en,de}/global.json against the
Context (what failed) + optional Cause + Guidance (what to do next)
pattern from issue #1188. Every message now has a meaningful summary
instead of the generic "Error" / "Fehler" placeholder, and every detail
ends with a concrete next step the user can take (retry, reload, open a
specific page, contact support).
Sections touched: entity.toast.applyFlow.* (17 of these were summary
"Error"), entity.toast.applicationOverview.delete.error,
entity.upload.error.{upload,delete,rename}_failed,
entity.aiExtraction.aiExtractionFailed, imageUpload.error.uploadFailed,
reference.uploadFailed. Withdraw-related toasts are intentionally left
alone because PR #2515 (unsubmit) already rewrites them.
JSON keys are unchanged, so no component code needs updating.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| Security | 1 high |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Cathy0123456789
requested changes
May 15, 2026
…ng messages The previous wording was friendly but too long to read inside the 3-second toast window. This: - Bumps the default toast life to 5s for warnings and 6s for errors (success and info stay at 3s) so users actually get a chance to read them. - Trims every error detail string in EN and DE down to roughly one short sentence with a clear next step (try again, reload, open from overview, contact us). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
General
Client
Motivation and Context
Closes #1188.
The issue points out that most toast error messages in
global.jsonwere too terse to actually help the user. Concretely, 17 of them used the literal summary"Error"/"Fehler", and many details were one short sentence like"This is not a valid jobId."— no context for what action failed, no guidance for what to do next.This PR walks the toast/error sections of
global.json(EN + DE) and rewrites each message against the three-part pattern from the issue:Description
Edited only string values; every JSON key is preserved so no Angular component code needs touching.
Sections rewritten in both EN and DE:
entity.toast.applyFlow.*summary: "Error"/"Fehler"now have meaningful contextual summaries. Details rewritten to follow Context + (Cause) + Guidance.entity.toast.applicationOverview.delete.errorentity.upload.error.{upload,delete,rename}_failedentity.aiExtraction.aiExtractionFailedimageUpload.error.uploadFailedreference.uploadFailedWithdraw-related toasts (
entity.toast.applyFlow.applicationWithdrawn,errorWithdrawingApplication,applicationOverview.withdraw.*) were left untouched here because PR #2515 (Unsubmit / issue #1523) already rewrites them with copy specific to the new "move back to draft" semantics. Avoiding the conflict means the two PRs can land in either order.Out of scope for this PR: toast messages outside
global.json(e.g.job.json,evaluation.json,interview.json,settings.json). The issue title calls out global.json specifically as the worst offender, and bundling every i18n file would blow up the diff. Happy to follow up with per-file passes if you want.Steps for Testing
The fastest way to eyeball the changes is to read the diff — but for live verification:
/application/creation?jobId=not-a-uuid. You should see the "Invalid job link" toast with the new wording, not the old "Error / This is not a valid jobId.".Review Progress
Code Review
Manual Tests
applyFlowtoast in EN and read it as a user — does it actually help?Test Coverage
Client
Last updated: 2026-05-21 12:59:33 UTC