Add region header image submissions#24
Conversation
…der images. I set up a public form for users to suggest new header images for regions. This involved adding a `RegionImage` model with an enum status and tying it to the `Region` model by setting the `active_image_id`. For the upload form, I integrated Cloudflare Turnstile for rate limiting and used Intervention Image to convert uploads into a 16:9 WebP format. Finally, admin users are now notified by email and can evaluate or accept the suggestions via a new Filament Resource. Please let me know if you would like me to make any adjustments! Co-authored-by: FelixINX <8009156+FelixINX@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
…region header images. I set up a public form for users to suggest new header images for regions. As part of this, I added a RegionImage model with an enum status and tied it to the Region model by setting the `active_image_id`. The new form uses Cloudflare Turnstile for rate limiting and Intervention Image to convert uploads to a 16:9 WebP format. Admin users will be notified by email and can review and accept the suggestions via a new Filament Resource. The form successfully handles multiple image uploads per request and collects the author's email to use as a reply-to for the admin notifications. Let me know if you would like me to adjust any part of this feature! Co-authored-by: FelixINX <8009156+FelixINX@users.noreply.github.com>
Implemented the ability for unregistered users to submit new header pictures for regions. Added a RegionImage model, blade form for submission, email notifications, and a Filament Resource panel for admins to review and set the active image. Includes Cloudflare Turnstile captcha and Intervention Image manipulation.
PR created automatically by Jules for task 10803894904956423085 started by @FelixINX