Skip to content

feat: add a metadata-driven map asset inspector - #17

Merged
isConic merged 1 commit into
mainfrom
feat/asset-inspector
Oct 7, 2026
Merged

isConic merged 1 commit into
mainfrom
feat/asset-inspector

Conversation

@isConic

@isConic isConic commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Clicking an asset with metadata.extra.inspector now opens an anchored viewer for its charts, images, links, and description. Applications supply typed content references; the map owns presentation and selection without introducing station- or analysis-specific asset types.

  • Add a single viewer-local popup with expansion, mobile bottom-sheet layout, background/close/Escape dismissal, and live metadata refresh. HTML attachments run in an allow-scripts sandbox.
  • Enable inspection in ui=default, or independently with inspect=1 for embedded maps. Emit asset_click.inspector_handled so embedders can suppress duplicate UI, and preserve embed options when creating a viewer session.
  • Add SDK update_metadata, validated descriptors, atomic metadata merges, and broadcasts for updates and deletion. Persist attachment references for reloads and reconnects.

Validation: 26 focused API/SDK tests and five browser tests pass. A real MapLibre/Plotly browser smoke test with synthetic observations verified anchoring, content updates, expansion, dismissal, reload persistence, visibility/deletion, and mobile/dark layouts.

Merging to main uses the existing multiarchitecture container publication workflow. EOGPT's companion integration (https://github.com/AMA-Labs/eo-gpt/pull/172) opts into this viewer and attaches drill chart references to its existing point assets.

@isConic
isConic merged commit f1612f6 into main Oct 7, 2026
3 checks passed
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