Skip to content

fix(settings): replace the language toast instead of stacking another - #2073

Open
claude[bot] wants to merge 1 commit into
mainfrom
claude/language-toast-replace
Open

claude[bot] wants to merge 1 commit into
mainfrom
claude/language-toast-replace

Conversation

@claude

@claude claude Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Requested by Erick Zhao · Slack thread

Changing the UI language in Settings showed a fresh "relaunch to finish switching" toast every time, so trying a few languages left a stack of them. The settings page now remembers the key of the language toast it last showed and closes it before showing the next one, so only one, worded in the latest language, is ever on screen. The toast API is unchanged, and a new test in the settings page suite covers two changes in a row.


Generated by Claude Code

Each UI language change showed a new relaunch toast, so switching a few
times left a pile of them. Keep the key of the one showing and close it
before showing the next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PiGRt9j3GtTFtnAsDt8Y2t
@erickzhao
erickzhao marked this pull request as ready for review November 6, 2026 19:00
@erickzhao
erickzhao requested review from a team and codebytere as code owners November 6, 2026 19:00

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Code review found no issues

No high-confidence issues detected in this change.

This branch has not been deployed

No deployments
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