Skip to content

[codex] fix workbench mobile image previews - #6

Draft
joeymilano wants to merge 1 commit into
mainfrom
codex/mobile-workbench-image-preview
Draft

joeymilano wants to merge 1 commit into
mainfrom
codex/mobile-workbench-image-preview

Conversation

@joeymilano

Copy link
Copy Markdown
Owner

What changed

  • Tightened the Workbench layout for mobile widths so cards, inputs, selectors, and action controls no longer force horizontal scrolling.
  • Preserved the newly merged Agnes AI image generation integration while making generated images render across all social mockup previews.
  • Fixed image preview propagation for X, Reddit, Newsletter/Substack, and Threads, and kept image containers responsive on small screens.

Why

The Workbench could overflow on mobile because nested grid/flex children and long labels were allowed to keep oversized minimum widths. The image generation PR also introduced platform previews where some generated image URLs were accepted but not actually rendered.

Validation

  • npm run typecheck
  • npm test
  • npm run build

Notes

Image generation secrets are intentionally not committed. Production needs IMAGE_API_KEY configured as a deployment secret. IMAGE_API_BASE and IMAGE_MODEL are already present in config.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying finfold with  Cloudflare Pages  Cloudflare Pages

Latest commit: bd42da1
Status: ✅  Deploy successful!
Preview URL: https://f513f53b.finfold.pages.dev
Branch Preview URL: https://codex-mobile-workbench-image.finfold.pages.dev

View logs

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