Skip to content

feat: integrate product images and save the future S3 contract - #7

Merged
marcelopenas merged 4 commits into
mainfrom
feature/product-images
Nov 9, 2026
Merged

marcelopenas merged 4 commits into
mainfrom
feature/product-images

Conversation

@marcelopenas

Copy link
Copy Markdown
Member

Add product image rendering and management while preserving legacy products without images. Public views render validated URLs with alternative text, dimensions and a broken-image fallback. Admin provides file preview, upload/replacement, alternative-text editing and confirmed removal.

S3 + CloudFront and the AWS SDK are approved, but Product does not exist yet. Its exact API, database, SDK, private staging, validated media, CDN and acceptance work is saved in platform docs/services/product/images.md. No AWS resources or unused SDK dependency are introduced here. Normal uploads default off; only explicit disposable fixtures enable the upload contract today.

Validation: all frontend formatting/lint/types/pre-commit checks, static/Docker builds and six unit tests per app passed. The coordinated browser suites pass 22 desktop/mobile cases, including upload/replacement/removal, alternative text, invalid files, image decoding/fallback, keyboard dismissal and Light/Dark screenshots. Three stdlib HTTP image-fixture contract tests also passed. These fixtures do not prove real S3 security or persistence. See platform docs/frontend/image-verification.md.

AI-assisted implementation and documentation. Cloud configuration and real Product integration remain deferred as requested. Private CodeQL remains opt-in under the owner's earlier decision.

@marcelopenas
marcelopenas merged commit 24dc297 into main Nov 9, 2026
10 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