Skip to content

Globe: a click on a group drawn as one place opens that place - #785

Merged
BSoDium merged 1 commit into
mainfrom
claude/pensive-cray-629242
Dec 3, 2026
Merged

BSoDium merged 1 commit into
mainfrom
claude/pensive-cray-629242

Conversation

@BSoDium

@BSoDium BSoDium commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What

At the world view a country that holds one place (and what is nested inside it) is drawn and labelled as that place: Poland reads as "Warsaw". A click on it took the group path, which only flies the camera, so the panel did not open and a second click was needed once the group had opened into the place.

LodTree.placeOf(slug) now answers which place a click on a node opens: the place itself, the host of a group drawn as one place (loneHost), or null for a real group (several places), which still only frames the camera. The globe (renderer.ts) and the street map (street/engine.ts) both use it. The camera still flies to the place and the panel opens in one click.

Checks

  • lod-tree.test.ts: new case for placeOf (place, lone group, nested place, unknown slug, group of two places).
  • pnpm typecheck clean, vitest run 195 files / 2686 tests pass.
  • Not checked in a browser (no street tiles from this container).

Board

No issue exists for this and I could not reach the "Open-source development" board (GraphQL is blocked in this environment), so the item still has to be added and its fields filled in by a human.


Generated by Claude Code

…ly the camera

At the world view a country that holds one place (and what is nested in it) is drawn
and labelled as that place, but a click on it took the group path and only flew the
camera; a second click was needed to open the panel. LodTree.placeOf answers which
place a click on a node opens, and the globe and the street map both use it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ub8ohU7xwodfgHSDAjwfUJ
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
catalyst-v2 Ready Ready Preview Dec 3, 2026 12:48pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
catalyst-v2-api Ignored Ignored Preview Dec 3, 2026 12:48pm UTC

@BSoDium
BSoDium marked this pull request as ready for review December 3, 2026 12:49
@BSoDium
BSoDium merged commit c056eba into main Dec 3, 2026
5 checks passed
@BSoDium
BSoDium deleted the claude/pensive-cray-629242 branch December 3, 2026 12:49

This branch was successfully deployed

1 active deployment
Preview – catalyst-v2 — e396f19b Deployed Dec 3, 2026 by vercel[bot]
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.

2 participants