Files
meshcore-analyzer/public
Sylvain Rabot cb994d9f9a feat(home): link My Mesh node cards to the node page (#2027)
## What

The node cards in the **My Mesh** grid on the home page could open the
full
health panel or the node's packets, but there was no way to reach the
node
detail page from them — you had to go search for the node again.

Each card now leads with a **Node page →** button that navigates to
`#/nodes/<pubkey>`, the same route the channels, live and analytics
pages
already link to.

## Details

- Wired through the existing `.mnc-btn` click delegation, so it inherits
the
`stopPropagation()` that keeps the card's own click-to-health handler
from
  firing as well.
- The error-state card (health fetch failed, including the 404 *"waiting
for
first advert"* case) gets the button too, on its own actions row. *Full
health* and *View packets* stay off that card — the health fetch is
exactly
what failed, but the node page still resolves for a node that has so far
only
  been seen in channel messages.
- `.mnc-actions` now wraps, so three buttons don't overflow a narrow
card.

## Testing

`node --check public/home.js` passes. Lint and the Playwright suite were
not
run: the worktree this was written in has no `node_modules`. The
existing home
e2e test targets `.mnc-btn[data-action="health"]` specifically, so the
new
button does not disturb it.
2026-09-14 11:13:32 +02:00
..