docs: activity log — frontend v2.8.74 (chat alignment + read-only email)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
moojttaba
2026-06-03 19:28:07 +03:30
parent c2b6adcf64
commit d2cfe63132

View File

@@ -979,4 +979,22 @@ existing server-side point grants.
--- ---
### 2026-06-03 — frontend v2.8.74 — Mini App chat alignment fix + read-only email field
- **Chat both-sides bug:** in the Mini App chat every bubble rendered on the
same side in one colour. Root cause: `isMine = senderId === selfId` — when
`selfId` was undefined it matched system/welcome messages (no senderId), so
all bubbles looked "mine". Fixed: ids normalised (string | populated object),
a match now requires BOTH ids non-empty, and `selfId` falls back from `_id`
to `id`. Own = right/primary green, support/system = left/neutral grey.
(telegram-chat-bubble.tsx + selfId hardening in telegram-mini-app-view.tsx.)
- **Read-only email:** the email field is now disabled by default with an
explicit «تغییر ایمیل» toggle, in BOTH the Mini App settings and the web
account-general form. Together with the backend pending-email flow (v2.8.68),
email can only change after the code sent to the NEW address is verified —
no silent change by typing + save.
**Verification:** tsc + eslint clean.
---
<!-- Add new entries above this line. Newest at top. --> <!-- Add new entries above this line. Newest at top. -->