Skip to content

Conversation

@Maphikza
Copy link
Member

@Maphikza Maphikza commented Jul 4, 2025

Event Filtering & Profile Performance Improvements

Key Fixes

  • ** Profile Caching**: Added 10-minute LRU cache to prevent subscriber profile backend spam (supports thousands of users)
  • ** Blacklist Reconciliation**: Fixed blocked items not showing as selected on page refresh
  • ** Dynamic Kinds**: Fixed custom kinds not being included in backend whitelist in blacklist mode
  • ** App Buckets Removal**: Completely removed unused App Buckets functionality

Technical Improvements

  • Implemented LRU cache with automatic cleanup and memory management
  • Enhanced Set-based logic for more reliable blacklist calculations
  • Fixed order-of-operations issues in settings reconciliation
  • Improved dynamic kinds handling with proper predefined/custom separation
  • Better UI labels and kind formatting for improved UX

Maphikza added 4 commits July 4, 2025 13:56
- Fix backend API communication for blacklist mode
- In blacklist mode: selected items are blocked, backend receives inverse (allowed items)
- In whitelist mode: selected items are allowed, backend receives them directly
- Fix mode switching to preserve blocked items when loading from backend
- Add helper functions to calculate inverse kinds for blacklist mode
- Ensure core kinds are never blockable in blacklist mode
- Add AddKindForm component for dynamic kind addition
- Add 10-minute caching to subscriber profile fetching to prevent backend spam
- Implement LRU cache with automatic cleanup for thousands of users
- Fix blacklist mode reconciliation to properly show blocked items on page refresh
- Use Set-based logic for more reliable blacklist calculations
- Remove App Buckets functionality from relay settings
- Clean up excessive console logging
- Properly include dynamic kinds in backend whitelist calculation
- Separate predefined vs dynamic kinds in reconciliation logic
- Fix kind formatting in AddKindForm
- Improve UI labels for better UX
- Show dynamic kinds in both whitelist and blacklist modes
@f7f376a1fcd0d0e11a10ed1b6577c9 f7f376a1fcd0d0e11a10ed1b6577c9 merged commit 6e84413 into main Jul 7, 2025
2 checks passed
@ColbySerpa ColbySerpa deleted the ui/event-filtering-improvements branch September 17, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants