# Lotus Chat — Bug Report & Technical Audit **Date:** June 2026 This document tracks identified bugs, edge cases, and architectural discrepancies found during the audit of the Lotus Chat codebase. Recommended fixes are provided for each item. --- ## 🚩 Critical & UI Bugs ### 1. Avatar Decoration Displacement in Profile **File:** `src/app/components/user-profile/UserHero.tsx` **Status:** **OPEN** - **Issue:** Avatar decorations appear displaced left of the avatar when viewing the profile modal. - **Root Cause:** The `AvatarPresence` badge sticking out to the right shifts the center of the `inline-flex` container. The decoration centers on the container, not the avatar. - **Recommended Fix:** Wrap only the `Avatar` component with `AvatarDecoration`. ### 2. Inconsistent Settings Dropdown Styling **Files:** `Profile.tsx`, `SystemNotification.tsx` **Status:** **OPEN** - **Issue:** Dropdowns for Status Expiry and Notification Sounds use raw HTML `