mirror of
https://github.com/dergigi/boris.git
synced 2025-12-26 19:14:52 +01:00
Problem: With 400+ bookmarked events, trying to fetch all referenced events at once caused queryEvents to hang/timeout, making bookmarks appear to not load even though they were emitted. Solution: - Added MAX_IDS_TO_FETCH limit (100 IDs) - Added MAX_COORDS_TO_FETCH limit (100 coordinates) - If counts exceed limits, skip fetching and show bookmarks with IDs only - Bookmarks still appear immediately with placeholder data (IDs) - For smaller collections, metadata still loads in background This fixes the hanging issue for users with large bookmark collections - all 532 bookmarks will now appear instantly in the sidebar (showing IDs), without waiting for potentially slow/hanging queryEvents calls.