Skip to content

Make profile maps optional in H2 Next - #665

Merged
joehoyle merged 1 commit into
nextfrom
codex/h2-next-optional-profile-maps
Oct 8, 2026
Merged

joehoyle merged 1 commit into
nextfrom
codex/h2-next-optional-profile-maps

Conversation

@willmot

@willmot willmot commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

H2 Next renders a broken map image when a profile has no coordinates. Require both coordinates and a Mapbox key before rendering maps in the hovercard and profile sidebar, and keep hovercards available when no Mapbox key is configured.

Backports the optional-map behavior already present in the main H2 release to next. Adds a Storybook example for a profile without coordinates.

Before and after, using a synthetic profile with a Mapbox key configured and no coordinates:

H2 Next profile without coordinates, before and after

- Written by Codex gpt-6-astra high

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

🛝 Playground preview

Open PR #665 in WordPress Playground

Spins up a fresh WordPress with this PR's build of the H2 theme and demo content, logged in as admin.

Built from 0665bd4 — the preview updates on every push to this PR.

@joehoyle
joehoyle merged commit 9e2136b into next Oct 8, 2026
4 checks passed
@joehoyle
joehoyle deleted the codex/h2-next-optional-profile-maps branch October 8, 2026 14:22
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.

3 participants