From 7e2cd2ca0b48117427420353d793f70a29fcfa2b Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 31 May 2026 17:21:33 -0400 Subject: [PATCH] Linked Designs P1c: layer-options panel for linked layers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a dedicated layer-options panel that appears when a linked design layer is selected, alongside the existing import flow: - Source title + creator npub + "Last resolved ago" - πŸ“Œ Pin-to-current-version toggle (snapshots current event id) - Refresh button: clears the layer's cache key + forces re-resolve - Replace link… opens the community browser in 'link-replace' mode, swapping the source on selection while keeping position + size - Unlink to embed snapshots the resolved payload into an embedded layer (requires a successful prior resolve) The selection-sync block now hides the embedded-design panel and shows the linked-design panel when design.kind === 'linked'. --- src/index.html | 205 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 200 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index b4658fa..0ea3d9b 100644 --- a/src/index.html +++ b/src/index.html @@ -3374,6 +3374,27 @@

Design objects keep the imported design editable inside this layer. Double-clicking the layer opens it too.

+ +