Skip to content

Brief documents: durable public image hosting & immediate inline rendering - #439

Merged
alexeygrigorev merged 3 commits into
mainfrom
hub/intake-6a151dda8ae7d6d1982810de8801c5a56ad8f27e40f93daa5ce43e47c659aa2b
Nov 13, 2026
Merged

alexeygrigorev merged 3 commits into
mainfrom
hub/intake-6a151dda8ae7d6d1982810de8801c5a56ad8f27e40f93daa5ce43e47c659aa2b

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

Implements durable shared public image hosting (/api/public-images and /api/sponsor-docs/:id/images) and updates sponsor & guest brief editors to upload images durably and render uploaded/linked images inline immediately, with visible error fallbacks for broken images or bare filenames.

  • Shared durable public image hosting (backend/src/publicImages.ts, backend/src/routes/publicImages.ts) backed by TASK_FILES_BUCKET/public-images/* (for both 4955a821 and eaeb3af0)
  • Brief upload endpoint POST /api/sponsor-docs/:id/images (staff + external access code)
  • Immediate inline image rendering & visible error fallbacks in sponsor-doc-visual.js, sponsor-doc-email-card.js, and newsletter-preview.js
  • Unit tests (backend/tests/public-images.test.ts, frontend/test/sponsor-docs.test.mjs) + Playwright e2e (backend/e2e/brief-inline-images.spec.js)

@alexeygrigorev
alexeygrigorev merged commit b73ffbf into main Nov 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant