Skip to content

fix location access issue#49

Merged
johngarrett merged 3 commits into
mainfrom
jgarrett/plane-location-access
Mar 21, 2026
Merged

fix location access issue#49
johngarrett merged 3 commits into
mainfrom
jgarrett/plane-location-access

Conversation

@johngarrett
Copy link
Copy Markdown
Collaborator

No description provided.

@johngarrett johngarrett merged commit 5d0cc89 into main Mar 21, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eb29237d6a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +59 to +60
if (getConfigStore().config.hasGrantedLocationAccess) {
this.start();
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore tracking when visibility returns after permission grant

This visibility-gated restart never runs in practice because hasGrantedLocationAccess is initialized to false and this commit does not add any write path that flips it to true (or emits the new config event). In the current flow, once the page is hidden and stop() clears the watch, returning to the page will not restart geolocation even for users who already granted permission, so location updates silently stop until they tap Locate again.

Useful? React with 👍 / 👎.

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.

1 participant