Skip to content

feat(images): add openimg optimization for landing page#106

Draft
emxemirc wants to merge 11 commits intojanhesters:mainfrom
emxemirc:feat/openimg-implementation
Draft

feat(images): add openimg optimization for landing page#106
emxemirc wants to merge 11 commits intojanhesters:mainfrom
emxemirc:feat/openimg-implementation

Conversation

@emxemirc
Copy link

  • Integrate openimg with native React component
  • Create /resources/images endpoint for on-demand optimization
  • Add server-side image source handler for public folder
  • Update landing hero, features, and description sections

  - Integrate openimg with native React component
  - Create /resources/images endpoint for on-demand optimization
  - Add server-side image source handler for public folder
  - Update landing hero, features, and description sections
@emxemirc emxemirc changed the title feat(images): add openimg optimization for landing pages feat(images): add openimg optimization for landing page Nov 16, 2025
  - Restrict access to public/images directory only
  - Validate file extensions (png, jpg, jpeg, webp, avif, gif)
  - Add path traversal protection
  - Check file existence before processing
  - Add comprehensive unit tests for security scenarios
@janhesters
Copy link
Owner

Thank you so much for the contribution! Looks good already 🔥

One thing to keep in mind, this should be backwards compatible with Supabase Storage.

emirAtolye and others added 3 commits November 29, 2025 22:51
  - Add getOptimizedImageUrl helper to wrap image URLs at component level
  - Extend image optimization to handle remote Supabase Storage URLs
  - Add allowlistedOrigins configuration for secure remote fetching
  - Update avatar and logo components across the app
  - Add comprehensive unit, integration and E2E tests
@emxemirc
Copy link
Author

Thank you so much for the contribution! Looks good already 🔥

One thing to keep in mind, this should be backwards compatible with Supabase Storage.

@janhesters
hey! I actually finished the work, but I'm having some trouble with the tests for loginAndSaveUserAccountToDatabase. When I do “change account settings + save changes,” Playwright goes back to the login screen. I haven’t had a chance to look into that issue yet. Once I check it out, I’ll move the PR from draft to ready for review.

@janhesters
Copy link
Owner

@emxemirc

hey! I actually finished the work, but I'm having some trouble with the tests for loginAndSaveUserAccountToDatabase. When I do “change account settings + save changes,” Playwright goes back to the login screen. I haven’t had a chance to look into that issue yet. Once I check it out, I’ll move the PR from draft to ready for review.

Thank you! 🔥 You might also want to rebase on main since there are a lot of conflicting changes.

Looking forward! Happy holidays 🙏

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.

3 participants