Skip to content

feat(meshmap): "View on #BEmesh map" label and a clickable Discord name (fork-local) - #32

Open
Confituurke wants to merge 2 commits into
efiten:masterfrom
aXistem-dev:fix/meshmap-link-label
Open

Confituurke wants to merge 2 commits into
efiten:masterfrom
aXistem-dev:fix/meshmap-link-label

Conversation

@Confituurke

@Confituurke Confituurke commented Nov 17, 2026 •

Copy link
Copy Markdown

Two small changes to the owner row in Repeater info.

1. The link text. It now carries the map's own name: "View on #BEmesh map" instead of "view on meshmap".

  • public/meshmap-owner.js: the label.
  • tests/unit/test-meshmap-owner.js: the assertions on the label.
  • docs/release-notes/nl/v3.17.0-on8ar.7.md: the quoted label in the Dutch note.

2. A clickable Discord name. The map's partner claims feed now carries discordUrl, a link to the person's Discord profile, only for people who show their name (null otherwise; contract in docs/PARTNERS.md of the map). With this change:

  • cmd/server/meshmap_owners.go: /api/meshmap/owners passes it on per person as discord, kept only when it is a https://discord.com/users/<id> address and the person has a name; otherwise empty.
  • public/meshmap-owner.js: such a name (owner or manager) becomes a link that opens the Discord profile in a new tab, where people can send a message. Without one, the name stays plain text as before.
  • cmd/server/openapi.go: the endpoint description mentions discord.
  • Tests: go test -run Meshmap passes (parse test covers a valid link, a wrong host, a link with markup and a link on a hidden name); tests/unit/test-meshmap-owner.js 13 passed, tests/unit/test-repeater-info.js 22 passed.

Fork-local, like the rest of the meshmap owner feature. The map side is live, so the links show up at the next fetch of the claims feed.

…local)

The link opens the node on the #BEmesh map, so it carries the map's own name.
… (fork-local)

The map's partner claims feed now carries discordUrl, a link to the
person's Discord profile, only for people who show their name (null
otherwise). /api/meshmap/owners passes it on per person as discord,
kept only when it is a https://discord.com/users/<id> address. The
Repeater info section shows such a name as a link that opens the
profile, where people can send a message. Without one, the name stays
plain text as before.
@Confituurke Confituurke changed the title fix(meshmap): the owner row's link reads "View on #BEmesh map" (fork-local) feat(meshmap): "View on #BEmesh map" label and a clickable Discord name (fork-local) Nov 17, 2026
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