Skip to content

Improve community discovery and add a bilingual network overview - #91

Open
n30nex wants to merge 3 commits into
mainfrom
codex/community-browser-feedback-20260906
Open

Improve community discovery and add a bilingual network overview#91
n30nex wants to merge 3 commits into
mainfrom
codex/community-browser-feedback-20260906

Conversation

@n30nex

@n30nex n30nex commented Sep 6, 2026

Copy link
Copy Markdown
Member

Summary

Follow-up to #90, which was merged while this browser-feedback work was in progress. English and French are updated together.

  • Find nearby communities by city, even when that city has no directory listing. Canadian place-name lookup handles province names and ambiguous matches; results rank all 24 communities by approximate distance, not radio coverage.
  • Remove the directory review banner and use the requested short out-of-date notice. Remove the repeated hardware purchase-warning card.
  • Link directly to the region map and editor from the first configuration step.
  • Add a compact header network summary from Beacon's public aggregate API. Known devices and recent activity are labelled separately; cached counts expire after five minutes and failures do not appear as zeroes.
  • Add a subtle Canada network motif and a sourced note about the planned Canada preset. The note does not claim that the preset has shipped.
  • Fix map-credit contrast in both themes and document the new external requests.

Validation

  • Strict bilingual build and all 13,230 local references checked across 129 generated pages.
  • Directory validation retains all 24 communities; 166 Node content/editor tests and 16 Python content tests pass.
  • All 54 new feedback checks pass on the public preview across six browser configurations. Another 16 public map, handoff, and contrast checks pass on desktop Chromium and mobile WebKit.
  • The full six-browser CI matrix passed 584 checks, with 34 project-specific skips, on feb4070. The final commit only normalizes the generated SVG's line endings and makes its generator portable. The final public rerun had two mobile map timing failures during overlapping test runs; both passed in a separate run with the original timeouts unchanged.
  • Cambridge lookup and Beacon totals verified against the actual public APIs in English and French.
  • All 12 local Lighthouse routes meet the unchanged budgets. On the final-head CI run, validation and Lighthouse pass; the full browser matrix is rerunning.

Preview and boundaries

Deployed to the Canadaverse test site at 9705f6df77faa9cd8c6c3b745cc7df73795481e7. The public manifest matches the candidate. All 129 public pages return HTML under the preview path and are excluded from search indexing; local preview checks cover 13,228 references.

The previous preview and route configuration are backed up. The shared host container was not restarted, and the main Canadaverse homepage stayed byte-identical. No merge or meshcore.ca deployment was performed. Broker accounts, radio settings, region boundaries, and submission services are unchanged.

The host's existing security policy continues to block Cloudflare-injected analytics, as it also does on the main Canadaverse homepage. No application scripts or requested APIs were blocked in live browser checks; the policy was not broadened for analytics.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T05:10:36.224943Z 36c89a7 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 36c89a7010

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

root.addEventListener("focusout", function (event) { if (event.relatedTarget && !root.contains(event.relatedTarget)) root.open = false; });
root.addEventListener("keydown", function (event) { if (event.key === "Escape" && root.open) { root.open = false; summary.focus(); } });
document.addEventListener("visibilitychange", refresh);
window.setInterval(refresh, MAX_AGE);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Refresh counts when the cache actually expires

When the page remains visible after a fresh request, this interval starts before refresh() finishes, while the cache timestamp is recorded afterward. The first five-minute tick therefore sees an entry just under MAX_AGE and reuses it, and the next fetch does not occur until the ten-minute tick, leaving the header totals and update timestamp stale for nearly twice the intended cache lifetime. Schedule the next refresh relative to data.at or otherwise ensure the first post-expiry tick fetches new data.

Useful? React with 👍 / 👎.

@n30nex

n30nex commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

The requested changes are deployed for testing at https://canadaverse.org/meshcore-canada/ in English and French.

The public manifest matches 9705f6df77faa9cd8c6c3b745cc7df73795481e7. This is a follow-up to #90 because #90 was merged while these additions were in progress.

Try these on the preview:

  • Search for Cambridge on the community page and choose Find nearby. It now finds and ranks communities even without a Cambridge listing.
  • Open the compact network summary in the header for Beacon device counts and recent activity.
  • Browse the region map or editor directly from the first configuration step.
  • Check the homepage motif, the shorter notices, and the planned Canada-preset note in either language.

Verified all 129 public pages and 70 hosted browser checks, plus real Cambridge lookups and Beacon responses in both languages. Two mobile map timing failures in overlapping runs passed when rerun separately without extending timeouts. Asset hashes and the deployed revision match the local candidate.

Validation and Lighthouse are green on the final commit. The complete browser matrix passed 584 checks on the preceding commit; GitHub is rerunning it for the final line-ending-only cleanup: current CI run.

The prior preview is retained for rollback. No shared-container restart was needed, the main Canadaverse homepage is byte-identical, and meshcore.ca was not changed by this deployment. No broker accounts or submission services were modified.

@n30nex n30nex self-assigned this Sep 6, 2026
@n30nex n30nex added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant