doxa-maps/plugin-designs/my-upg-100-list
Doxa Maps 4dd4d7328e UPG-100: delete the orphaned copy-to-clipboard path and its red gate
fc93847bb ("Batch selection builds a packet, instead of recolouring regions")
replaced copy-to-clipboard with packet-building and left four pieces behind: the
button's handler, its execCommand fallback, the window global they wrote, and the
gate check that read it. This removes all four.

copySelection had exactly ONE reference in the file — its own definition — and
legacyCopy was called only from it, so both were unreachable. The minifier was
already dropping them: __UPG_LAST_CLIPBOARD__, which copySelection set
unconditionally, appears 0 times in the built bundle.

THE GATE HALF MATTERED MORE. visual-gate check (15) asserted the Copy payload,
guarding on .upg-hud-btn.copy existing — a button that no longer exists. But the
guard skipped only the MEASUREMENT: copyOk was initialised false and check() ran
unconditionally, so it reported FAIL ("no .upg-hud-btn.copy in HUD") on every run
since the button went. A permanently red assertion for a deliberately deleted
feature teaches readers to ignore red, which is worse than no check at all.

formatClipboard SURVIVES — 3 references, and one is live: __UPG_SELECT__
.clipboardText, the headless probe surface the gate still uses. Deleting the
"clipboard code" wholesale would have broken it.

Also corrects the D-8 comment, which still named "Copy + Clear" as the HUD
buttons; they are Prayer List / Poster Map / Clear.

VERIFIED BY THE BUILD NOT MOVING: rebuilt after deleting 43 lines of source and
the bundle is byte-identical to its parent (sha 3dda630d5cf5e647, 992356 bytes).
That is the test of the claim — if the output had changed, the code was not dead.
2026-09-28 12:36:10 +00:00
..
assets/previews Rename app-profiles -> plugin-designs; build green under new naming (load-bearing paths updated, guards pass) 2026-09-17 18:18:18 +00:00
data UPG-100: delete the orphaned copy-to-clipboard path and its red gate 2026-09-28 12:36:10 +00:00
index.html Session work: strobe fix, grid layout, stacked tree legend, selection camera, chip bounding, asset inheritance, gates 2026-09-20 04:49:25 +00:00
index.js Six entries hand-rolled the RTL text plugin; the library already installs it 2026-09-26 13:35:57 +00:00
poster-wall.meta.json check:studio-rail — a production profile must DECLARE its name 2026-09-28 08:31:18 +00:00
poster-wall.vue UPG-100: people-group data follows the reader's language, not English 2026-09-28 05:11:14 +00:00
upg-100-list.meta.json check:studio-rail — a production profile must DECLARE its name 2026-09-28 08:31:18 +00:00
upg-100-list.vue UPG-100: delete the orphaned copy-to-clipboard path and its red gate 2026-09-28 12:36:10 +00:00
upg-100-mfe.meta.json Plugin Studio and the gallery split production from experimental, from each bundle's own stage 2026-09-27 06:04:08 +00:00
upg-100-mfe.vue No "tap a coloured dot" on UPG-100 at all — its map is a poster preview 2026-09-27 02:40:26 +00:00