Skip to content

refactor(geoLocation): update centering behaviour#566

Merged
jedi-of-the-sea merged 18 commits intonextfrom
vue3/update-behaviour-of-GeoLocation
Mar 6, 2026
Merged

refactor(geoLocation): update centering behaviour#566
jedi-of-the-sea merged 18 commits intonextfrom
vue3/update-behaviour-of-GeoLocation

Conversation

@jedi-of-the-sea
Copy link
Contributor

@jedi-of-the-sea jedi-of-the-sea commented Mar 2, 2026

Summary

The map stops centering if a user pans the map during locating, but not if they zoom.

Instructions for local reproduction and review

Please Note: the configuration for snowbox client has been altered to keepCentered: true in this PR to enable the testing on mobile devices

  • start geolocation on a mobile device and move around
  • check if the marker is moving and stays in the middle of the map
  • zoom in and / or out and check if the centering of the map still works
  • move the map without zooming and check if the centering stops
  • stop the geolocation and then start it again
  • check if the map is centering again

Pull Request Checklist (for Assignee)

  • Changelogs are maintained
  • Functionality has been tested in Firefox, Chrome, Safari
  • Functionality has been tested on a smartphone
  • Functionality has been tested with 200% screen zoom
  • Screenreader functionality has been manually tested with NVDA

UI has been tested in the following tools regarding accessibility (only regarding functionality affected in this PR)

  • Chrome Lighthouse
  • Firefox Accessibility

Relevant tickets, issues, et cetera

closes #395

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

PR Preview Action v1.8.0

QR code for preview link

🚀 View preview at
https://Dataport.github.io/polar/pr-preview/pr-566/

Built to branch gh-pages at 2026-03-06 12:55 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@dopenguin dopenguin changed the title Vue3/update behaviour of geo location refactor(geoLocation): update centering behaviour Mar 2, 2026
@jedi-of-the-sea jedi-of-the-sea force-pushed the vue3/update-behaviour-of-GeoLocation branch from 5f58347 to 4983c03 Compare March 2, 2026 13:59
@jedi-of-the-sea jedi-of-the-sea force-pushed the vue3/update-behaviour-of-GeoLocation branch from 939bdd9 to 161ae1d Compare March 2, 2026 16:34
@jedi-of-the-sea jedi-of-the-sea self-assigned this Mar 3, 2026
@jedi-of-the-sea jedi-of-the-sea added the enhancement New feature or request label Mar 3, 2026
@jedi-of-the-sea jedi-of-the-sea marked this pull request as ready for review March 3, 2026 08:21
Copy link
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

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

Will test outdoors after the changes mentioned in src/plugins/geoLocation/components/GeoLocation.ce.vue.

🏓 @jedi-of-the-sea

@dopenguin dopenguin linked an issue Mar 3, 2026 that may be closed by this pull request
@dopenguin dopenguin added this to the POLAR@3 milestone Mar 3, 2026
@jedi-of-the-sea jedi-of-the-sea force-pushed the vue3/update-behaviour-of-GeoLocation branch from b5dace6 to 8c9e656 Compare March 4, 2026 16:37
@jedi-of-the-sea
Copy link
Contributor Author

🏓 @dopenguin I'm done

Copy link
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

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

jedi-of-the-sea and others added 4 commits March 6, 2026 11:23
Co-authored-by: Pascal Röhling <73653210+dopenguin@users.noreply.github.com>
Co-authored-by: Pascal Röhling <73653210+dopenguin@users.noreply.github.com>
@jedi-of-the-sea
Copy link
Contributor Author

🏓 @dopenguin

Copy link
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

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

@jedi-of-the-sea jedi-of-the-sea merged commit 6036015 into next Mar 6, 2026
4 checks passed
@jedi-of-the-sea jedi-of-the-sea deleted the vue3/update-behaviour-of-GeoLocation branch March 6, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POLAR@3: Update behaviour of GeoLocation

2 participants