Skip to content

Make Web location advert sharing explicit - #2

Merged
n30nex merged 3 commits into
mainfrom
codex/fix-advert-location
Aug 22, 2026
Merged

Make Web location advert sharing explicit#2
n30nex merged 3 commits into
mainfrom
codex/fix-advert-location

Conversation

@n30nex

@n30nex n30nex commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Adds an explicit sharing choice and confirmation to browser location transfer, persists the MeshCore advert policy, preserves compatibility for older API clients, and regenerates the verified embedded WebUI.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

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

Copy link
Copy Markdown

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: 103ac29374

ℹ️ 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".

sensors.node_lat = latitude;
sensors.node_lon = longitude;
if (has_advertise) {
the_mesh.getNodePrefs()->advert_loc_policy = advertise ? ADVERT_LOC_PREFS : ADVERT_LOC_NONE;

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 Use the companion advert policy constant

When building the inspected heltec_rcc6_ultimate_companion_web environment, this reference is undefined: the companion implementation’s NodePrefs.h declares only ADVERT_LOC_NONE and ADVERT_LOC_SHARE, while ADVERT_LOC_PREFS belongs to the separate CommonCLI preference model and is not included here. Consequently the Ultimate Web firmware cannot compile; use the companion’s ADVERT_LOC_SHARE value (or deliberately add the missing policy to its preference model). The workflow currently builds only the Ultimate BLE environment, where this file is preprocessor-excluded, so its compiler job does not expose the failure.

Useful? React with 👍 / 👎.

@n30nex
n30nex merged commit 5ae682a into main Aug 22, 2026
14 checks passed
@n30nex
n30nex deleted the codex/fix-advert-location branch August 22, 2026 06:29
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