Skip to content

Conversation

@alisa911
Copy link
Contributor

@alisa911 alisa911 commented Jan 7, 2026

No description provided.

@alisa911
Copy link
Contributor Author

alisa911 commented Jan 7, 2026

#1251

@alisa911 alisa911 marked this pull request as ready for review January 8, 2026 11:57
@alisa911 alisa911 requested a review from Copilot January 8, 2026 12:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements a context menu for transport stops, enabling users to view detailed information about public transport stops on the map. The changes add:

  • New translation keys for transport stop types (bus, ferry, train, tram, trolleybus, etc.)
  • A new public transport routes style addon for map rendering
  • Click handlers for transport stops on the map
  • UI components to display transport stop details including routes and action buttons
  • Transport stop icons and associated colors

Reviewed changes

Copilot reviewed 16 out of 28 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
map/src/resources/translations/en/web-translation.json Adds translations for transport stop types and position label
map/src/resources/mapStyles/styles.json Adds publictransportroutes.addon.render.xml to the styles list
map/src/resources/mapStyles/styleRulesResult.json Extensive additions for transport route color definitions across multiple map styles
map/src/resources/mapStyles/attributes.json Restructures to separate regular and public transport attributes
map/src/menu/search/search/SearchResults.jsx Updates imports to use iconPathMap from MapManager
map/src/map/util/MapManager.js Adds iconPathMap and getIconFromMap function (refactored from SearchLayer)
map/src/map/layers/TransportStopsLayer.js Adds click handlers and exports constants for transport stops
map/src/map/layers/SearchLayer.js Removes iconPathMap and getIconFromMap (moved to MapManager)
map/src/map/layers/PoiLayer.js Updates imports to use getIconFromMap from MapManager
map/src/infoblock/components/wpt/wptDetails.module.css Adds CSS styles for transport stop route items
map/src/infoblock/components/wpt/transport/TransportStopsRoutes.jsx New component displaying list of routes at a transport stop
map/src/infoblock/components/wpt/transport/TransportStopRouteItem.jsx New component for individual route display with shield and type
map/src/infoblock/components/wpt/actions/TransportStopActionsButtons.jsx New action buttons for transport stops (favorite, share, directions)
map/src/infoblock/components/wpt/WptDetails.jsx Integrates transport stop handling and display
map/src/infoblock/components/favorite/structure/FavoriteName.jsx Adds support for naming favorites from transport stops
map/src/context/AppContext.js Adds OBJECT_TYPE_STOP constant
map/src/assets/icons/*.svg Adds 11 new transport type icon files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alisa911 alisa911 merged commit 46f1595 into main Jan 9, 2026
@alisa911 alisa911 deleted the 070126_1 branch January 9, 2026 08:06
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.

3 participants