Skip to content

Conversation

@regeter
Copy link
Contributor

@regeter regeter commented Oct 16, 2025

This pull request introduces a powerful and scalable filtering system to the application, allowing users to efficiently navigate large datasets. Key UI/UX enhancements have also been implemented to improve data visibility and interaction, including a more discernible traffic polyline on the map, a more informative trip ID column in the log table.

Key Features & Changes:

  • Advanced Log Filtering System:

    • A new filter bar has been added to the UI, featuring a dropdown menu for toggling log types (for On Demand Trip datasets) and a text input for free-text searching by Trip ID.
    • All data-driven components (LogTable, Map, TimeSlider) and navigation controls (Next/Previous buttons) now respect the active filters, ensuring a consistent and intuitive experience across the entire application.
  • Enhanced Traffic Polyline Visibility:

    • The TrafficPolyline component now renders a "casing", a wider, semi-transparent black line underneath the main colored traffic line. This border effect improves the visibility of the planned route against complex map tiles.
  • LogTable Header Update:

    • The "TripId 7" column in the LogTable has been updated to "CurrentTrip12".
    • It now displays the last 12 characters of the trip ID, providing more useful information for identifying specific trips at a glance esp. for trips using UUID. The column width has been adjusted accordingly.
  • Map Click Accuracy Fix:

    • The map's click-to-select-event feature has switched to uses the vehicle's snapped location instead of rawlocation for its proximity search, which is means it can also match trip events. Useful when the user is filtering to just trip events.

Adds a wider, semi-transparent black "casing" polyline that is rendered
underneath the primary colored traffic line on the map.

This creates a border effect that significantly improves the visibility
and contrast of the planned route, especially on complex map backgrounds
or when zoomed out.
Introduces a new filtering system to allow users to narrow down large
log datasets.

- Adds a filter bar to the UI with a dropdown for log types (for On Demand Trips)
  and a text input for filtering by a partial or full Trip ID.
- The core filtering logic is centralized in `TripLogs.getLogs_`.
- All data-driven components (LogTable, Map, TimeSlider) and navigation
  controls now respect the active filters.
@regeter regeter merged commit 46fe54f into googlemaps:main Oct 16, 2025
8 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 16, 2025
* feat(map): Enhance traffic polyline visibility with casing

Adds a wider, semi-transparent black "casing" polyline that is rendered
underneath the primary colored traffic line on the map.

This creates a border effect that significantly improves the visibility
and contrast of the planned route, especially on complex map backgrounds
or when zoomed out.

* feat(filters): Implement advanced log filtering by type and trip ID

Introduces a new filtering system to allow users to narrow down large
log datasets.

- Adds a filter bar to the UI with a dropdown for log types (for On Demand Trips)
  and a text input for filtering by a partial or full Trip ID.
- The core filtering logic is centralized in `TripLogs.getLogs_`.
- All data-driven components (LogTable, Map, TimeSlider) and navigation
  controls now respect the active filters.

* feat(map): Better trip colors that are more distinct from traffic colors

* fix: Remove spammy debug log

* fix: linter 46fe54f
googlemaps-bot pushed a commit that referenced this pull request Oct 16, 2025
## [1.23.0](v1.22.1...v1.23.0) (2025-10-16)

### Features

* Implement Advanced Log Filtering and UI/UX Improvements ([#259](#259)) ([46fe54f](46fe54f))
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 1.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants