Repository navigation
Fix/final fixes - #16
Merged
Merged
Conversation
Use React's cache() function to memoize fetchNetworkDetail between generateMetadata and the page component, avoiding duplicate API calls on each navigation to /network/[id].
- Prevent map click from clearing selection when clicking on station pin - Set popup z-index above markers in CSS to ensure visibility
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add GeolocationProvider context for app-wide location state - Auto-request location permission on first page load - Sort networks by distance when user position is available - Auto-fly map to user location on detection - Update NearMeButton to use shared geolocation context - Move geolocation constants to constants.ts - Remove unused useGeolocation hook Revert "feat: auto-detect user location and show nearest networks" This reverts commit cda6dfe.
This reverts commit 8ea8458. fix: fixed tests problems
mitoperni
force-pushed
the
fix/final-fixes
branch
from
February 6, 2026 15:43
91718bc to
87d71d6
Compare
This branch was successfully deployed
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.
Description
Add geolocation auto-detection with nearest networks sorting, fix station popup z-index overlap, deduplicate API calls, add Mapbox English language labels, improve country select styling, and fix long text overflow
Type of Change
Changes Made
GeolocationProvidercontext with auto-location detection and permission managementuseMapLanguagehook to set Mapbox labels to EnglishNearMeButtonto use context instead of hookcache()in network detail pageChecklist