Skip to content

feat(pydeck): register GlobeView canonical alias in jupyter-widget#10451

Open
chrisgervang wants to merge 1 commit into
masterfrom
claude/pydeck-globeview-alias
Open

feat(pydeck): register GlobeView canonical alias in jupyter-widget#10451
chrisgervang wants to merge 1 commit into
masterfrom
claude/pydeck-globeview-alias

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Let pydeck users reference deck.gl's globe view under its canonical name — View(type="GlobeView") — instead of the experimental View(type="_GlobeView").

The jupyter-widget catalog only auto-registers _GlobeView under its underscore name, so canonical names need a manual alias (same precedent as StatsWidget, etc.). This is purely additive: _GlobeView stays registered, so existing payloads keep working.

Changes

  • create-deck.js — add GlobeView: deckExports._GlobeView to the converter catalog
  • examples/globe_view.py — use canonical type="GlobeView"
  • create-deck.spec.ts — assert both GlobeView and _GlobeView hydrate

Validation

Not run: yarn build, yarn lint, vitest — no Node runtime in the working environment. yarn vitest run test/modules/jupyter-widget/create-deck.spec.ts should confirm the new tests.

Add a GlobeView alias to the jupyter-widget JSON converter catalog so
pydeck users can write View(type="GlobeView") instead of the
experimental View(type="_GlobeView"). The alias follows the existing
underscore-export aliasing precedent (StatsWidget, etc.). The _GlobeView
name stays registered for backwards compatibility.

- create-deck.js: alias GlobeView -> deckExports._GlobeView
- examples/globe_view.py: use canonical GlobeView type
- create-deck.spec.ts: assert both GlobeView and _GlobeView hydrate
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