Support for expired stations v2#1141
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for displaying expired/inactive stations (Power Spots) on the map. The implementation introduces a new filter option that allows users to view stations that have passed their end time.
- Adds a new
inactiveStationsfilter to control visibility of expired stations - Updates the station marker logic to handle inactive states with different visual styling
- Modifies the station popup to display appropriate content for inactive stations
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/map/hooks/usePermCheck.js | Adds permission check for inactive stations filter |
| src/pages/map/components/QueryData.jsx | Adds query parameter handling for inactive stations |
| src/features/station/useStationMarker.js | Updates marker logic to handle inactive station states and styling |
| src/features/station/StationPopup.jsx | Adds specific popup content for inactive stations |
| server/src/ui/drawer.js | Adds inactive stations option to UI drawer configuration |
| server/src/models/Station.js | Implements database query logic for inactive stations |
| server/src/filters/builder/base.js | Adds inactive stations to default filter configuration |
| packages/locales/lib/human/en.json | Adds localization strings for inactive stations |
| config/default.json | Adds default configuration for inactive stations filter |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Works great 💪 Thanks |
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
🎉 This PR is included in version 1.40.0-develop.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.40.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #1066. Supersedes #1140.
@kamieniarz Please review.