[object Object]

← back to Dw Launches

Media: ?media=<query> deep-link opens Vendor IG tab pre-filtered (e.g. /?media=zoffany)

b26832849d3288151beb6504deac6f6d5f3e1d54 · 2026-06-20 09:43:47 -0700 · Steve

Files touched

Diff

commit b26832849d3288151beb6504deac6f6d5f3e1d54
Author: Steve <steve@designerwallcoverings.com>
Date:   Sat Jun 20 09:43:47 2026 -0700

    Media: ?media=<query> deep-link opens Vendor IG tab pre-filtered (e.g. /?media=zoffany)
---
 public/index.html      |  11 +++++++++++
 screenshot-zoffany.png | Bin 0 -> 684456 bytes
 2 files changed, 11 insertions(+)

diff --git a/public/index.html b/public/index.html
index 957e681..b0ec7ab 100644
--- a/public/index.html
+++ b/public/index.html
@@ -2098,6 +2098,17 @@ function esc(s){ return String(s==null?'':s).replace(/[&<>"]/g,c=>({'&':'&amp;',
 wireDrop('global-drop','global-file',()=>state.global.media);
 wireDensity();
 init().then(()=>{
+  // deep-link: ?media=<query> opens the Media → Vendor IG tab pre-filtered
+  // (e.g. /?media=zoffany). ?source= overrides the source (default vendor).
+  const params=new URLSearchParams(location.search);
+  if(params.has('media')){
+    const qv=params.get('media')||'';
+    mlState.source=params.get('source')||'vendor';
+    mlState.q=qv;
+    showView('media');
+    const box=document.getElementById('ml-search'); if(box) box.value=qv;
+    return;
+  }
   // restore last-used view (persisted), default Compose
   const saved=localStorage.getItem('dwlaunch:view');
   if(!window.__dlCompose && saved && VIEWS.includes(saved) && saved!=='compose') showView(saved);
diff --git a/screenshot-zoffany.png b/screenshot-zoffany.png
new file mode 100644
index 0000000..57dc8ed
Binary files /dev/null and b/screenshot-zoffany.png differ

← f3da271 Vendor-IG: corrected Pierre Frey (lamaisonpierrefrey) + Zoff  ·  back to Dw Launches  ·  Media: dedup grid — collapse colorway/reupload duplicates to 142baf6 →