<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://how-to-blog.gitlab.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://how-to-blog.gitlab.io/" rel="alternate" type="text/html" /><updated>2026-11-06T13:32:40+00:00</updated><id>https://how-to-blog.gitlab.io/feed.xml</id><title type="html">The Lean Ecommerce How-To</title><subtitle>Clear answers, practical fixes, and step-by-step guidance for ecommerce, SaaS, and tech operators.</subtitle><entry><title type="html">How to Replace Framer Forms and Analytics Before Static Hosting</title><link href="https://how-to-blog.gitlab.io/2026/11/06/how-to-replace-framer-forms-and-analytics-before-static-hosting/" rel="alternate" type="text/html" title="How to Replace Framer Forms and Analytics Before Static Hosting" /><published>2026-11-06T13:31:58+00:00</published><updated>2026-11-06T13:31:58+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/06/how-to-replace-framer-forms-and-analytics-before-static-hosting</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/06/how-to-replace-framer-forms-and-analytics-before-static-hosting/"><![CDATA[<p>Your Framer page can look complete after a static export while two important jobs have quietly disappeared: native form handling and analytics that live on Framer’s servers. Replace those jobs before you change hosting. The safe order is to inventory the live page, choose independent endpoints, export with <a href="https://exflow.site/framer">ExFlow’s Framer exporter</a>, then test a real submission and visit on the static copy.</p>

<p>ExFlow can capture a published Framer site as static HTML, CSS, JavaScript, fonts, media, CMS pages, and client-side interactions. Its own Framer guide also draws the useful boundary: native form handling and Framer-tied analytics do not come along with a static export. This guide is for a public marketing site; do not use it as a substitute for an authentication or payment migration plan.</p>

<h2 id="1-list-every-feature-that-sends-data-somewhere">1. List every feature that sends data somewhere</h2>

<p>Open the live Framer site and make a short inventory before exporting. Use a browser at the same URL visitors use, not the editor preview. Check every page, including success and error states.</p>

<table>
  <thead>
    <tr>
      <th>Feature on the page</th>
      <th>Keep in static copy?</th>
      <th>Replacement to choose</th>
      <th>Proof of success</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Contact or waitlist form</td>
      <td>Yes</td>
      <td>Form endpoint or serverless handler</td>
      <td>Test message arrives and confirmation appears</td>
    </tr>
    <tr>
      <td>Newsletter signup</td>
      <td>Yes</td>
      <td>Email-provider form endpoint</td>
      <td>Subscriber is visible in the intended audience</td>
    </tr>
    <tr>
      <td>Analytics</td>
      <td>Usually</td>
      <td>Independent analytics tag or host analytics</td>
      <td>One test visit appears without console errors</td>
    </tr>
    <tr>
      <td>Search, login, checkout</td>
      <td>Depends</td>
      <td>Purpose-built service or application route</td>
      <td>Full task completes in a test account</td>
    </tr>
  </tbody>
</table>

<p>Do not copy the form markup and assume it is a working form. Record each form’s field names, required fields, recipient, consent copy, thank-you behavior, and spam protection. For analytics, record the property ID, consent requirement, and the events that matter. This is the same kind of inventory work that makes a <a href="https://how-to-blog.gitlab.io/2026/10/18/how-to-export-a-webflow-cms-site-to-static-html-before-a-redesign/">Webflow CMS export before a redesign</a> recoverable later.</p>

<p><img src="/assets/img/posts/2026-11-06-how-to-replace-framer-forms-and-analytics-before-static-hosting/image-01-b04f8a35eb51.webp" alt="Retro file explorer diagram showing static site files and separate server services" /></p>

<h2 id="2-choose-replacements-before-changing-dns">2. Choose replacements before changing DNS</h2>

<p>Pick one endpoint for each form and one owner for analytics. A simple brochure site can use an email provider’s hosted form endpoint or a small serverless function. A product site may need a backend route that validates fields, stores leads, and sends a transactional email. The important part is that the destination belongs to the new setup, not to the old Framer hosting arrangement.</p>

<p>Write the decision beside the feature. For example: <code class="language-plaintext highlighter-rouge">contact form -&gt; POST /api/contact -&gt; send to support inbox</code>. If you need consent, include the consent field in the payload and test that it reaches the system that stores the lead. Do not put API keys in the static JavaScript bundle. A browser can call a public endpoint; secrets stay in the endpoint’s environment.</p>

<p>For analytics, add the provider’s script or use host-level analytics according to that provider’s instructions. Keep the first release small: verify a page view before adding custom events. If the site only needs a campaign landing page, a link-tagged source URL and page-view measurement may be enough.</p>

<h2 id="3-export-the-published-framer-site">3. Export the published Framer site</h2>

<p>In <a href="https://exflow.site/framer">ExFlow’s Framer export workflow</a>, paste the published site URL. Enable CSS, JavaScript, images/media, and all pages. The export is designed to capture the rendered site, its asset requests, and Framer’s client-side behavior, then provide a ZIP or deploy to Git, S3, FTP, or ExFlow Hosting.</p>

<p>Download the archive first even if you plan to deploy directly. Name it with the live date and commit it to a private repository or retained backup location. A static copy is most useful when you can identify exactly which live version it represents. For the wider handoff practice, use the same archive-and-test mindset as this <a href="https://how-to-blog.gitlab.io/2026/10/12/how-to-make-a-squarespace-backup-you-can-test-on-static-hosting/">Squarespace static backup guide</a>.</p>

<h2 id="4-wire-the-replacement-features-into-a-staging-copy">4. Wire the replacement features into a staging copy</h2>

<p>Serve the export from a staging domain or a local static server that resembles your eventual host. Replace each old form action with the new endpoint. Configure the success and error messages, then make sure the button cannot accidentally submit twice. Add the independent analytics snippet once, in the shared layout or the page template your exported site uses.</p>

<p>Run this small release card:</p>

<ol>
  <li>Submit valid data from the desktop page. Confirm receipt and the success state.</li>
  <li>Submit a deliberately invalid value. Confirm the page gives a useful error without losing the other fields.</li>
  <li>Inspect the browser network panel. Confirm no request still points to a Framer form or analytics endpoint.</li>
  <li>Open the staging URL in a private window. Confirm the first page view reaches the replacement analytics property, subject to your consent configuration.</li>
  <li>Repeat the valid form test on a phone-width viewport.</li>
</ol>

<p><img src="/assets/img/posts/2026-11-06-how-to-replace-framer-forms-and-analytics-before-static-hosting/image-02-df7e9858ccf9.webp" alt="Retro desktop checklist comparing desktop tablet and phone export tests" /></p>

<h2 id="5-check-the-static-site-at-three-widths">5. Check the static site at three widths</h2>

<p>Framer interactions may survive the export, but a static host gives you a different production environment. Test the menu, anchors, hover states, scroll effects, video, fonts, and every main link at desktop, tablet, and phone widths. Check the page source or network panel for failed assets, especially fonts and images.</p>

<p>This is where a focused breakpoint receipt helps: test only the pages and actions people actually use, then record the browser, width, URL, and result. For a more detailed responsive review, this <a href="https://tools-and-how-tos.github.io/2026/11/05/framer-responsive-export-qa-a-breakpoint-receipt-you-can-hand-off/">Framer export QA guide</a> is a useful companion.</p>

<h2 id="troubleshooting-the-export-looks-right-but-the-form-fails">Troubleshooting: the export looks right but the form fails</h2>

<p>Start with the browser network panel. A <code class="language-plaintext highlighter-rouge">404</code> usually means the form action still points to a route your static host does not provide. A CORS error means the new endpoint must explicitly allow your staging or production origin. A successful request with no email or saved lead usually means the endpoint has its own integration or validation problem; inspect its logs rather than editing the static page at random.</p>

<p>If analytics does not report a visit, check consent behavior, ad blockers, the correct property ID, and whether the script loads once. Do not count your staging checks as production conversion data. Keep test submissions visibly labeled so your team can exclude them.</p>

<h2 id="6-publish-only-after-the-replacement-path-works">6. Publish only after the replacement path works</h2>

<p>Point the production domain after the staging checklist passes. Keep the old site available long enough to roll back the DNS or hosting target if the new endpoint fails. Save a short release receipt with the archive filename, Git commit, endpoint owner, analytics property, form test time, and the pages tested.</p>

<p><img src="/assets/img/posts/2026-11-06-how-to-replace-framer-forms-and-analytics-before-static-hosting/image-03-c597a1e8bc83.webp" alt="Retro release receipt showing archive version control and browser preview" /></p>

<p>ExFlow also has dedicated exporters for <a href="https://exflow.site/webflow">Webflow</a> and <a href="https://exflow.site/squarespace">Squarespace</a>, but keep this task platform-specific: a Framer export is ready for static hosting only when every visitor-facing server-owned job has a new home.</p>

<h3 id="recap">Recap</h3>

<p>Inventory forms and measurement first, choose independent services, export the published Framer site, then prove the replacements work in staging on desktop and mobile. Your next action is simple: open the live site and write down every form action and analytics dependency before you run the export.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="framer" /><category term="static-hosting" /><category term="website-export" /><category term="forms" /><category term="analytics" /><summary type="html"><![CDATA[Replace Framer-native forms and analytics before static hosting with a simple inventory, endpoints, and release test.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-06-how-to-replace-framer-forms-and-analytics-before-static-hosting/cover-6abf216f8960.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-06-how-to-replace-framer-forms-and-analytics-before-static-hosting/cover-6abf216f8960.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Extract Attachments From Saved Email Files Without Opening a Mail App</title><link href="https://how-to-blog.gitlab.io/2026/11/04/how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/" rel="alternate" type="text/html" title="How to Extract Attachments From Saved Email Files Without Opening a Mail App" /><published>2026-11-04T23:27:56+00:00</published><updated>2026-11-04T23:27:56+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/04/how-to-extract-attachments-from-saved-email-files-without-opening-a-ma</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/04/how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/"><![CDATA[<h1 id="how-to-extract-attachments-from-saved-email-files-without-opening-a-mail-app">How to Extract Attachments From Saved Email Files Without Opening a Mail App</h1>

<p>You can pull files out of saved <code class="language-plaintext highlighter-rouge">.eml</code>, Outlook <code class="language-plaintext highlighter-rouge">.msg</code>, and <code class="language-plaintext highlighter-rouge">.mbox</code> email files without importing them into a mail app: use <a href="https://tiny-online.tools/email-tools/email-attachment-extractor">Tiny Online Tools’ Email Attachment Extractor</a> to make one ZIP with a manifest, then scan the extracted files before opening any of them. You need the saved message files and a place to keep the resulting ZIP; extraction is organization, not a safety verdict.</p>

<p>This is useful when a client sends a handful of exported messages, a ticket queue gives you <code class="language-plaintext highlighter-rouge">.eml</code> files, or an old archive contains the one invoice or photo you actually need. Opening each message in a mail app is slow, and it can make a simple file-retrieval task feel much bigger than it is.</p>

<h2 id="what-you-need-before-you-start">What you need before you start</h2>

<p>Prepare a working copy of the saved message files. The extractor accepts EML, MSG, and MBOX files and reads each file’s contents rather than relying solely on its filename extension. Do not work from the only copy of a legal, financial, or customer-support record.</p>

<p>You also need to decide what “done” means. For most jobs, it is not “open every attachment.” It is: identify the attachments, keep their source relationship, extract the small set you need, and pass suspicious files through your normal security process. If the job begins with an unexpected message, start with this <a href="https://tools-and-how-tos.github.io/2026/11/01/how-to-check-a-suspicious-email-header-without-clicking-anything/">email-header check</a> before treating its contents as trustworthy.</p>

<p><img src="/assets/img/posts/2026-11-04-how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/image-01-4975d389d5f7.webp" alt="Saved email file types flowing into attachment extraction" /></p>

<h2 id="1-copy-the-message-files-into-one-working-folder">1. Copy the message files into one working folder</h2>

<p>Create a folder such as <code class="language-plaintext highlighter-rouge">email-attachment-review</code> and copy your source <code class="language-plaintext highlighter-rouge">.eml</code>, <code class="language-plaintext highlighter-rouge">.msg</code>, or <code class="language-plaintext highlighter-rouge">.mbox</code> files into it. Keep the originals in their existing archive or case folder.</p>

<p>This is a small precaution with a practical payoff: your extracted ZIP, notes, and any later scans stay together, while the saved messages remain untouched. If you are dealing with a calendar export instead of mail, use the separate workflow for <a href="https://how-to-blog.gitlab.io/2026/10/06/how-to-inspect-an-ics-calendar-file-before-importing-it/">inspecting an ICS file before importing it</a>; a calendar file is not an attachment archive.</p>

<h2 id="2-open-the-attachment-extractor-and-add-the-files">2. Open the attachment extractor and add the files</h2>

<p>Open <a href="https://tiny-online.tools/email-tools/email-attachment-extractor">Email Attachment Extractor</a>, then drag the files from your working folder onto the drop area or use the file picker. You can add more than one file at once.</p>

<p>The tool supports mixed EML, MSG, and MBOX input in the same pass. It identifies the formats from their contents, so a file with an unhelpful extension can still be reported correctly. After processing, look for the attachment list rather than rushing to download anything.</p>

<h2 id="3-read-the-list-before-saving-the-zip">3. Read the list before saving the ZIP</h2>

<p>Check three things in the result:</p>

<ol>
  <li><strong>Source message:</strong> confirm that every item is grouped under the message or archive you expected.</li>
  <li><strong>Duplicates:</strong> note repeated assets such as footer logos or recurring signatures. The tool fingerprints identical attachment bytes so repeats can be marked instead of silently mixed into the useful files.</li>
  <li><strong>Inline artwork:</strong> do not mistake an email signature image for a requested attachment. The tool distinguishes inline <code class="language-plaintext highlighter-rouge">cid:</code> images referenced by an HTML body from ordinary attached files.</li>
</ol>

<p>That last check saves a surprising amount of cleanup. A folder of hundreds of apparent “attachments” may really be a small set of documents plus the same signature graphic copied into every message.</p>

<p><img src="/assets/img/posts/2026-11-04-how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/image-02-771d7897df7c.webp" alt="Inspect and scan attachments before opening files" /></p>

<h2 id="4-download-the-zip-and-keep-its-manifest">4. Download the ZIP and keep its manifest</h2>

<p>When the list matches your expectation, download the ZIP. The extractor puts each source file in its own folder and prefixes file names so two attachments named <code class="language-plaintext highlighter-rouge">invoice.pdf</code> do not overwrite one another. It also includes a <code class="language-plaintext highlighter-rouge">manifest.csv</code> that records the source message and subject for each extracted file.</p>

<p>Keep that manifest with the ZIP. It is the answer to “where did this attachment come from?” after the email export is no longer open. The same habit helps with tabular work: when an exported spreadsheet is involved, <a href="https://how-to-blog.gitlab.io/2026/11/03/how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/">audit its formulas before importing it</a> rather than treating a familiar file extension as proof that the content is ready to use.</p>

<p><img src="/assets/img/posts/2026-11-04-how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/image-03-e004513ed0ee.webp" alt="Organized extracted attachment folder and manifest" /></p>

<h2 id="5-scan-and-open-only-the-files-you-actually-need">5. Scan and open only the files you actually need</h2>

<p>Extraction does not disinfect a file, verify a sender, or make a macro-enabled document safe. Before opening anything, use your organization’s antivirus or sandbox process, check the file type, and confirm why you expected that attachment. For a file you do not recognize, stop at the ZIP and ask the sender or owner for context.</p>

<p>A useful rule is to separate these two decisions:</p>

<table>
  <thead>
    <tr>
      <th>Decision</th>
      <th>What to check</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Can I keep this file?</td>
      <td>Its source message, filename, and manifest entry</td>
    </tr>
    <tr>
      <td>Can I open this file?</td>
      <td>Its expected purpose, real file type, and your security review</td>
    </tr>
  </tbody>
</table>

<p>This division keeps an extraction task from becoming an accidental “open everything” task. If you need to review message headers and bodies first, <a href="https://tiny-online.tools/email-tools/email-file-viewer">Email File Viewer</a> can open saved EML and MSG files in the browser without a mail client. For a broader no-import workflow, this guide on <a href="https://productivity-tech-business.blogspot.com/2026/10/how-to-review-saved-email-files-without.html">reviewing saved email files without opening a mail app</a> is a useful companion.</p>

<h2 id="troubleshooting">Troubleshooting</h2>

<p><strong>The file says <code class="language-plaintext highlighter-rouge">.txt</code> or has the wrong extension.</strong> Add it anyway if you know it is a saved message. The extractor checks file contents and reports unsupported files by name while continuing with the rest.</p>

<p><strong>I only see tiny images.</strong> Check whether they are repeated signature assets. Keep the manifest, hide or set aside the duplicates, and identify the documents the sender actually intended to share.</p>

<p><strong>I need one attachment from a large archive.</strong> Extract the archive into a dedicated working folder, use the manifest to locate its source, then retain only the reviewed file and the evidence you need for the handoff.</p>

<p><strong>I need customer data from an attachment.</strong> Do not paste it into a random converter. Start with a controlled file copy and use the same care described in <a href="https://how-to.the-lean-ecommerce.com/2026/10/31/how-to-prepare-a-shopify-customer-csv-before-sharing-it/">preparing a Shopify customer CSV before sharing</a>.</p>

<h2 id="keep-the-mail-app-out-of-the-first-pass">Keep the mail app out of the first pass</h2>

<p>A saved email file is often just a container you need to inspect, not an invitation to rebuild an old inbox. Use the <a href="https://tiny-online.tools/email-tools/email-attachment-extractor">Email Attachment Extractor</a> to make a structured ZIP, retain the manifest, and let your normal security checks decide which files deserve to be opened. Your next action: create a working copy of the saved messages and run one small batch first.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="email-attachments" /><category term="eml" /><category term="msg" /><category term="mbox" /><category term="browser-tools" /><category term="privacy" /><summary type="html"><![CDATA[Extract attachments from EML, MSG, and MBOX files in your browser, keep a manifest, and scan files before opening them.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-04-how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/cover-312d03f93026.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-04-how-to-extract-attachments-from-saved-email-files-without-opening-a-ma/cover-312d03f93026.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Standardize Shopify Color Names Before You Add Swatches</title><link href="https://how-to-blog.gitlab.io/2026/11/04/how-to-standardize-shopify-color-names-before-you-add-swatches/" rel="alternate" type="text/html" title="How to Standardize Shopify Color Names Before You Add Swatches" /><published>2026-11-04T01:32:21+00:00</published><updated>2026-11-04T01:32:21+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/04/how-to-standardize-shopify-color-names-before-you-add-swatches</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/04/how-to-standardize-shopify-color-names-before-you-add-swatches/"><![CDATA[<h1 id="how-to-standardize-shopify-color-names-before-you-add-swatches">How to Standardize Shopify Color Names Before You Add Swatches</h1>

<p>If your Shopify products call the same shade <code class="language-plaintext highlighter-rouge">Navy</code>, <code class="language-plaintext highlighter-rouge">navy blue</code>, and <code class="language-plaintext highlighter-rouge">NVY</code>, fix the catalog names before styling a single swatch. Use one shopper-facing label per sellable shade, decide whether that shade is a variant or a separate product, then test the selection on both product and collection pages. This keeps a color click connected to a real purchasable choice instead of a decorative dot.</p>

<p>You need access to <strong>Products</strong> in Shopify and a saved copy of the product list you are changing. Shopify treats each combination of option values as a variant, so option names are part of the actual catalog structure—not merely storefront copy. <a href="https://help.shopify.com/en/manual/products/variants">Shopify’s variant documentation</a> is the useful baseline here.</p>

<p><img src="/assets/img/posts/2026-11-04-how-to-standardize-shopify-color-names-before-you-add-swatches/image-01-264bde09c323.webp" alt="Retro dialog cleaning duplicate Shopify color names" /></p>

<h2 id="1-export-or-list-the-color-values-you-already-use">1. Export or list the color values you already use</h2>

<p>Open <strong>Shopify admin → Products</strong>, then review the products in one color family. Record the option name and each value exactly as it appears: <code class="language-plaintext highlighter-rouge">Blue</code>, <code class="language-plaintext highlighter-rouge">Navy</code>, <code class="language-plaintext highlighter-rouge">navy</code>, <code class="language-plaintext highlighter-rouge">Midnight Blue</code>, and so on. Include products that appear together in a collection.</p>

<p>Do not begin by changing chip colors. First find duplicates that mean the same buyer choice and names that hide a meaningful difference. <code class="language-plaintext highlighter-rouge">Navy</code> and <code class="language-plaintext highlighter-rouge">navy blue</code> might be one shade; <code class="language-plaintext highlighter-rouge">Navy</code> and <code class="language-plaintext highlighter-rouge">Midnight</code> might not. Check the product media, supplier code, and merchandising brief before merging anything.</p>

<p>Use this small control table as your source of truth:</p>

<table>
  <thead>
    <tr>
      <th>Catalog value found</th>
      <th>Publish as</th>
      <th>Treat as the same shade?</th>
      <th>Notes</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>navy / Navy blue</td>
      <td>Navy</td>
      <td>Yes, after media check</td>
      <td>One label on all relevant products</td>
    </tr>
    <tr>
      <td>forest</td>
      <td>Forest green</td>
      <td>Only if the product photography agrees</td>
      <td>Avoid vague internal shorthand</td>
    </tr>
    <tr>
      <td>sand</td>
      <td>Sand</td>
      <td>No change</td>
      <td>Keep buyer language simple</td>
    </tr>
  </tbody>
</table>

<p>Shopify can connect category metafield entries to variant options, which is helpful when you need reusable, consistent option data across products. Its <a href="https://help.shopify.com/en/manual/custom-data/metafields/category-metafields/using-category-metafields">color-swatch guide</a> also notes that storefront display depends on a theme that supports variant swatches.</p>

<h2 id="2-choose-variants-or-linked-products-before-you-configure-chips">2. Choose variants or linked products before you configure chips</h2>

<p>Use <strong>variants</strong> when the shopper remains on one product page and the choice changes a color, size, price, inventory, or media combination. Use <strong>linked products</strong> when each colorway deserves its own product page, description, media story, or merchandising URL. Do not use separate products solely to paper over inconsistent names.</p>

<p>A quick decision rule:</p>

<ul>
  <li>Keep it a variant when the products share one buying decision and one product description.</li>
  <li>Link products when the colorway is independently merchandised or must have its own product details.</li>
  <li>Stop and review when a color name would map to multiple different photos or stock records.</li>
</ul>

<p>Supra Swatch Colors supports both variant color options and swatches that link separate product pages, so you can apply the same cleaned-up label system to either structure. Its <a href="https://apps.shopify.com/swatch-colors-ultimator">Shopify App Store listing</a> is the place to start configuration after the catalog decision.</p>

<p><img src="/assets/img/posts/2026-11-04-how-to-standardize-shopify-color-names-before-you-add-swatches/image-02-e36b2a36f9e4.webp" alt="Retro diagram choosing variants or linked products for swatches" /></p>

<h2 id="3-rename-values-in-a-controlled-pass">3. Rename values in a controlled pass</h2>

<p>Work one family at a time. In <strong>Products → select a product → Variants</strong>, update the option value to the approved shopper-facing name, save, and move to the next matching product. Shopify’s <a href="https://help.shopify.com/en/manual/products/variants/add-variants">instructions for adding and editing variant options</a> are worth keeping open because the product-details experience is changing for some stores.</p>

<p>After each small batch, verify these three things:</p>

<ol>
  <li>The intended variant still points to the right price, SKU, inventory, and media.</li>
  <li>No duplicate combination has been created.</li>
  <li>A shopper can still select every valid size-and-color pairing.</li>
</ol>

<p>Do not promise that a swatch will solve an unavailable combination by itself. A color choice that leaves every size sold out needs a clear unavailable state and a real customer path. If you are retiring old shades, use the same inventory-aware approach described in <a href="https://tools-and-how-tos.github.io/2026/11/02/how-to-retire-shopify-color-swatches-without-confusing-shoppers/">How to Retire Shopify Color Swatches Without Confusing Shoppers</a>.</p>

<h2 id="4-configure-swatches-only-after-the-data-agrees">4. Configure swatches only after the data agrees</h2>

<p>Now configure the display layer. In Supra Swatch Colors, use the approved value as the match point, then select the color or image treatment that helps a shopper identify the choice. The app supports color and image swatches on product and collection pages, plus linked-product and variant workflows.</p>

<p>Keep the visual cue faithful: a solid chip is useful for a flat color; an image swatch is safer when texture, print, or material changes the buyer’s expectation. Before rolling this out, compare your plan with the <a href="https://the-lean-ecommerce.github.io/2026/11/01/shopify-linked-product-swatches-a-migration-checklist-for-variant-cata/">linked-product swatch migration checklist</a> and <a href="https://how-to.the-lean-ecommerce.com/2026/10/27/how-to-build-a-clear-shopify-color-choice-path-with-swatches/">a clear color-choice path</a>. Both reinforce the same point: the click must make the next page state obvious.</p>

<h2 id="5-test-product-pages-and-collection-cards">5. Test product pages and collection cards</h2>

<p>Preview the theme before publishing. Shopify says swatch support depends on the theme, and its theme requirements call for product options to support visual hex or image swatches where applicable. Test in a private browser window as well as in the theme editor.</p>

<p><img src="/assets/img/posts/2026-11-04-how-to-standardize-shopify-color-names-before-you-add-swatches/image-03-dcfe67cbafa0.webp" alt="Retro checklist for testing swatches on product and collection pages" /></p>

<p>Run this five-minute checklist:</p>

<ol>
  <li><strong>Click every color</strong> on a representative product and confirm the label, image, price, availability, and URL or variant state are correct.</li>
  <li><strong>Change size after color</strong> and confirm unavailable combinations are visibly disabled or explained.</li>
  <li><strong>Use a keyboard</strong> to reach and select each swatch; a color alone should not be the only identifier.</li>
  <li><strong>Open a collection page</strong> and confirm its swatches lead to the same color meaning as the product page.</li>
  <li><strong>Check mobile width</strong> so chips do not wrap into an ambiguous, unlabeled row.</li>
</ol>

<p>If you see different names for the same shade, return to the source-of-truth table rather than adding another visual exception. For a broader merchandising check, see <a href="https://tools-and-how-tos.github.io/2026/10/10/how-to-keep-shopify-swatches-consistent-on-product-and-collection-page/">How to Keep Shopify Swatches Consistent on Product and Collection Pages</a>.</p>

<h2 id="troubleshooting">Troubleshooting</h2>

<p><strong>The swatch is visible but chooses the wrong variant.</strong> Recheck the option values, variant combinations, and any product-group mapping. Correct the catalog value first, then refresh the app’s configuration.</p>

<p><strong>The product page works but the collection card does not.</strong> Confirm the theme and collection integration are enabled, then test a product that has the same finalized color values as the one you used for setup.</p>

<p><strong>Two chips look identical but mean different products.</strong> Use an image swatch or a more specific label when the material or print matters. Do not collapse distinct sellable products into one generic color.</p>

<h2 id="keep-the-catalog-readable-before-making-it-colorful">Keep the catalog readable before making it colorful</h2>

<p>A reliable swatch starts with a reliable product option. Standardize the name, choose the right product structure, and test the shopper’s whole path before styling the chip. When the data is ready, <a href="https://apps.shopify.com/swatch-colors-ultimator">install Supra Swatch Colors from the Shopify App Store</a> and configure the display without rewriting your catalog again.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="shopify" /><category term="color-swatches" /><category term="product-variants" /><category term="catalog-management" /><summary type="html"><![CDATA[Standardize Shopify color option names before adding swatches, then test variants, linked products, and collection cards without confusing shoppers.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-04-how-to-standardize-shopify-color-names-before-you-add-swatches/cover-64d92143ef7a.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-04-how-to-standardize-shopify-color-names-before-you-add-swatches/cover-64d92143ef7a.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Audit Excel Formulas Before Importing a Supplier Spreadsheet</title><link href="https://how-to-blog.gitlab.io/2026/11/03/how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/" rel="alternate" type="text/html" title="How to Audit Excel Formulas Before Importing a Supplier Spreadsheet" /><published>2026-11-03T21:31:45+00:00</published><updated>2026-11-03T21:31:45+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/03/how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/03/how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/"><![CDATA[<h1 id="how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet">How to Audit Excel Formulas Before Importing a Supplier Spreadsheet</h1>

<p>Before you import a supplier workbook, list its formulas and look for hidden sheets, broken references, and links to other files. This catches workbooks that look complete in a grid but still depend on calculations or data you will not bring into your catalog. You need the original <code class="language-plaintext highlighter-rouge">.xlsx</code>, <code class="language-plaintext highlighter-rouge">.xlsm</code>, <code class="language-plaintext highlighter-rouge">.xls</code>, or template file and a browser.</p>

<p>The <a href="https://tiny-online.tools/document-tools/xlsx-formula-extractor">Excel Formula Extractor</a> from <a href="https://tiny-online.tools/">Tiny Online Tools</a> reads the workbook in the browser and does not upload it. It is an inspection step, not a replacement for opening the workbook in Excel or testing the final import.</p>

<p><img src="/assets/img/posts/2026-11-03-how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/image-01-c65aa73bed9e.webp" alt="Spreadsheet import gate showing formula checks" /></p>

<h2 id="1-save-an-untouched-copy-of-the-supplier-file">1. Save an untouched copy of the supplier file</h2>

<p>Create a working copy before you change columns, values, or formulas. Give it a name such as <code class="language-plaintext highlighter-rouge">supplier-catalog-2026-11-03-original.xlsx</code>. If the file is macro-enabled (<code class="language-plaintext highlighter-rouge">.xlsm</code>), preserve that extension; converting it casually can remove content you may need to investigate.</p>

<p>Do not start by deleting columns that look unnecessary. A visible price or SKU column may be driven by a lookup on another sheet. If you need a smaller exchange file after the audit, use a separate copy. The same separation is useful when you later <a href="https://how-to.the-lean-ecommerce.com/2026/10/31/how-to-prepare-a-shopify-customer-csv-before-sharing-it/">prepare a customer CSV before sharing it</a>: preserve the source, then make a purpose-built handoff file.</p>

<h2 id="2-list-every-formula-not-just-the-active-sheet">2. List every formula, not just the active sheet</h2>

<p>Open the <a href="https://tiny-online.tools/document-tools/xlsx-formula-extractor">Excel Formula Extractor</a>, select the untouched workbook, and wait for the result list. The tool accepts current Excel formats and older binary Excel files. Its report includes the sheet name, cell reference, formula text, and the last cached value.</p>

<p>The important result is coverage: it includes ordinary sheets, hidden sheets, and <code class="language-plaintext highlighter-rouge">veryHidden</code> sheets. A hidden tab is not proof of a problem, but it is a reason to ask what feeds it and whether your import depends on it.</p>

<p>Use this first pass to answer three plain questions:</p>

<ul>
  <li>Which columns in the planned import are calculated rather than typed?</li>
  <li>Do any formulas read from sheets you were about to exclude?</li>
  <li>Is the displayed value a current calculation, or only the value last saved in the file?</li>
</ul>

<h2 id="3-review-the-three-warning-groups">3. Review the three warning groups</h2>

<p>The tool flags cross-sheet references, external workbook links, and cached Excel errors. Treat them differently instead of declaring every warning bad.</p>

<table>
  <thead>
    <tr>
      <th>Finding</th>
      <th>What it can mean</th>
      <th>Safe next action</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Cross-sheet reference</td>
      <td>A visible field depends on a lookup or calculation elsewhere in the workbook.</td>
      <td>Keep the source sheet until you confirm the final values.</td>
    </tr>
    <tr>
      <td>External workbook link</td>
      <td>The formula expects another file by name or path.</td>
      <td>Ask the supplier for the linked source or replace the formula with a verified value.</td>
    </tr>
    <tr>
      <td><code class="language-plaintext highlighter-rouge">#REF!</code>, <code class="language-plaintext highlighter-rouge">#N/A</code>, <code class="language-plaintext highlighter-rouge">#DIV/0!</code>, or <code class="language-plaintext highlighter-rouge">#VALUE!</code></td>
      <td>A calculation was already failing when the workbook was last saved.</td>
      <td>Fix or exclude the affected row; do not import an error as product data.</td>
    </tr>
    <tr>
      <td>Defined name</td>
      <td>A formula may use a named range instead of obvious cell coordinates.</td>
      <td>Read what the name refers to before editing its dependent column.</td>
    </tr>
  </tbody>
</table>

<p><img src="/assets/img/posts/2026-11-03-how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/image-02-d0bc2e9580fd.webp" alt="Retro formula audit report with warnings" /></p>

<p>A formula filled down a column can also be stored as a shared formula. The extractor resolves those relative references, so a single master formula does not hide dozens of row-level calculations. That matters when a supplier sheet looks like static rows but prices, quantities, or labels shift as the formula moves.</p>

<h2 id="4-decide-whether-to-import-values-or-calculations">4. Decide whether to import values or calculations</h2>

<p>Most ecommerce imports need final values: text, numbers, handles, image URLs, and inventory counts. They do not run a supplier workbook’s formulas. If a planned import column is calculated, open the original workbook and verify that the values are correct before exporting a values-only copy.</p>

<p>For example, a <code class="language-plaintext highlighter-rouge">Retail Price</code> field may be a wholesale cost plus a margin rule from a hidden <code class="language-plaintext highlighter-rouge">Settings</code> tab. If you export only the visible tab, the current displayed prices may survive, but a future refresh will not reproduce them. Record the rule in your import notes or ask for a supplier export with stable values.</p>

<p>This is also why an import preview is useful but incomplete. A tool can confirm CSV structure; it cannot tell you whether an upstream spreadsheet formula depended on a missing workbook. For the next file stage, <a href="https://tools-and-how-tos.github.io/2026/10/28/how-to-audit-excel-formulas-before-a-spreadsheet-import/">audit Excel formulas before a spreadsheet import</a> and <a href="https://tools-and-how-tos.github.io/2026/10/24/how-to-reduce-a-csv-export-before-sharing-it/">reduce a CSV export before sharing it</a> are complementary checks, not substitutes for one another.</p>

<h2 id="5-export-the-evidence-you-need-for-the-handoff">5. Export the evidence you need for the handoff</h2>

<p>Export the formula report as CSV, JSON, or XLSX. Keep it next to the original workbook and add a short note with:</p>

<ol>
  <li>The source filename and date received.</li>
  <li>The formula-bearing columns you will import as values.</li>
  <li>Any hidden-sheet or external-link dependency you confirmed with the supplier.</li>
  <li>The rows excluded because they contained cached errors.</li>
</ol>

<p>That record makes the next refresh easier to review. It follows the same principle as a <a href="https://the-lean-ecommerce.github.io/2026/11/02/how-to-make-a-barcode-proof-sheet-before-shopify-packaging-goes-to-pri/">barcode proof sheet before printing labels</a>: save a small, reviewable proof before an irreversible operational step.</p>

<p><img src="/assets/img/posts/2026-11-03-how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/image-03-a78208680742.webp" alt="Approved spreadsheet import checklist" /></p>

<h2 id="troubleshooting">Troubleshooting</h2>

<h3 id="the-report-finds-formulas-on-a-sheet-i-cannot-see">The report finds formulas on a sheet I cannot see</h3>

<p>Check whether the sheet is hidden or <code class="language-plaintext highlighter-rouge">veryHidden</code>. Ask the workbook owner what it supplies. Do not unhide or delete it merely to make the workbook look cleaner.</p>

<h3 id="the-report-shows-an-external-link-but-the-values-look-right">The report shows an external link but the values look right</h3>

<p>Those are cached values from the last save, not evidence that the link can still update. Obtain the source workbook or replace the dependency with reviewed values before you rely on a future refresh.</p>

<h3 id="the-tool-reports-a-formula-error-in-an-unused-column">The tool reports a formula error in an unused column</h3>

<p>Verify that the column is truly absent from your mapping and not a source for another formula. If it is out of scope, document that decision; if it feeds a product field, resolve it before export.</p>

<h3 id="i-only-have-a-csv-not-the-original-excel-file">I only have a CSV, not the original Excel file</h3>

<p>A CSV contains values, not workbook formulas, hidden sheets, or defined names. Ask for the original workbook if you need to audit those dependencies. You can still use a <a href="https://tiny-online.tools/data-tools/csv-viewer">CSV Viewer</a> to check its headers and rows locally.</p>

<h2 id="make-the-import-file-boring-on-purpose">Make the import file boring on purpose</h2>

<p>A supplier spreadsheet does not have to be dangerous to deserve an audit. Run the original through the <a href="https://tiny-online.tools/document-tools/xlsx-formula-extractor">Excel Formula Extractor</a>, resolve the dependencies that affect your mapping, then export a clean values-only copy for the import. Your next action: inspect one current supplier workbook before you edit a single column.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="excel" /><category term="spreadsheet" /><category term="supplier-data" /><category term="shopify" /><category term="data-import" /><summary type="html"><![CDATA[Check hidden sheets, broken references, and external links in a supplier workbook before you import its product data.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-03-how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/cover-68dca81b6144.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-03-how-to-audit-excel-formulas-before-importing-a-supplier-spreadsheet/cover-68dca81b6144.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Recover an Etsy Catalog Feed That Stops Updating in Meta</title><link href="https://how-to-blog.gitlab.io/2026/11/03/how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/" rel="alternate" type="text/html" title="How to Recover an Etsy Catalog Feed That Stops Updating in Meta" /><published>2026-11-03T13:31:06+00:00</published><updated>2026-11-03T13:31:06+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/03/how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/03/how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/"><![CDATA[<h1 id="how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta">How to Recover an Etsy Catalog Feed That Stops Updating in Meta</h1>

<p>If your Etsy listings look current but your Meta catalog does not, do not rebuild the catalog first. Check one changed listing, the feed URL, and the last fetch result in that order; then make one small test change and wait for the next scheduled refresh. You need access to your Etsy shop, <a href="https://catalog-generator.webyze.com/">Catalog Generator</a>, and the relevant Meta Commerce Manager account.</p>

<p>Catalog Generator reads an Etsy shop and produces a live feed for Meta or Google Shopping. Its current product page says it can represent variations and personalization, and that feed settings live in the feed URL. That makes a stalled catalog a troubleshooting job: prove which handoff—Etsy, the feed, or Meta—has stopped moving before changing any settings.</p>

<h2 id="keep-this-four-line-recovery-card-open">Keep this four-line recovery card open</h2>

<p>Before touching Meta, write down these four things in a plain text file:</p>

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Write down</th>
      <th>Why it matters</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Test listing</td>
      <td>One active Etsy listing with a distinctive price, title, or quantity</td>
      <td>Gives you one fact to follow end to end</td>
    </tr>
    <tr>
      <td>Expected change</td>
      <td>The exact small edit you will make</td>
      <td>Stops you from comparing vague memories</td>
    </tr>
    <tr>
      <td>Feed URL</td>
      <td>The exact URL Meta is scheduled to fetch</td>
      <td>Confirms you are diagnosing the live source</td>
    </tr>
    <tr>
      <td>Last successful fetch</td>
      <td>Time and result shown in Commerce Manager</td>
      <td>Separates a delayed refresh from a broken source</td>
    </tr>
  </tbody>
</table>

<p>Choose a listing that is active and safe to edit. A temporary title suffix such as “- feed check” is easier to spot than changing a price during a promotion. If the item has variations, note the exact variation too: Catalog Generator says each priced variation can become its own catalog row, so a parent listing and a purchasable variation may not behave like the same record.</p>

<p><img src="/assets/img/posts/2026-11-03-how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/image-01-c4e95679b4e9.webp" alt="Retro browser window checking a catalog feed" /></p>

<h2 id="1-confirm-the-etsy-source-changed">1. Confirm the Etsy source changed</h2>

<p>Open the test listing in Etsy’s Shop Manager, make the one small change from your recovery card, save it, then reopen the public listing in a private browser window. You should see the new value there.</p>

<p>If the public Etsy page does not show it, stop here. Meta cannot receive a change that Etsy has not published. Check the listing’s state, the variation you edited, and whether the change was actually saved. This same “one visible record first” habit is useful when you <a href="https://tools-and-how-tos.github.io/2026/09/07/how-to-audit-an-etsy-product-feed-before-a-seasonal-sale/">audit an Etsy feed before a seasonal sale</a>.</p>

<p>Do not use a draft or inactive listing as your first diagnostic unless you intentionally configured the feed to include it. Catalog Generator’s current settings can include drafts or inactive listings, but that is a feed choice—not a safe assumption.</p>

<h2 id="2-open-the-feed-url-before-you-edit-the-catalog">2. Open the feed URL before you edit the catalog</h2>

<p>In Catalog Generator, copy the feed URL associated with the shop and open it in a new browser tab. You are looking for a successful response and for the test listing or its changed value in the feed output. Do not paste the URL into a public chat, because it may contain configuration parameters.</p>

<p>What you should see:</p>

<ul>
  <li>The URL opens without a browser error.</li>
  <li>The output contains the test listing or its variation.</li>
  <li>The changed value matches the public Etsy listing.</li>
</ul>

<p>If the feed opens but the changed listing is absent, return to Catalog Generator’s configuration. Check variation expansion, personalization handling, and whether drafts or inactive items are included. The product’s <a href="https://catalog-generator.webyze.com/">official documentation page</a> describes those choices as parameters on the feed URL, so capture the working URL in your recovery card before replacing anything.</p>

<p>If the feed URL itself fails, do not create a second catalog in Meta. Contact the app’s support channel with the shop name, time of the failure, and a redacted copy of the URL. A new catalog creates a second place for errors while leaving the original connection unresolved.</p>

<h2 id="3-compare-the-feed-with-metas-last-fetch">3. Compare the feed with Meta’s last fetch</h2>

<p>Open Commerce Manager, select the catalog, then open its data source and recent fetch details. Compare the last fetch time with the moment you saved the Etsy change. A fetch that happened before your test cannot prove the update failed.</p>

<p>Use this decision table:</p>

<table>
  <thead>
    <tr>
      <th>What you find</th>
      <th>Likely boundary</th>
      <th>Next action</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Etsy page is unchanged</td>
      <td>Etsy source</td>
      <td>Fix and republish the listing</td>
    </tr>
    <tr>
      <td>Etsy changed; feed is unchanged</td>
      <td>Feed configuration or app connection</td>
      <td>Review feed options and contact Catalog Generator support</td>
    </tr>
    <tr>
      <td>Feed changed; Meta fetch predates it</td>
      <td>Schedule</td>
      <td>Wait for the next scheduled fetch or run an available refresh</td>
    </tr>
    <tr>
      <td>Feed changed; Meta fetched after it but catalog is stale</td>
      <td>Meta processing or field match</td>
      <td>Review the data-source diagnostics before changing the feed</td>
    </tr>
  </tbody>
</table>

<p>This is deliberately narrower than a general setup guide such as <a href="https://how-to.the-lean-ecommerce.com/2026/10/13/how-to-connect-etsy-listings-to-a-meta-catalog-with-a-feed-url/">connecting Etsy listings to a Meta catalog with a feed URL</a>. Here the goal is to preserve a working connection and isolate one failed handoff.</p>

<p><img src="/assets/img/posts/2026-11-03-how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/image-02-cb74078c3139.webp" alt="Retro diagnostic board for catalog feed problems" /></p>

<h2 id="4-run-one-controlled-refresh-test">4. Run one controlled refresh test</h2>

<p>Once the feed reflects the change, leave the test listing alone until Meta completes one fetch. Record the time, then check the catalog after the scheduled refresh. If Commerce Manager offers a manual fetch for that data source, use it only after you have confirmed the feed URL is correct; otherwise you are accelerating the wrong input.</p>

<p>When the catalog updates, remove the temporary test suffix and let the normal refresh carry the clean value through. Then check a second listing with a variation or personalization option. This catches the common mistake of proving only the simple listing path. For a larger rollback-minded workflow, keep the same cautious scope used in this <a href="https://tools-and-how-tos.github.io/2026/09/16/how-to-test-an-etsy-bulk-edit-before-updating-your-catalog/">Etsy bulk-edit test guide</a>: one cohort, one expected result, one evidence record.</p>

<h2 id="troubleshooting-three-mistakes-that-look-like-a-feed-outage">Troubleshooting: three mistakes that look like a feed outage</h2>

<p><strong>The wrong catalog is open.</strong> Teams often have a test catalog and a production catalog. Match the exact data-source URL, not just the catalog name.</p>

<p><strong>A variation is being checked as a parent product.</strong> Choose the purchasable variation and its exact price or availability as the test fact.</p>

<p><strong>The refresh window is being treated as an error.</strong> If the feed changed after Meta’s last fetch, wait for the configured schedule before making a second change. Multiple edits erase the evidence you need.</p>

<p>Also avoid treating a browser preview as the final proof. A feed can look correct in a tab while Meta reports a parsing or item-level issue in its data-source diagnostics. The proof sequence is always the same: public Etsy listing, feed URL, fetch record, catalog item.</p>

<h2 id="save-the-working-state-for-the-next-incident">Save the working state for the next incident</h2>

<p>When the test passes, save your recovery card with the feed URL location, the normal refresh cadence, and the two listings you used. Catalog Generator’s feed is designed to avoid manual re-uploads; the useful operational habit is keeping a tiny record that lets the next person test it without guessing.</p>

<p><img src="/assets/img/posts/2026-11-03-how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/image-03-f4d7bcc3993b.webp" alt="Retro completion screen for catalog recovery checks" /></p>

<p>In short: verify Etsy first, verify the generated feed second, and only then judge Meta’s refresh. Start today by choosing one active listing and writing its current value in a four-line recovery card. If you need to rebuild confidence before a sales event, pair this with an <a href="https://the-lean-ecommerce.github.io/2026/11/01/etsy-catalog-feed-smoke-test-6-checks-before-you-connect-meta/">Etsy catalog feed smoke test</a>.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="etsy" /><category term="meta-catalog" /><category term="product-feed" /><category term="ecommerce-troubleshooting" /><summary type="html"><![CDATA[Recover a stalled Etsy catalog feed in Meta by checking the source listing, feed URL, refresh status, and a small test change.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-03-how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/cover-02337d888f60.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-03-how-to-recover-an-etsy-catalog-feed-that-stops-updating-in-meta/cover-02337d888f60.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Separate Video Template Data From User Edits in React</title><link href="https://how-to-blog.gitlab.io/2026/11/01/how-to-separate-video-template-data-from-user-edits-in-react/" rel="alternate" type="text/html" title="How to Separate Video Template Data From User Edits in React" /><published>2026-11-01T23:33:05+00:00</published><updated>2026-11-01T23:33:05+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/01/how-to-separate-video-template-data-from-user-edits-in-react</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/01/how-to-separate-video-template-data-from-user-edits-in-react/"><![CDATA[<h1 id="how-to-separate-video-template-data-from-user-edits-in-react">How to Separate Video Template Data From User Edits in React</h1>

<p>If your React app generates a starter video and then lets a customer change it, keep the template data separate from the user’s working copy. Store an immutable template, create a revision for each editing session, and render only an approved revision. With <a href="https://videoflow.dev/core">VideoFlow Core</a>, the shared format is VideoJSON, so the same document can be previewed, edited, and rendered without translating it between stages.</p>

<p>You need a React app, a place to store JSON, and a clear decision about which fields a user may change. This guide uses a product-video template, but the same pattern works for recap videos, social clips, and customer-specific exports.</p>

<p><img src="/assets/img/posts/2026-11-01-how-to-separate-video-template-data-from-user-edits-in-react/image-01-4154a10e4531.webp" alt="Locked and editable settings separated in a retro video template window" /></p>

<h2 id="1-define-one-template-contract-before-you-generate-a-video">1. Define one template contract before you generate a video</h2>

<p>Start by separating <em>structure</em> from <em>variables</em>. Structure is the scene order, duration limits, brand treatment, and required legal copy. Variables are the title, price, product image, CTA wording, and optional caption. Do not send a single unrestricted JSON document to the editor and hope people avoid changing the wrong fields.</p>

<p>A compact record can keep the boundary visible:</p>

<div class="language-ts highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kd">type</span> <span class="nx">VideoRecord</span> <span class="o">=</span> <span class="p">{</span>
  <span class="na">templateId</span><span class="p">:</span> <span class="kr">string</span><span class="p">;</span>
  <span class="nl">templateVersion</span><span class="p">:</span> <span class="kr">number</span><span class="p">;</span>
  <span class="nl">templateVideo</span><span class="p">:</span> <span class="nx">VideoJSON</span><span class="p">;</span> <span class="c1">// never mutate</span>
  <span class="nl">variables</span><span class="p">:</span> <span class="p">{</span> <span class="na">title</span><span class="p">:</span> <span class="kr">string</span><span class="p">;</span> <span class="nl">price</span><span class="p">?:</span> <span class="kr">string</span><span class="p">;</span> <span class="nl">imageUrl</span><span class="p">:</span> <span class="kr">string</span> <span class="p">};</span>
  <span class="nl">revisionVideo</span><span class="p">?:</span> <span class="nx">VideoJSON</span><span class="p">;</span> <span class="c1">// user-owned working copy</span>
  <span class="nl">status</span><span class="p">:</span> <span class="dl">'</span><span class="s1">draft</span><span class="dl">'</span> <span class="o">|</span> <span class="dl">'</span><span class="s1">approved</span><span class="dl">'</span> <span class="o">|</span> <span class="dl">'</span><span class="s1">rendered</span><span class="dl">'</span><span class="p">;</span>
<span class="p">};</span>
</code></pre></div></div>

<p>Use a <code class="language-plaintext highlighter-rouge">templateVersion</code> even if you only have one template today. It tells you which layout and rules produced a revision. VideoFlow’s Core builder compiles a flow into portable VideoJSON, with text, image, video, audio, captions, and shape layers available as the building blocks. That makes a JSON document a practical handoff instead of an opaque exported file.</p>

<h2 id="2-generate-a-fresh-working-copy-from-approved-inputs">2. Generate a fresh working copy from approved inputs</h2>

<p>When a user opens an editor, merge validated variables into the template and save the result as a new revision. Keep the original template untouched. A change in one customer project must never quietly alter tomorrow’s starting point.</p>

<p>For a catalog-video example, validate the product title length, image URL, currency formatting, and CTA against your own rules before compilation. Then create the working document. A small service boundary is enough:</p>

<div class="language-ts highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">async</span> <span class="kd">function</span> <span class="nx">createRevision</span><span class="p">(</span><span class="nx">template</span><span class="p">:</span> <span class="nx">VideoJSON</span><span class="p">,</span> <span class="nx">variables</span><span class="p">:</span> <span class="nx">Variables</span><span class="p">)</span> <span class="p">{</span>
  <span class="kd">const</span> <span class="nx">safe</span> <span class="o">=</span> <span class="nx">validateVariables</span><span class="p">(</span><span class="nx">variables</span><span class="p">);</span>
  <span class="kd">const</span> <span class="nx">video</span> <span class="o">=</span> <span class="nx">applyVariables</span><span class="p">(</span><span class="nx">structuredClone</span><span class="p">(</span><span class="nx">template</span><span class="p">),</span> <span class="nx">safe</span><span class="p">);</span>
  <span class="k">return</span> <span class="nx">saveRevision</span><span class="p">({</span> <span class="nx">video</span><span class="p">,</span> <span class="na">status</span><span class="p">:</span> <span class="dl">'</span><span class="s1">draft</span><span class="dl">'</span> <span class="p">});</span>
<span class="p">}</span>
</code></pre></div></div>

<p>Keep <code class="language-plaintext highlighter-rouge">applyVariables</code> narrow: replace the known text and media layer values, not arbitrary paths supplied by the browser. If your product needs flexible scenes, give users named slots such as <code class="language-plaintext highlighter-rouge">heroImage</code> or <code class="language-plaintext highlighter-rouge">offerLine</code>, rather than exposing every layer property.</p>

<h2 id="3-give-react-the-revision-not-the-master-template">3. Give React the revision, not the master template</h2>

<p>Pass the revision to the <a href="https://videoflow.dev/react-video-editor">VideoFlow React Video Editor</a>. Its <code class="language-plaintext highlighter-rouge">onChange</code> callback can autosave the working copy while <code class="language-plaintext highlighter-rouge">onSave</code> persists an intentional checkpoint. The component supplies a multi-track timeline, type-aware controls, undo/redo, and a live preview; your application still controls identity, permissions, and storage.</p>

<div class="language-tsx highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">&lt;</span><span class="nc">VideoEditor</span>
  <span class="na">video</span><span class="p">=</span><span class="si">{</span><span class="nx">revision</span><span class="p">.</span><span class="nx">video</span><span class="si">}</span>
  <span class="na">onChange</span><span class="p">=</span><span class="si">{</span><span class="p">(</span><span class="nx">next</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="nx">saveDraft</span><span class="p">(</span><span class="nx">revision</span><span class="p">.</span><span class="nx">id</span><span class="p">,</span> <span class="nx">next</span><span class="p">)</span><span class="si">}</span>
  <span class="na">onSave</span><span class="p">=</span><span class="si">{</span><span class="p">(</span><span class="nx">next</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="nx">submitForApproval</span><span class="p">(</span><span class="nx">revision</span><span class="p">.</span><span class="nx">id</span><span class="p">,</span> <span class="nx">next</span><span class="p">)</span><span class="si">}</span>
  <span class="na">onUpload</span><span class="p">=</span><span class="si">{</span><span class="nx">uploadApprovedAsset</span><span class="si">}</span>
  <span class="na">theme</span><span class="p">=</span><span class="s">"night"</span>
<span class="p">/&gt;</span>
</code></pre></div></div>

<p>Use <code class="language-plaintext highlighter-rouge">onUpload</code> to enforce your media policy. For example, reject an unsupported type, scan an upload, place it in your bucket, and return its final URL. Do not make a browser-local preview URL the permanent source for a server render.</p>

<p><img src="/assets/img/posts/2026-11-01-how-to-separate-video-template-data-from-user-edits-in-react/image-02-90d3b1839279.webp" alt="Live video preview and protected source files in a retro desktop workspace" /></p>

<h2 id="4-limit-edits-with-a-small-permission-table">4. Limit edits with a small permission table</h2>

<p>The best editing rules describe the customer job, not the implementation convenience. Here is a useful default for a generated product clip:</p>

<table>
  <thead>
    <tr>
      <th>Field or layer</th>
      <th>Customer can change?</th>
      <th>Why</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Product image</td>
      <td>Yes, from approved uploads</td>
      <td>The product selection changes per record</td>
    </tr>
    <tr>
      <td>Headline and price</td>
      <td>Yes, after validation</td>
      <td>These are expected variables</td>
    </tr>
    <tr>
      <td>Scene order and duration</td>
      <td>Usually no</td>
      <td>It preserves the template’s pacing and review scope</td>
    </tr>
    <tr>
      <td>Brand lockup and required disclosure</td>
      <td>No</td>
      <td>These are organizational controls</td>
    </tr>
    <tr>
      <td>Music and voiceover</td>
      <td>Review-required</td>
      <td>They may affect rights, timing, and claims</td>
    </tr>
  </tbody>
</table>

<p>Enforce important locks on the server too. A disabled editor control is a helpful interface cue, not an authorization system. Before saving an edit, compare the proposed VideoJSON with the allowed slots or regenerate the document from stored variables.</p>

<h2 id="5-preview-the-exact-revision-before-approving-it">5. Preview the exact revision before approving it</h2>

<p>Use the DOM renderer for the same revision the user just saved. VideoFlow’s <a href="https://videoflow.dev/renderers">renderers</a> support a scrubbable DOM preview, browser MP4 export, and headless Node rendering from the same VideoJSON. Previewing the stored revision catches a common mistake: the UI looks right because it is showing local state, while the saved JSON is stale or incomplete.</p>

<p>Your approval screen should show the revision number, template version, variables, uploaded asset URLs, and a preview of that exact JSON. For a wider end-to-end pattern, see <a href="https://how-to.the-lean-ecommerce.com/2026/10/24/how-to-build-a-reviewable-ai-video-pipeline-with-videojson/">how to build a reviewable AI video pipeline with VideoJSON</a> and <a href="https://how-to-blog.gitlab.io/2026/11/01/how-to-save-videojson-before-choosing-a-video-renderer/">how to save VideoJSON before choosing a video renderer</a>.</p>

<h2 id="6-render-approved-revisions-through-the-right-path">6. Render approved revisions through the right path</h2>

<p>For an individual, short export, browser rendering can avoid an upload-and-render round trip. For batch jobs, scheduled content, or an API, send the approved VideoJSON to <code class="language-plaintext highlighter-rouge">@videoflow/renderer-server</code>. The server renderer writes an MP4 file or Buffer and is designed for queue-friendly work.</p>

<p>Keep rendering out of the draft save path. A reliable sequence is: save revision, preview revision, approve revision, enqueue revision, then attach the output URL to that revision. If you are adding the queue itself, <a href="https://the-lean-ecommerce.github.io/2026/10/29/i-built-a-video-rendering-queue-before-my-first-batch-export/">this VideoFlow rendering-queue guide</a> is a useful companion.</p>

<p><img src="/assets/img/posts/2026-11-01-how-to-separate-video-template-data-from-user-edits-in-react/image-03-12d7d61a20ab.webp" alt="Video JSON render queue progressing to MP4 output in a retro desktop window" /></p>

<h2 id="troubleshooting-the-three-mistakes-that-blur-the-boundary">Troubleshooting: the three mistakes that blur the boundary</h2>

<p><strong>Edits appear in every new video.</strong> You mutated the template object. Store the template separately and deep-copy it before applying variables.</p>

<p><strong>A server render differs from the preview.</strong> Render the persisted revision ID, not a freshly regenerated document or unsaved client state. Save asset URLs that both browser and server can reach.</p>

<p><strong>Users can alter a locked field.</strong> Treat client restrictions as convenience only. Validate allowed layer changes on the server, or rebuild the final VideoJSON from the template plus approved variables.</p>

<h2 id="keep-the-handoff-boring-and-traceable">Keep the handoff boring and traceable</h2>

<p>A generated video becomes easier to support when its template, variables, user revision, approval state, and MP4 output are separate records. VideoFlow makes that boundary practical because one VideoJSON can move from structured authoring to a React editor, live preview, and final renderer. If users need to polish a generated first cut, you can also compare this approach with <a href="https://the-lean-ecommerce.github.io/2026/10/28/how-i-let-customers-edit-ai-generated-videos-in-my-saas/">letting customers edit AI-generated videos in a SaaS</a>.</p>

<p>Start with one template and three editable fields. Once your team can explain exactly what changes, who approved it, and which JSON rendered the MP4, expand the template—not the permission gap.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="react" /><category term="videojson" /><category term="video-automation" /><category term="typescript" /><category term="videoflow" /><summary type="html"><![CDATA[Keep a video template stable while users edit safe fields in React, then preview and render the resulting VideoJSON with confidence.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-01-how-to-separate-video-template-data-from-user-edits-in-react/cover-5bb04e88f006.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-01-how-to-separate-video-template-data-from-user-edits-in-react/cover-5bb04e88f006.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Save VideoJSON Before Choosing a Video Renderer</title><link href="https://how-to-blog.gitlab.io/2026/11/01/how-to-save-videojson-before-choosing-a-video-renderer/" rel="alternate" type="text/html" title="How to Save VideoJSON Before Choosing a Video Renderer" /><published>2026-11-01T07:35:06+00:00</published><updated>2026-11-01T07:35:06+00:00</updated><id>https://how-to-blog.gitlab.io/2026/11/01/how-to-save-videojson-before-choosing-a-video-renderer</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/11/01/how-to-save-videojson-before-choosing-a-video-renderer/"><![CDATA[<h1 id="how-to-save-videojson-before-choosing-a-video-renderer">How to Save VideoJSON Before Choosing a Video Renderer</h1>

<p>If your app needs both a live preview and an MP4, save <strong>one VideoJSON document</strong> before you choose an export path. In VideoFlow, the same document can drive a DOM preview, a browser export, or a server render. That means a later renderer decision does not require rebuilding scenes or inventing a second timeline. You need a TypeScript app, a stable place to store JSON, and URLs for the media your video references.</p>

<p><img src="/assets/img/posts/2026-11-01-how-to-save-videojson-before-choosing-a-video-renderer/image-01-47b94918e6fd.webp" alt="Diagram from data and template to VideoJSON preview and browser or server MP4" /></p>

<p>This guide deliberately starts with the document, not with a render queue. That is useful when one customer may export in the browser while scheduled or batch work belongs on a server. VideoFlow’s <a href="https://videoflow.dev/core">Core documentation</a> describes the builder as compiling layers into portable VideoJSON; its <a href="https://videoflow.dev/renderers">renderer guide</a> shows the same JSON used by browser, server, and DOM renderers.</p>

<h2 id="1-define-the-video-document-before-you-define-the-job">1. Define the video document before you define the job</h2>

<p>Start by deciding what the stored document must answer: project dimensions, frame rate, layers, timing, media URLs, captions, and visual settings. Treat that object as the source of truth for the video, not as a disposable payload created only at export time.</p>

<p>Use the VideoFlow builder to compile a small, reviewable document:</p>

<div class="language-ts highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">import</span> <span class="nx">VideoFlow</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">@videoflow/core</span><span class="dl">'</span><span class="p">;</span>

<span class="kd">const</span> <span class="nx">$</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">VideoFlow</span><span class="p">({</span>
  <span class="na">name</span><span class="p">:</span> <span class="dl">'</span><span class="s1">Weekly account recap</span><span class="dl">'</span><span class="p">,</span>
  <span class="na">width</span><span class="p">:</span> <span class="mi">1920</span><span class="p">,</span>
  <span class="na">height</span><span class="p">:</span> <span class="mi">1080</span><span class="p">,</span>
  <span class="na">fps</span><span class="p">:</span> <span class="mi">30</span><span class="p">,</span>
<span class="p">});</span>

<span class="nx">$</span><span class="p">.</span><span class="nx">addText</span><span class="p">({</span>
  <span class="na">text</span><span class="p">:</span> <span class="dl">'</span><span class="s1">Your week in review</span><span class="dl">'</span><span class="p">,</span>
  <span class="na">fontSize</span><span class="p">:</span> <span class="mi">6</span><span class="p">,</span>
  <span class="na">fontWeight</span><span class="p">:</span> <span class="mi">800</span><span class="p">,</span>
  <span class="na">color</span><span class="p">:</span> <span class="dl">'</span><span class="s1">#ffffff</span><span class="dl">'</span><span class="p">,</span>
<span class="p">});</span>

<span class="nx">$</span><span class="p">.</span><span class="nx">wait</span><span class="p">(</span><span class="dl">'</span><span class="s1">3s</span><span class="dl">'</span><span class="p">);</span>
<span class="kd">const</span> <span class="nx">videoJSON</span> <span class="o">=</span> <span class="k">await</span> <span class="nx">$</span><span class="p">.</span><span class="nx">compile</span><span class="p">();</span>
<span class="k">await</span> <span class="nx">saveVideoDocument</span><span class="p">(</span><span class="nx">videoId</span><span class="p">,</span> <span class="nx">videoJSON</span><span class="p">);</span>
</code></pre></div></div>

<p>After this step, <code class="language-plaintext highlighter-rouge">videoJSON</code> is the item you version, review, and pass onward. Do not promise that an exported MP4 remains editable: keep the JSON alongside the export so a later copy or asset change has a known starting point. If your input begins as catalog data, the same discipline complements <a href="https://the-lean-ecommerce.blogspot.com/2026/10/how-to-turn-product-catalog-data-into.html">a reviewable ecommerce-video workflow</a>: normalize the data before it becomes scene content.</p>

<h2 id="2-keep-media-references-resolvable-from-every-renderer">2. Keep media references resolvable from every renderer</h2>

<p>Before you save, make each image, video, and audio source reachable from the renderer that will use it. A relative URL that works in a local preview can fail in a server worker; a browser-only object URL cannot be replayed by a scheduled Node job. Store durable, authorized media URLs or an asset identifier that your renderer resolves consistently.</p>

<p>Use this short check before committing a document:</p>

<table>
  <thead>
    <tr>
      <th>Check</th>
      <th>Why it matters</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Width, height, and fps are explicit</td>
      <td>Preview and export share the intended canvas and cadence.</td>
    </tr>
    <tr>
      <td>Media has durable URLs</td>
      <td>A later server job can still fetch the asset.</td>
    </tr>
    <tr>
      <td>Template variables are resolved or named</td>
      <td>A reviewer can identify what is still expected to change.</td>
    </tr>
    <tr>
      <td>VideoJSON is saved before an MP4 request</td>
      <td>You can reproduce or revise the job.</td>
    </tr>
  </tbody>
</table>

<p>For a user-facing editor, send changes back through your own persistence boundary. The <a href="https://videoflow.dev/react-video-editor">React Video Editor docs</a> show <code class="language-plaintext highlighter-rouge">onChange</code>, <code class="language-plaintext highlighter-rouge">onSave</code>, and <code class="language-plaintext highlighter-rouge">onUpload</code> callbacks; use them to save the updated VideoJSON and return stable asset URLs. This is the practical escape hatch missing from a render-only design.</p>

<h2 id="3-preview-the-exact-document-a-renderer-will-receive">3. Preview the exact document a renderer will receive</h2>

<p>Load the saved VideoJSON into a DOM preview before creating an export job. The DOM renderer is intended for a scrubbable live player, and it supports frame-accurate seeking. Review three things: the first frame, every text substitution, and the end of every timed layer.</p>

<p><img src="/assets/img/posts/2026-11-01-how-to-save-videojson-before-choosing-a-video-renderer/image-02-daa38c513d8c.webp" alt="Retro preview check dialog with content timing and assets checklist" /></p>

<p>Keep the approval rule plain: <strong>approve the saved document, then render that document ID</strong>. Do not let a UI preview read unsaved state while the renderer reads an older record. That mismatch is the kind of failure a separate review step is designed to prevent; see <a href="https://how-to-blog.gitlab.io/2026/09/12/how-to-add-a-review-step-to-an-automated-product-video-workflow/">how to add a review step to an automated product-video workflow</a>.</p>

<h2 id="4-choose-browser-export-for-an-interactive-user-started-download">4. Choose browser export for an interactive, user-started download</h2>

<p>Use <code class="language-plaintext highlighter-rouge">@videoflow/renderer-browser</code> when the person already has the project open and expects to export it in the page. According to the <a href="https://videoflow.dev/renderers">browser renderer documentation</a>, it returns an MP4 Blob client-side and supports progress updates, cancellation with <code class="language-plaintext highlighter-rouge">AbortController</code>, and worker-assisted processing.</p>

<p>The decision is about operational fit, not a universal performance claim:</p>

<ul>
  <li>Choose the browser when an authenticated user starts a small, interactive export and avoiding a server-side render is useful.</li>
  <li>Show progress and provide a cancel control; a long-running button with no feedback is hard to recover from.</li>
  <li>Keep the saved VideoJSON even after the download succeeds, so the user can revise rather than recreate.</li>
</ul>

<p>If your app must work with private customer media, verify that the client has permission to read each URL. Browser export reduces a server round trip; it does not remove the need for asset access controls.</p>

<h2 id="5-choose-server-rendering-for-batches-apis-and-scheduled-output">5. Choose server rendering for batches, APIs, and scheduled output</h2>

<p>Use <code class="language-plaintext highlighter-rouge">@videoflow/renderer-server</code> when a backend needs to render after the user has left, when an API receives work, or when one approved template produces many outputs. The renderer guide documents headless Node rendering to a file or Buffer, progress reporting, and an optional FFmpeg path for cases that need alternate encoder flags.</p>

<p>Create a job record that points to the saved document instead of copying its JSON into every queue message:</p>

<div class="language-ts highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">await</span> <span class="nx">enqueue</span><span class="p">({</span>
  <span class="na">type</span><span class="p">:</span> <span class="dl">'</span><span class="s1">render-video</span><span class="dl">'</span><span class="p">,</span>
  <span class="nx">videoId</span><span class="p">,</span>
  <span class="na">revision</span><span class="p">:</span> <span class="nx">approvedRevision</span><span class="p">,</span>
  <span class="na">output</span><span class="p">:</span> <span class="dl">'</span><span class="s1">s3://exports/account-recap.mp4</span><span class="dl">'</span><span class="p">,</span>
<span class="p">});</span>
</code></pre></div></div>

<p>A worker can load that exact revision, resolve its assets, render it, and store the MP4. The queue should record failures and retries separately from the document. This keeps a media outage or encoder problem from mutating the approved creative record. If you are building the queue itself, <a href="https://how-to.the-lean-ecommerce.com/2026/10/09/how-to-build-a-video-rendering-queue-from-product-data/">this product-data rendering-queue guide</a> is a useful adjacent pattern.</p>

<p><img src="/assets/img/posts/2026-11-01-how-to-save-videojson-before-choosing-a-video-renderer/image-03-40b95335a1e6.webp" alt="Retro export choice dialog comparing browser user export with server batch jobs" /></p>

<h2 id="6-use-this-renderer-decision-rule">6. Use this renderer decision rule</h2>

<p>Choose from the job in front of you:</p>

<table>
  <thead>
    <tr>
      <th>Need</th>
      <th>Recommended path</th>
      <th>Keep saved</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>A person clicks Export and waits</td>
      <td>Browser renderer</td>
      <td>VideoJSON + export metadata</td>
    </tr>
    <tr>
      <td>A dashboard needs a live scrubber</td>
      <td>DOM renderer</td>
      <td>VideoJSON</td>
    </tr>
    <tr>
      <td>A nightly batch or API request</td>
      <td>Server renderer</td>
      <td>VideoJSON + job revision</td>
    </tr>
    <tr>
      <td>A customer edits a generated draft</td>
      <td>React editor, then chosen renderer</td>
      <td>Updated VideoJSON</td>
    </tr>
  </tbody>
</table>

<p>Do not use this as a claim that one renderer is always cheaper or faster. Test duration, resolution, concurrent work, asset size, and your users’ devices. The point is that the document stays stable while the delivery mechanism changes.</p>

<h2 id="troubleshooting">Troubleshooting</h2>

<p><strong>The preview looks right but the server export cannot find media.</strong> Replace local paths, browser object URLs, or temporary signed URLs with an asset-resolution step the worker can use.</p>

<p><strong>A user exports an old edit.</strong> Save a revision before enabling Export and include that revision in the request. A visible timeline is not proof that the database contains the same document.</p>

<p><strong>You need a one-off visual correction.</strong> Open the saved VideoJSON in the editor rather than patching an MP4. The editor’s callbacks give your app a place to persist that correction before the next export.</p>

<h2 id="save-once-render-where-the-job-belongs">Save once, render where the job belongs</h2>

<p>VideoFlow is most useful here as a portable video document plus the renderer that fits the job. Save the VideoJSON, preview that saved revision, then send it to browser or server export. Your next action: add a <code class="language-plaintext highlighter-rouge">videoId</code> and <code class="language-plaintext highlighter-rouge">revision</code> to your export request, and make the worker load that exact saved document.</p>

<p>For the surrounding structured-video approach, also see <a href="https://how-to.the-lean-ecommerce.com/2026/10/24/how-to-build-a-reviewable-ai-video-pipeline-with-videojson/">how to build a reviewable AI video pipeline with VideoJSON</a>.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="videoflow" /><category term="videojson" /><category term="typescript" /><category term="video-rendering" /><category term="how-to" /><summary type="html"><![CDATA[Save one VideoJSON document, preview it, and choose browser or server MP4 export without rebuilding your video.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-01-how-to-save-videojson-before-choosing-a-video-renderer/cover-6ad05e5a7d95.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-11-01-how-to-save-videojson-before-choosing-a-video-renderer/cover-6ad05e5a7d95.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Revise One Launch Video Scene Without Losing Your Editable Project</title><link href="https://how-to-blog.gitlab.io/2026/10/31/how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/" rel="alternate" type="text/html" title="How to Revise One Launch Video Scene Without Losing Your Editable Project" /><published>2026-10-31T20:26:06+00:00</published><updated>2026-10-31T20:26:06+00:00</updated><id>https://how-to-blog.gitlab.io/2026/10/31/how-to-revise-one-launch-video-scene-without-losing-your-editable-proj</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/10/31/how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/"><![CDATA[<h1 id="how-to-revise-one-launch-video-scene-without-losing-your-editable-project">How to Revise One Launch Video Scene Without Losing Your Editable Project</h1>

<p>You can revise one scene in a startup launch video without rebuilding the whole film: describe the specific change, keep the scene and timing in scope, then inspect the newly rendered frames before approving it. <a href="https://studio.videoflow.dev/">VideoFlow Studio</a> is designed for this kind of revision because its film remains an editable project rather than only a finished clip. You need a completed first render, the source URL or project, and one clear issue to fix.</p>

<h2 id="1-identify-one-visible-problem-before-you-request-a-change">1. Identify one visible problem before you request a change</h2>

<p>Pause on the exact moment that is wrong. Write down the scene number or timestamp, what a viewer sees, and what should change. Do not start with a broad request such as “make it better”; it gives the next render too many moving parts.</p>

<p>A useful scene note has three parts:</p>

<table>
  <thead>
    <tr>
      <th>Include</th>
      <th>Example</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Location</td>
      <td>“Scene 3, the last two seconds”</td>
    </tr>
    <tr>
      <td>Visible issue</td>
      <td>“The headline competes with the product card”</td>
    </tr>
    <tr>
      <td>Intended correction</td>
      <td>“Hold the card, then bring in the headline after it”</td>
    </tr>
  </tbody>
</table>

<p>This is smaller than a full launch-video brief. If you are still deciding what the film should say, start with a <a href="https://the-lean-ecommerce.github.io/2026/10/29/i-built-a-website-evidence-pack-before-generating-my-startup-video/">website evidence pack</a> instead of asking an editor to solve a messaging problem during a layout revision.</p>

<p><img src="/assets/img/posts/2026-10-31-how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/image-01-9a934c3ed96a.webp" alt="Retro scene-note checklist for a focused video revision" /></p>

<h2 id="2-open-the-existing-studio-project-instead-of-starting-a-second-film">2. Open the existing Studio project instead of starting a second film</h2>

<p>Use the existing VideoFlow Studio project for the revision. Studio’s terminal path starts with <code class="language-plaintext highlighter-rouge">npx @videoflow/studio@latest</code>; its hosted path lets you open the same kind of editable project in the browser. The official product page says both routes end in the same editor, and that the agent can work from the context of the film it already built.</p>

<p>That distinction matters. A new URL-to-video run can be appropriate when the product positioning has changed. It is a poor substitute for a one-scene correction because it can change the structure, copy, and pacing you already approved. The underlying <a href="https://github.com/ybouane/VideoFlow">VideoFlow engine is open source</a> and documents a portable JSON video format; Studio is the operator-facing workflow layered on top of that editable foundation.</p>

<h2 id="3-state-the-revision-as-an-observable-instruction">3. State the revision as an observable instruction</h2>

<p>Tell Studio exactly what to change in a plain-language sentence. Keep the request tied to the selected scene and name any element that must remain unchanged. For example:</p>

<blockquote>
  <p>In scene 3, keep the product card and its color. Move the headline to appear after the card has settled, then render the revised scene.</p>
</blockquote>

<p>This request supplies a boundary, an invariant, and a result to check. It does not pretend that a text prompt alone proves the edit worked. Studio’s published workflow says it plans, builds, renders, measures, and visually reviews the encoded result; use that review pass as a useful first check, then perform your own reader-facing check.</p>

<p>If your revision is about an end card or a single message, this focused approach is usually faster than a wholesale re-cut. If the launch claims themselves changed, use the broader change-control method in <a href="https://the-lean-ecommerce.github.io/2026/10/29/how-i-keep-a-startup-video-accurate-when-the-product-changes/">How I Keep a Startup Video Accurate When the Product Changes</a> before you touch the scene.</p>

<h2 id="4-inspect-rendered-frames-not-only-the-timeline">4. Inspect rendered frames, not only the timeline</h2>

<p>After the render completes, inspect the encoded frames at the beginning, middle, and end of the changed scene. Check the result a viewer will actually receive: the text should be readable, the product should remain visible, and the transition should not hide the promised feature.</p>

<p><img src="/assets/img/posts/2026-10-31-how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/image-02-3769dfb4f362.webp" alt="Retro video timeline with rendered-frame inspection" /></p>

<p>Use this compact acceptance test:</p>

<ol>
  <li>Compare the first changed frame with the last approved version. Confirm that unrelated scenes did not move.</li>
  <li>Check the moment the new element enters. Confirm it does not overlap a logo, button, or product screenshot.</li>
  <li>Play the scene at normal speed with sound on and off. Confirm that the visual order still makes sense without narration.</li>
  <li>Read every changed line aloud. Confirm that the copy still matches the current landing page.</li>
</ol>

<p>For a final pre-publish pass across the whole film, use this separate <a href="https://tools-and-how-tos.github.io/2026/10/30/startup-launch-video-qa-checklist-what-to-check-before-you-publish/">launch video QA checklist</a>. It covers the wider release decision; this article is deliberately only about making a safe, bounded scene correction.</p>

<h2 id="5-save-the-editable-project-before-you-export">5. Save the editable project before you export</h2>

<p>When the revision passes, save the project and keep the source alongside the exported video. Studio’s product page describes each film as a portable document that can be opened in its editor, with layers, timing, colors, and text available for further changes. An MP4 is the delivery file; it should not be your only copy.</p>

<p><img src="/assets/img/posts/2026-10-31-how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/image-03-cd177f959495.webp" alt="Retro desktop graphic showing editable scenes saved as a project" /></p>

<p>Use a simple folder rule: keep the approved export, the editable project, and a one-line note explaining what changed. That gives the next reviewer enough context to make another precise correction instead of guessing which version became final. If you need to choose between a terminal-first and hosted workflow before the work begins, see <a href="https://the-lean-ecommerce.github.io/2026/10/31/i-choose-videoflow-studio-s-cli-or-hosted-path-before-a-launch-video/">VideoFlow Studio’s CLI or hosted path decision guide</a>.</p>

<h2 id="troubleshooting-a-revision-that-still-looks-wrong">Troubleshooting a revision that still looks wrong</h2>

<p><strong>The new scene fixes one issue but introduces another.</strong> Undo the approval and narrow the next instruction to one element. Ask for the changed scene to be rendered again; do not pile three unrelated fixes into one request.</p>

<p><strong>The timing looks right in the editor but wrong in the export.</strong> Judge the exported frames, not just the timeline preview. Record the exact timestamp and describe the mismatch in the next scene note.</p>

<p><strong>You only have a final MP4.</strong> You can still plan the correction, but you have lost the benefit of editing the existing project. Recreate only what you must, and store the editable source for the next round.</p>

<p><strong>The product messaging changed.</strong> Stop treating it as a layout adjustment. Re-check the landing page, claims, and scene plan before revising; a polished video with old claims is not ready to publish.</p>

<h2 id="save-the-change-then-move-on">Save the change, then move on</h2>

<p>A good one-scene revision is small enough to explain, visible enough to inspect, and saved in a project you can reopen. Start your next correction from <a href="https://studio.videoflow.dev/">VideoFlow Studio</a>, use a bounded scene note, and approve the rendered result only after you have watched the actual export.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="startup-video" /><category term="motion-graphics" /><category term="video-workflow" /><category term="ai-tools" /><summary type="html"><![CDATA[Revise a single startup launch-video scene with a focused request, rendered-frame check, and an editable VideoFlow Studio project.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-10-31-how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/cover-330d306dcd0e.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-10-31-how-to-revise-one-launch-video-scene-without-losing-your-editable-proj/cover-330d306dcd0e.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Set Up Shopify Product Accordions for Mobile-First Product Pages</title><link href="https://how-to-blog.gitlab.io/2026/10/27/how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/" rel="alternate" type="text/html" title="How to Set Up Shopify Product Accordions for Mobile-First Product Pages" /><published>2026-10-27T16:33:03+00:00</published><updated>2026-10-27T16:33:03+00:00</updated><id>https://how-to-blog.gitlab.io/2026/10/27/how-to-set-up-shopify-product-accordions-for-mobile-first-product-page</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/10/27/how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/"><![CDATA[<h1 id="how-to-set-up-shopify-product-accordions-for-mobile-first-product-pages">How to Set Up Shopify Product Accordions for Mobile-First Product Pages</h1>

<p>A crowded Shopify product page does not become clearer because its description gets longer. On a phone, a wall of care notes, sizing details, shipping rules, and compatibility information makes the important answer hard to find. The practical fix is to keep the underlying content where it belongs, then give each kind of detail a compact, predictable place to open.</p>

<p>This guide shows how to set up product accordions with <a href="https://apps.shopify.com/supra-tabs-accordions">Supra Tabs &amp; Accordions</a>. You will need access to your Shopify admin and your product template. The app is free—there are no tiers, trial, or card requirement—and it organizes the way content is presented rather than replacing your product data.</p>

<p><img src="/assets/img/posts/2026-10-27-how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/image-01-f1051a00bbe0.webp" alt="Retro diagram routing Shopify product details into mobile accordion panels" /></p>

<h2 id="1-list-the-questions-a-shopper-needs-answered">1. List the questions a shopper needs answered</h2>

<p>Start with one representative product, not the whole catalog. Open its product page and write down the questions that would stop a customer from deciding: What is it made of? How does it fit? Is it compatible? How long does delivery take? What happens if it needs care or returns?</p>

<p>Turn those questions into short, scannable section names such as <strong>Details</strong>, <strong>Size and fit</strong>, <strong>Care</strong>, <strong>Shipping</strong>, and <strong>Compatibility</strong>. Avoid labels like “More information” because they force a shopper to open a panel before knowing whether it is useful. If you are unsure what belongs on the page at all, use this earlier guide on <a href="https://the-lean-ecommerce.github.io/2026/10/25/i-rebuilt-my-shopify-product-page-around-shopper-questions/">rebuilding product pages around shopper questions</a>.</p>

<p><strong>What you should see:</strong> a small list of labels that makes sense even when a shopper scans only the closed rows.</p>

<h2 id="2-separate-reusable-content-from-product-specific-content">2. Separate reusable content from product-specific content</h2>

<p>Next, decide where each answer should live. A shipping explanation that applies across the store is reusable. A fabric composition, dimensions, or model-specific compatibility list belongs with the product. This distinction is what prevents repeated copy-and-paste work later.</p>

<p>Supra Tabs &amp; Accordions can use the product description, a per-product metafield, store page content, a field from a metaobject entry, an image or downloadable file, or written content entered in the app. Use the source that already owns the information. For example, keep a technical specification in a product metafield rather than pasting it into several product descriptions. The companion guide on <a href="https://how-to.the-lean-ecommerce.com/2026/10/26/how-to-build-shopify-product-tabs-from-metafields-and-metaobjects/">building Shopify product tabs from metafields and metaobjects</a> is useful when your catalog has structured product data.</p>

<p><strong>What you should see:</strong> every proposed accordion has one clear source, and no shared policy text needs to be manually copied into every product.</p>

<h2 id="3-build-one-tab-set-in-the-app">3. Build one tab set in the app</h2>

<p>In Shopify, open <strong>Apps</strong>, then open <strong>Supra Tabs &amp; Accordions</strong>. Create a tab set. Add each section from your list, choose its content source, and name it exactly as a shopper should see it.</p>

<p>For a starter set, try:</p>

<ol>
  <li><strong>Details</strong> from the product description or a short written overview.</li>
  <li><strong>Size and fit</strong> from a metafield or a reusable size-guide page.</li>
  <li><strong>Care</strong> from shared written content or a metaobject field.</li>
  <li><strong>Shipping</strong> from a store page.</li>
</ol>

<p>The app hides an empty tab automatically when a product has no matching content. That makes a shared set safer for mixed catalogs: a simple product does not show a dead “Compatibility” row, while a technical product can still show it.</p>

<p><strong>What you should see:</strong> a preview with useful sections only, not a fixed stack of empty headings.</p>

<h2 id="4-target-the-set-with-one-rule-you-can-explain">4. Target the set with one rule you can explain</h2>

<p>Choose where the set applies: a collection, tag, vendor, product type, or specific products. Start narrow if this is your first rollout. A collection rule is usually a good choice for a product family that shares the same information shape; a tag rule is handy for a small exception.</p>

<p>Check the live match count and any overlap warning before you save. If two tab sets could match the same product, the app flags the overlap and tells you which set wins. Write down that choice. It is much easier to maintain a catalog rule when someone else can answer “why does this product use this set?” without guessing. For a deeper rule-testing workflow, see <a href="https://the-lean-ecommerce.github.io/2026/10/26/i-debug-shopify-tab-rules-before-they-collide-on-product-pages/">how to debug Shopify tab rules before they collide</a>.</p>

<p><strong>What you should see:</strong> a predictable group of matching products and no unexplained rule collision.</p>

<p><img src="/assets/img/posts/2026-10-27-how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/image-02-70de02e344c0.webp" alt="Retro mobile accordion testing diagram with keyboard and review tools" /></p>

<h2 id="5-add-the-app-block-once-to-the-product-template">5. Add the app block once to the product template</h2>

<p>Open <strong>Online Store &gt; Themes &gt; Customize</strong>. In the product template, add the Supra Tabs &amp; Accordions app block where shoppers expect supporting information—usually below the buy controls and core product summary. Save the template.</p>

<p>The same content adapts to the actual width of the product-page column: tabs can serve a wider desktop layout, while accordions keep a narrow mobile layout compact. You can choose how tabs that overflow behave, including horizontal scrolling, a More control, wrapped rows, or stacked sections. The important part is to test the real template, not only a wide editor window.</p>

<p><strong>What you should see:</strong> the selected product displays the new content block without rewriting its original description.</p>

<h2 id="6-test-the-shopper-path-on-a-phone-and-keyboard">6. Test the shopper path on a phone and keyboard</h2>

<p>Open a matching product on a narrow screen. Tap each accordion row. Check that the label remains visible, the opened content is easy to read, and a long table or file link does not push the layout sideways. Then test a product that should not have one of the sources; its empty row should disappear.</p>

<p>On desktop, use the keyboard to move through the controls and open a section. Supra Tabs &amp; Accordions includes keyboard support, appropriate roles, comfortable tap targets, and reduced motion for shoppers who request it. Keep headings and content meaningful—presentation does not excuse vague copy. If the column is wide enough for tabs, also test your chosen overflow behavior.</p>

<p><strong>What you should see:</strong> every product has only the details it can support, and the controls still make sense without a mouse.</p>

<h2 id="troubleshooting">Troubleshooting</h2>

<p><strong>A section is visible but empty.</strong> Check the selected source on the tab, then inspect the product’s matching metafield, metaobject field, or description. The app hides truly empty tabs, so visible emptiness usually means the source contains placeholder markup or a partial value.</p>

<p><strong>The wrong tab set appears.</strong> Review the match count and overlap warning. Make one rule more specific or decide deliberately which set should win. Do not solve a rule conflict by duplicating the content.</p>

<p><strong>The layout looks crowded on mobile.</strong> Shorten the labels, move low-priority prose into a deeper page, and check the placement of the app block. An accordion is a navigation aid, not a place to hide an unlimited amount of copy.</p>

<p><strong>A store-wide edit requires too much cleanup.</strong> Move that text from individual descriptions into a shared store page, metaobject, or reusable written tab. For more ideas on keeping shared details consistent, read <a href="https://how-to.the-lean-ecommerce.com/2026/10/24/how-to-organize-shopify-product-details-with-reusable-tabs/">how to organize Shopify product details with reusable tabs</a>.</p>

<p><img src="/assets/img/posts/2026-10-27-how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/image-03-7d2c69bec3aa.webp" alt="Retro product-page release checklist with product, mobile, keyboard, and content icons" /></p>

<h2 id="finish-with-a-small-release-check">Finish with a small release check</h2>

<p>Before applying the system across the catalog, confirm four things: the right products match, each accordion has a useful source, the mobile page stays easy to scan, and the keyboard path works. Then widen the rule from the pilot collection to the rest of the appropriate catalog.</p>

<p>That gives shoppers a faster route to the details they need while giving your team one maintainable content structure. <a href="https://apps.shopify.com/supra-tabs-accordions">Install Supra Tabs &amp; Accordions from the Shopify App Store</a>, build one pilot set, and test it on a real product page before rolling it out.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="shopify" /><category term="product-pages" /><category term="mobile-ecommerce" /><category term="accordions" /><summary type="html"><![CDATA[Set up reusable Shopify product accordions that keep care, shipping, and specification details easy to scan on mobile.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-10-27-how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/cover-fb333330e3d4.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-10-27-how-to-set-up-shopify-product-accordions-for-mobile-first-product-page/cover-fb333330e3d4.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">How to Build a Private Browser RAW Preview With Web Workers</title><link href="https://how-to-blog.gitlab.io/2026/10/27/how-to-build-a-private-browser-raw-preview-with-web-workers/" rel="alternate" type="text/html" title="How to Build a Private Browser RAW Preview With Web Workers" /><published>2026-10-27T00:39:09+00:00</published><updated>2026-10-27T00:39:09+00:00</updated><id>https://how-to-blog.gitlab.io/2026/10/27/how-to-build-a-private-browser-raw-preview-with-web-workers</id><content type="html" xml:base="https://how-to-blog.gitlab.io/2026/10/27/how-to-build-a-private-browser-raw-preview-with-web-workers/"><![CDATA[<p>A local camera RAW previewer is possible in the browser, but only if the heavy work stays away from the click-and-scroll path. This guide builds the practical shape: keep the chosen file local, decode it in a worker, return a preview and metadata, and test the exact camera files you intend to support. You need a current browser, a sample RAW file you are allowed to use for testing, and a small JavaScript app. <a href="https://flashraw.ybouane.com/">FlashRaw</a> is one option for the decode layer: its npm package supports browsers, Web Workers, and Node.js.</p>

<p><img src="/assets/img/posts/2026-10-27-how-to-build-a-private-browser-raw-preview-with-web-workers/image-01-5082822e12b9.webp" alt="Browser worker diagram for a camera RAW preview" /></p>

<h2 id="1-check-the-exact-raw-files-before-designing-the-upload-screen">1. Check the exact RAW files before designing the upload screen</h2>

<p>Treat “RAW support” as a compatibility table, not a checkbox. A CR3, NEF, ARW, RAF, DNG, or RW2 name is not enough: camera model and compression mode matter. Start with FlashRaw’s <a href="https://github.com/ybouane/flashraw/blob/main/docs/formats.md">format support matrix</a>, then gather a small lawful fixture set from the cameras your users actually own. Keep at least one expected failure in that set.</p>

<p>Make a simple fixture note with the camera, file extension, compression variant when known, expected result, and whether you need an embedded preview, sensor data, or a display-ready RGB image. This saves you from building a polished picker that fails after the progress bar reaches 99%. If your project already has a browser image workflow, the same discipline used to <a href="https://how-to.the-lean-ecommerce.com/2026/10/23/how-to-refine-product-photo-masks-in-your-browser/">refine product photo masks in the browser</a> applies here: test representative files rather than a single friendly demo image.</p>

<h2 id="2-install-the-decoder-and-make-the-worker-own-the-expensive-task">2. Install the decoder and make the worker own the expensive task</h2>

<p>Install the package in the browser project:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npm <span class="nb">install </span>flashraw
</code></pre></div></div>

<p>Create a worker module and pass it the selected file bytes. The main thread should only update the file picker, progress message, and preview element. In the worker, perform the decode, extract the metadata you need, and choose either an embedded preview or a developed RGB output. FlashRaw exposes both preview extraction and display-ready RGB output; the right choice depends on your feature, not on which option sounds faster.</p>

<div class="language-js highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// raw-worker.js — keep this boundary small and explicit</span>
<span class="nb">self</span><span class="p">.</span><span class="nx">onmessage</span> <span class="o">=</span> <span class="k">async</span> <span class="p">({</span> <span class="nx">data</span> <span class="p">})</span> <span class="o">=&gt;</span> <span class="p">{</span>
  <span class="kd">const</span> <span class="nx">bytes</span> <span class="o">=</span> <span class="k">new</span> <span class="nb">Uint8Array</span><span class="p">(</span><span class="nx">data</span><span class="p">.</span><span class="nx">buffer</span><span class="p">);</span>
  <span class="c1">// Initialize the FlashRaw browser/WASM API for your pinned package version.</span>
  <span class="c1">// Decode bytes, then return only the preview data and metadata your UI needs.</span>
  <span class="nb">self</span><span class="p">.</span><span class="nx">postMessage</span><span class="p">({</span> <span class="na">ok</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span> <span class="na">kind</span><span class="p">:</span> <span class="dl">"</span><span class="s2">preview-ready</span><span class="dl">"</span> <span class="p">});</span>
<span class="p">};</span>
</code></pre></div></div>

<p>The important part is the boundary: send transferable bytes into the worker where your browser setup allows it, and send a compact result back. Do not claim that every RAW stage runs on the GPU. FlashRaw’s optional WebGPU path is a post-decode/develop capability, so measure your own browser, device memory, and camera files before making it a requirement.</p>

<p><img src="/assets/img/posts/2026-10-27-how-to-build-a-private-browser-raw-preview-with-web-workers/image-02-ab28dfeed976.webp" alt="Camera RAW compatibility test bench" /></p>

<h2 id="3-decide-which-image-your-first-screen-needs">3. Decide which image your first screen needs</h2>

<p>Use an embedded preview when the job is fast browsing and the camera file contains an acceptable preview. Use developed RGB when the feature must reflect your own RAW-processing choices such as white balance, colour space, crop, orientation, or ICC handling. A successful decode does not prove render parity with another application.</p>

<p>That distinction is useful beyond photo software. When a file is big, establish a low-cost preview path first, then offer the expensive operation deliberately. It is the same small-utility mindset behind <a href="https://tools-and-how-tos.github.io/2026/10/24/how-to-reduce-a-csv-export-before-sharing-it/">reducing a CSV export before sharing it</a>: move only the data the next screen actually needs.</p>

<h2 id="4-keep-the-ui-responsive-while-the-worker-is-busy">4. Keep the UI responsive while the worker is busy</h2>

<p>Show a real state change as soon as the user picks a file: “reading,” “checking,” “decoding,” then “preview ready” or “unsupported.” Do not freeze the picker while decoding. Add a cancel or replacement-file path, and clear the old object URL before showing the next image. Large camera files can hit memory limits long before your interface runs out of pixels.</p>

<p>For large images, start with a modest preview size. If you later add zoom, region, or tile operations, request only the pixels needed for that view. FlashRaw supports region/tile decoding where formats allow it, but that is a reason to design a measured test—not a reason to promise it for every file.</p>

<p><img src="/assets/img/posts/2026-10-27-how-to-build-a-private-browser-raw-preview-with-web-workers/image-03-b489c3e79125.webp" alt="Responsive RAW preview pipeline diagram" /></p>

<h2 id="5-add-a-support-check-and-a-useful-failure-message">5. Add a support check and a useful failure message</h2>

<p>When the worker cannot decode a file, keep the message specific: say that the camera or compression mode may not yet be supported, retain the original file locally, and offer a plain next step such as checking the format matrix or choosing another sample. Never upload the file just to discover compatibility unless your product explicitly requires a server workflow.</p>

<p>Also test malformed files, truncated transfers, an empty selection, and a file that is too large for the device. FlashRaw’s Rust core uses bounds-checked parsing and documents safety work for untrusted image files, but your app still needs allocation limits, a controlled error boundary, and a fixture-based test plan.</p>

<h2 id="troubleshooting">Troubleshooting</h2>

<ul>
  <li><strong>The page becomes unresponsive:</strong> confirm that decoding starts inside a module worker, not in the change handler.</li>
  <li><strong>A file works on desktop but not mobile:</strong> compare available memory and test a smaller preview before adding threads or GPU features.</li>
  <li><strong>A familiar extension fails:</strong> recheck the exact camera and compression row in the <a href="https://github.com/ybouane/flashraw/blob/main/docs/formats.md">format matrix</a>.</li>
  <li><strong>Threaded WASM will not start:</strong> verify the required browser security headers before enabling that build path.</li>
  <li><strong>The preview looks unlike another editor:</strong> compare fixtures and acceptance criteria; decoding, demosaicing, white balance, and colour management are separate choices.</li>
</ul>

<p>A responsive private RAW previewer is not a one-line import. It is a clear boundary: local bytes in, worker decode, small result out, and a test record for every supported camera path. Start with one camera model and one preview flow, then use the <a href="https://github.com/ybouane/flashraw">FlashRaw repository</a> to pin the integration details for your chosen version. Once that works, you can apply the same deliberate browser-processing approach used in a <a href="https://tools-and-how-tos.github.io/2026/10/23/how-to-build-a-shopify-product-photo-qa-workflow-before-you-generate-l/">product photo QA workflow</a> instead of treating large image files as ordinary uploads.</p>]]></content><author><name>The Lean Ecommerce</name></author><category term="how-to" /><category term="camera-raw" /><category term="webassembly" /><category term="web-workers" /><category term="javascript" /><category term="image-processing" /><summary type="html"><![CDATA[Build a responsive, local-first browser RAW preview workflow with FlashRaw, Web Workers, format checks, and practical fallback paths.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-10-27-how-to-build-a-private-browser-raw-preview-with-web-workers/cover-e2562ad36f80.webp" /><media:content medium="image" url="https://how-to-blog.gitlab.io/assets/img/posts/2026-10-27-how-to-build-a-private-browser-raw-preview-with-web-workers/cover-e2562ad36f80.webp" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>