Skip to content

v0.3.1: Live HTML5 banner review

Latest

Choose a tag to compare

@bhatiadheeraj bhatiadheeraj released this 16 Nov 12:46
· 4 commits to main since this release

Reloops OSS v0.3.1 brings live HTML5 banner review, the same viewer the hosted version uses. Upload an .html ad and it plays right in the review page, at its real size, with a code view and pinned comments.

Install and upgrade

From a checkout of this release:

docker compose up -d --build --wait --wait-timeout 600

Open http://127.0.0.1:6173. No database migrations in this release. For an existing checkout, pull the release and rebuild with the same command; your .env, database and uploads are kept.

HTML5 banner review

  • Plays live: .html / .htm uploads (or text/html) open in a sandboxed preview instead of the "preview isn't available" card. On the member review page they previously fell through to the image viewer.
  • Right size automatically: the ad size is read from <meta name="ad.size"> (Google Ad Manager, DoubleClick Studio, Celtra and most ad tools write it) or from fixed html/body CSS. IAB presets (300×250, 728×90, 320×50, 160×600, 300×600, 970×250) let reviewers override it. Plain HTML pages fill the stage and scroll like a page.
  • Code view: one click shows the syntax-highlighted source with line numbers and a Copy button. Esc goes back to the preview. The highlighter loads only when Code is opened.
  • Feedback on the creative: zoom, pinned comments and drawings work on banners like on images.
  • Everywhere you review: member review, single-file share links, collection share links and project share links. Guests on share links don't see complete or delete actions on other people's comments.
  • Safe by default: banners run with sandbox="allow-scripts" only, so an uploaded ad can't read the app's page, cookies or storage.

Known limit: single-file banners preview best. Zipped multi-file banners aren't supported yet, and relative assets (images, scripts) may not load from private storage.

Tests

  • Unit tests for banner detection, source fetching and the code view (loading, copy, error and retry).
  • Playwright UAT that drives the real app with a mocked backend: guest share link (live preview at the detected size, sandbox isolation, size presets, zoom, code view copy/retry/back, pinned guest comment), plain-HTML fill mode, and the member review page.

CI

  • The new unit test no longer needs a local .env (Supabase client is stubbed).
  • Test and Docker jobs are pinned to ubuntu-24.04; Playwright's system dependencies don't install on the newer default runner image.

Note: the v0.3.0 tag marks the same feature commit before these CI fixes. Use v0.3.1.

Release validation: Tests and Docker pass on this commit.

Full changelog: v0.2.0...v0.3.1