Send Map, the Bloom cockpit, Flower Mesh, Lang Cluster and Flowers ran in the Experimental shelf as a 976 KB prebuilt legacy bundle inside a sandboxed iframe. Their original source survived in the old app-profiles/doxa-upg-neighbor bundle, and it only imports library pieces that still exist, so it moves here as-is: the unified hub becomes upg-neighbor.vue and the lenses go in src/. The hub now picks its opening lens at setup rather than on mount. Switching on mount tore Send Map down mid-initialisation and threw on every other lens. The five instance ids stay the same, so existing embed URLs still work, and the old legacyElement key still maps to a lens. The legacy sandbox (data/legacy/upg-neighbor and its staging rows) is gone because nothing loads it any more.
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>upg-neighbor (dev)</title>
|
|
<link rel="icon" href="data:,">
|
|
<link href="https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.css" rel="stylesheet" />
|
|
<script src="https://api.mapbox.com/mapbox-gl-js/v3.24.0/mapbox-gl.js"></script>
|
|
<style>
|
|
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
|
|
html,body{height:100%;background:#f3f3f1}
|
|
upg-neighbor{position:fixed;inset:0;display:block}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- ?tk=<token> and ?view=<lens> (send-map · cockpit · flower-mesh · lang-cluster · flowers) -->
|
|
<script>
|
|
(function () {
|
|
var q = new URLSearchParams(location.search)
|
|
var el = document.createElement('upg-neighbor')
|
|
el.setAttribute('profile-config', JSON.stringify({
|
|
profile: 'upg-neighbor', view: q.get('view') || 'send-map', tk: q.get('tk') || window.MAPBOX_TOKEN || ''
|
|
}))
|
|
document.body.appendChild(el)
|
|
})()
|
|
</script>
|
|
<script type="module" src="./index.js"></script>
|
|
</body>
|
|
</html>
|