Skip to content

Show persistent "Login temporarily unavailable" notice on failed login - #83

Open
goodbounties-nanoclaw-agent[bot] wants to merge 2 commits into
mainfrom
fix/login-unavailable-notice
Open

goodbounties-nanoclaw-agent[bot] wants to merge 2 commits into
mainfrom
fix/login-unavailable-notice

Conversation

@goodbounties-nanoclaw-agent

Copy link
Copy Markdown
Contributor

Closes #82

Summary

  • Web3Auth, our login provider, has paused its service after a security incident involving Keplr wallets. When a login attempt fails, the generic auto-closing "Failed to login. Please try again." toast is replaced by a persistent "Login temporarily unavailable" notice.
  • The notice has no auto-dismiss and no progress bar, and stays until the user closes it with the X. It keeps the existing error toast look (red ! icon, X button).
  • It is only shown after a failed login attempt. The clean sign-in screen is unchanged.
  • The shared toast now accepts rich content (content alongside message), and rich toasts use an auto height instead of the fixed single-line height. Existing toasts are unaffected.
  • The notice is plain DOM text (no translate="no"), so browser translation works like the rest of the wallet. Both links are embedded in the text (Web3Auth status updates, claim through GoodDapp).
  • No feature flag: this is temporary, and reverting this PR restores the original toast.

Test plan

  • yarn vitest run: 14 files, 128 tests pass (new tests for notice content, link targets, no translate="no", and that the toast is not auto-closed).
  • Biome check passes on the changed files.
  • tsc --noEmit shows no errors in the changed files (existing errors about missing .svg module types are unrelated).
  • Ran the dev server and opened /Welcome/Auth with no Web3Auth config so login failed: the notice appears as a persistent toast with the red ! icon and X.
  • Reviewer: confirm on a deployment that a real failed Web3Auth login shows the notice, that X closes it, and that both links open the right pages.
  • Reviewer: check the notice on a small mobile screen (it is taller than the old one-line toast).

🤖 Generated with Claude Code

…otice on failed login

Web3Auth has paused its service after a security incident. Replace the
auto-closing failed-login toast with a persistent notice (closable via X),
and let the shared toast render rich content.

Refs #82

Co-Authored-By: Claude Code <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)
…notice

Co-Authored-By: Claude Code <noreply@anthropic.com>

On-Behalf-Of: gdpatchagent[onecli] (yaskkeryodtdijpv)

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.

Show "Login temporarily unavailable" notice on failed login (Web3Auth pause)

0 participants