doxa-maps/plugin-designs/research-map-plus-grid/scripts
Doxa Maps 896775903b Share > Embed: three codes for THIS plugin (URL, Iframe, JavaScript), from the tree it is served from (shareable pages P3b)
The Embed tab now offers the plugin's own page (URL), that page in an iframe
(with the sizes), and its own bundle + element (JavaScript), each with one plain
sentence and one Copy button. They embed the plugin whose Share was pressed, even
nested in Plugin Studio, Deep Research or Posterverse.

Where the codes point: a new build-config key shareBaseUrl, baked as
__DOXA_SHARE_BASE__ and overridable per embed (profile-config.shareBaseUrl) or
per page (window.MAP_SHARE_BASE_URL), https only (or a local test server). It is
committed EMPTY: the codes then point at the tree the bundle is served from, so
the stable site gives its own public URLs by construction. embedBaseUrl stays
empty, so the manifest's snippets and a dropped tree are unchanged.

The JavaScript code is the plugin's embed.script from that tree's manifest
(library/utils/publicEmbed.js, fetched once when Embed opens, default
credentials), made absolute, with integrity dropped from our unversioned bundle
URL (a pinned hash would break every partner's embed at the next release). A
plugin that tree does not carry gets a plain note instead of codes that would
404. Share this page stays first; the explanation and the 5 steps stay. English
only (parity debt 19 per locale). The library index lists publicEmbed.js.
2026-10-03 08:10:31 +00:00
..
check-composite-locale-leaks.mjs A browser gate refuses to launch outside the browser slot; check:browser-gates-guarded keeps it that way 2026-09-28 08:20:21 +00:00
check-filter-multivalue.mjs Shared links keep partner param names, and a CSV export matches multi-value filters 2026-09-27 18:40:47 +00:00
check-hover-channel.mjs Keep the reason, drop the speaker 2026-09-29 03:46:37 +00:00
check-i18n-keys-exist.mjs plugin-designs: neutral comments in shared/ownerless maps 2026-10-01 00:22:13 +00:00
check-linked-vocabulary.mjs plugin-designs: neutral comments in shared/ownerless maps 2026-10-01 00:22:13 +00:00
check-no-free-identifiers.mjs Share > Embed: three codes for THIS plugin (URL, Iframe, JavaScript), from the tree it is served from (shareable pages P3b) 2026-10-03 08:10:31 +00:00
check-ui-strings-have-keys.mjs Keep the reason, drop the speaker 2026-09-29 03:46:37 +00:00
ui-strings-baseline.json Pin wording: shared points and key-city clusters claim only what is certain 2026-10-02 09:21:54 +00:00