Skip to content

Fix live map date-range filtering - #3217

Open
Freika wants to merge 1 commit into
devfrom
fix/live-mode-date-filter-v2
Open

Fix live map date-range filtering#3217
Freika wants to merge 1 commit into
devfrom
fix/live-mode-date-filter-v2

Conversation

@Freika

@Freika Freika commented Jul 25, 2026

Copy link
Copy Markdown
Owner

GitHub issue: #3098

Summary

  • Realtime map points outside the active date range are no longer shown live.
  • The default "today" view keeps showing points recorded after local midnight (the unchanged today window's end is treated as open-ended; an explicitly selected past range keeps strict end filtering).

Note

  • Re-implemented on current dev (the old realtime controller was restructured). Filtering logic extracted to a pure, unit-tested ESM module.

Verification

  • spec/javascript/maplibre_realtime_filter_test.mjs (14 tests) + full JS suite → 34 tests, 0 failures (node --test).

Drop live points outside the selected range, and keep the default
today view live across local midnight by treating the unchanged
today window's end as open-ended.

Closes #3098
@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: cbbeefc2-f53b-4c53-8258-ac23c3aa5a57

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/live-mode-date-filter-v2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant