Add IncludeSpecials toggle for station maps and Telegram bot#229
Draft
Copilot wants to merge 1 commit into
Draft
Add IncludeSpecials toggle for station maps and Telegram bot#229Copilot wants to merge 1 commit into
Copilot wants to merge 1 commit into
Conversation
Agent-Logs-Url: https://github.com/jjasloot/OVDB/sessions/d59c16da-f087-485a-98b1-5b039ffe8e65 Co-authored-by: jjasloot <5612709+jjasloot@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
jjasloot
May 15, 2026 12:30
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a toggle to show/hide special and historic stations on station maps, and a per-user setting in the Telegram bot to include special stations when searching for nearby stations.
Changes
Backend
StationGroupingmodel: AddedIncludeSpecialsboolean property (defaults tofalse— existing behaviour preserved)Usermodel: AddedTelegramIncludeSpecialsboolean property for the bot setting20260515122447_AddIncludeSpecials): Adds both new columns withDEFAULT FALSEStationMapDTO: ExposesIncludeSpecialsto the APIMappingExtensions: MapsIncludeSpecialsinSelectToStationMapDTOStationMapsController:GetVisitedStationsconditionally excludes special stations based on the per-map settingPutMap/PostMappersist theIncludeSpecialsfieldTelegram bot (
TelegramBotService)TelegramIncludeSpecialsto the nearby-stations querytoggle_specialscallbacks from station-ID callbacks/settingsand the reply-keyboard "⚙️ Settings" button — shows current state with an inline toggletoggle_specialscallback: FlipsTelegramIncludeSpecialsin the DB and updates the settings message in-placeFrontend (Angular)
StationMapinterface: addedincludeSpecials: booleanstation-maps-editdialog: new checkbox bound toincludeSpecialsvia reactive formSTATIONMAP.INCLUDESPECIALSkey added in bothen.jsonandnl.jsonBehaviour
/settings→ toggle inline buttonAll existing tests pass (15/15). Both backend and frontend build without errors.