5204766276
Per request, removed completed/resolved items (full history is in git) and reorganized both into actionable form. LOTUS_BUGS.md (864 -> 77 lines): dropped ~120 fixed-and-verified entries plus all false-positive / won't-fix records. Now two clear sections: "Needs Verification" (fixed in code, awaiting live test, cross-referenced to LOTUS_TESTING.md) and "Open — Actionable" (grouped by theme). LOTUS_TODO.md (771 -> 694 lines): removed completed [x] blocks (they live in LOTUS_FEATURES.md) and consolidated the done-but-untested ones into a single "Done — Awaiting Verification" index pointing at LOTUS_TESTING.md. Pending [ ] items and nested roadmaps (e.g. DeepFilterNet/FRCRN under P5-30) were preserved exactly (verified 42 -> 42); empty sections removed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6.5 KiB
6.5 KiB
Lotus Chat — Open Bugs & Technical Debt
Only OPEN and awaiting-verification items live here. Resolved findings
(fixed-and-verified, false-positives, won't-fix) have been removed to keep this
actionable — the full history is in git. Items fixed in code but not yet
verified in a real environment are in Needs Verification below and have
step-by-step checks in LOTUS_TESTING.md.
Design rules for any fix here: follow the Native-Cinny Law and TDS Design Law in
LOTUS_TODO.md.
⚠️ Needs Verification — fixed in code, awaiting live testing
Implemented and gate-green; confirm each per LOTUS_TESTING.md, then delete the row.
| ID | Item | File / area | Test |
|---|---|---|---|
| #1 | Camera focus during screenshare ("Focus camera" menu) | CallControl.ts, MemberGlance.tsx |
A5 |
| #2 | Chat-background animation flicker (contain:paint) |
lotus/chatBackground.ts |
F1 |
| #3 | Avatar decorations on call tiles | call/CallMemberCard.tsx |
A6 |
| #4 | DM/group ringtone selection + in-call banner | CallEmbedProvider.tsx, ringtones.ts |
A1–A4 |
| #6 | Background vs. seasonal theme mutual exclusion | state/settings.ts, General.tsx |
F2 |
| #7 | Composer toolbar touch targets (≥44px) | room/RoomInput.tsx |
E1 |
| #8 | Room Settings horizontal overflow (mobile) | components/page/style.css.ts |
E2 |
| #9 | Modal fullscreen on mobile (useModalStyle) |
22+ modal files | E3 |
| #10 | Composer not hidden by keyboard (100dvh) |
src/index.css |
E4 |
| #12 | PiP mute badge attribution (you vs. all-muted) | CallEmbedProvider.tsx |
G1 |
| N96 | Call-recovery overlay single "Back" button | call/CallView.tsx |
A7 |
| EC | EC iframe load watchdog + self-heal + recovery UI | plugins/call/CallEmbed.ts, CallView.tsx |
A7 |
| Gal | MediaGallery lazy-decrypt (true virtualization deferred) | room/MediaGallery.tsx |
H1 |
| a11y | aria-labels: edit-history / reaction / thread / reply | message/* (FallbackContent, Reaction, Reply) |
I |
🔴 Open — Actionable
Calls / Audio
- N95 — AFK auto-mute keeps the hardware mic active while muted.
useAfkAutoMute.tsholds its owngetUserMediastream independent of EC's; muting in the UI doesn't stop those tracks, so the OS recording indicator stays lit. Fix: stop theMediaStreamtracks on mute, re-request on unmute. (Repro:LOTUS_TESTING.mdL1.) - N127 — ML denoise shim is never injected in
vite dev. ThelotusDenoiseplugin injects only oncloseBundle(build), so ML noise suppression is silently inactive during local dev. Add a dev-mode injection (configureServer/transformIndexHtml). Dev-only impact.
Security & Privacy
- N97 — Access token stored in plaintext
localStorage(state/sessions.ts), vulnerable to XSS; device ID likewise. Architectural — needs a token-protection / session-storage redesign. - Session writes are non-atomic and not cross-tab synced (
state/sessions.ts) — risks inconsistent state / races across tabs. - Persisted PII without encryption: user status message + expiry (
settings/account/Profile.tsx), unsent composer drafts (room/RoomInput.tsx). Leak risk on shared devices.
PWA / Offline / Notifications
- N105 — Service worker has no
notificationclickhandler — notification clicks are broken when the tab is closed. NeedsshowNotification()via the SW + anotificationclicklistener. - N107 — SW has no
pushhandler — Web Push delivery is entirely non-functional. Needs apushlistener + a Matrix push-gateway integration. - N108 — No maskable PWA icon — Android adaptive icons render incorrectly. Needs a maskable icon asset +
purpose: "maskable"manifest entry. - No app-asset caching strategy (
src/sw.ts) — no offline capability. manifest: falseinvite.config.js— may block correct PWA install if not handled externally.
Dependencies & Build
matrix-js-sdkpinned to a Release Candidate (41.6.0-rc.0);@atlaskitand build tools (vite,typescript,eslint) on unstable/experimental pins — review for stable versions; RC SDK is a tree-shaking/bundle-size risk.- Build-time overhead:
lotusDenoisedoes heavy sequentialfswork incloseBundle;viteStaticCopyconfig is complex with redundant renames — could be streamlined.
Code Hygiene / DevEx
- No automated test suite (
src/) — no unit/integration tests configured. - Extensive
as anycasts acrosssrc/— gradual typing cleanup. types/matrix/mirrors SDK types instead of importing them — drift risk.- Hardcoded CDN URL should move to an env var (the decoration CDN is now single-sourced in
avatarDecorations.ts, but the literal is still in-repo). patch-folds.mjseditsnode_modulesdirectly — considerpatch-package.- Infra docs:
contrib/nginxlacks security headers (HSTS/CSP) + uses rewrites overtry_files;contrib/caddyhas a placeholder path. CI/CD (prod-deploy.yml): sequential deploy, aggressive 1-min Netlify timeout,package-manager-cache: false. - README / CONTRIBUTING: stale upstream bug-tracker/donations/CLA links; README↔CONTRIBUTING misalignment.
- Architecture notes (low priority): deep
features/+hooks/nesting, many small coupled hooks, possible dead CSS/components,SpacingVariant/DropTargetrecipe simplification. - Git workflow (forward-looking): keep commits scoped — past monolithic "fix all bugs" commits and inconsistent prefixes hurt
git bisect.
Big Projects
- #5 — Seasonal themes & chat-background redesign. Current backgrounds are basic CSS; goal is high-fidelity, research-backed, GPU-accelerated designs (layered
oklch,backdrop-filter,contain:paint) with WCAG-AA overlay contrast. Treat each as its own design sprint.