docs: activity log — frontend v2.8.77 (email verify panel stays mounted)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
moojttaba
2026-06-03 21:52:50 +03:30
parent 7b99c66348
commit afc0c81c2d

View File

@@ -1024,4 +1024,18 @@ flips on and the inline code-entry panel renders.
---
### 2026-06-03 — frontend v2.8.77 — keep email verify panel mounted after sending code
Bugfix: pressing «ارسال کد تأیید» reverted the settings view to its initial
(non-edit, no-panel) state — the code field never appeared. Root cause:
handleRequestEmailChange awaited onSaved (checkUserSession), which sets the auth
provider's `loading` flag true; the Mini App shell gates the entire linked block
on `!loading`, so it unmounted + remounted the settings view, wiping its local
pendingVerify/emailEditable state. Removed the session refresh from the send-code
path (the email is only pending then — nothing to refresh until verified;
handleVerify still refreshes after a successful confirm).
**Verification:** tsc clean.
---
<!-- Add new entries above this line. Newest at top. -->