mirror of
https://github.com/yusufipk/YTChatHub.git
synced 2026-09-11 10:56:17 +00:00
feat: implement intelligent message trimming to preserve superchats and memberships while limiting regular messages
This commit is contained in:
@@ -29,12 +29,14 @@
|
||||
- [x] Style overlay with modern design including avatars, badges, and superchat displays.
|
||||
- [x] Ensure transparent background for OBS browser source.
|
||||
- [x] Display new member announcements on overlay.
|
||||
- [x] Timezone-aware timestamp display on overlay.
|
||||
- [x] Add entrance/exit animations for message transitions.
|
||||
- [x] Optimize overlay spacing for efficient use (30-40% more compact).
|
||||
- [x] Remove timestamps from overlay for cleaner display.
|
||||
- [x] Add smooth fade transitions when switching between messages.
|
||||
- [ ] Add theme controls and customization options.
|
||||
|
||||
## Phase 4 – Reliability & Polish
|
||||
- [x] Implement image proxy with caching to prevent YouTube CDN 429 errors.
|
||||
- [x] Implement smart message storage that preserves superchats/memberships.
|
||||
- [ ] Refactor the code
|
||||
- [ ] Add log-in and unique stream id for each logged in user
|
||||
- [ ] Ensure the deployment.
|
||||
@@ -46,10 +48,12 @@
|
||||
- **✅ Modern UI Complete**: Dashboard features centered layout, gradient backgrounds, badges, and superchat displays
|
||||
- **✅ CORS Fixed**: Overlay SSE stream works cross-origin for OBS integration
|
||||
- **✅ Rich Parsing**: Moderators, members, verified users, superchats, and membership gifts all detected and displayed. Currency parsing is now more robust.
|
||||
- **✅ UI Polished**: The dashboard and overlay layouts have been refined for better spacing and alignment. The overlay now matches the dashboard's aesthetic.
|
||||
- **✅ UI Polished**: The dashboard and overlay layouts have been refined for better spacing and alignment. Overlay is 30-40% more compact.
|
||||
- **✅ Auto-Scroll Implemented**: Chat panels now auto-scroll intelligently.
|
||||
- **✅ Timestamp Resolution Fixed**: Critical bug resolved - timestamps now display correct current time instead of 1970 epoch
|
||||
- **✅ Timezone Support**: All timestamps display in user's local timezone with browser detection and GMT+3 fallback
|
||||
- **✅ Timezone Support**: Dashboard timestamps display in user's local timezone with browser detection and GMT+3 fallback
|
||||
- **✅ Visual Selection States**: Three-tier feedback system (active/normal/previously-selected) for better UX
|
||||
- **✅ Image Proxy Implemented**: Backend now proxies all YouTube CDN images (avatars, badges, emojis) with 24hr in-memory cache to prevent 429 rate limit errors
|
||||
- **✅ Overlay Animations**: Smooth fade-out/in transitions when switching between messages
|
||||
- **✅ Smart Storage**: Regular messages limited to 200, superchats and memberships preserved for entire session
|
||||
- **Next**: Add search/filter, error recovery, and polish UX details
|
||||
|
||||
Reference in New Issue
Block a user