perf(replay): threats-only by default, no duplicate first-page or summary fetch

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-11-23 10:15:50 -03:00
1 parent 19bec553f4
commit 91cdb4acbf
12 files changed
+111 -23

No files matched your search

+8
View File
@@ -6,6 +6,14 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versio
## [Unreleased]
### Changed
- Replay plays threats only by default. 96% of the events the page downloaded were `ok` (legitimate traffic, such as crawlers browsing a Git forge), so a 2000-event page covered about 44 minutes and 24 h took about 21 pages. The events API accepts a negated category list (`cat=!ok`, a leading `!` excludes), the Replay category filter has "Threats (default)" and "All, including legitimate traffic" (`cat=all` in the link), and the timeline strip and lead sentence count the same filter.
### Fixed
- Opening Replay no longer downloads the same first events page twice (the page was rebuilt when the period study arrived; loaded events are now annotated in place, and a campaign link or "Only incidents" still rebuild) and no longer requests the summary twice (it reuses the shell's request).
## [2.3.0] - 2026-11-23
### Added