Add possibility to contact form in the footer of gallery & album - #4615
Conversation
📝 WalkthroughWalkthroughThe change adds three contact-form context settings, enforces access rules, adds a reusable contact form, stores visibility flags in frontend state, and renders context-specific forms in gallery and album footers. It also adds contact-form documentation in 23 localization files. ChangesContact form context configuration
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: 🟡 Moderate · up to The contact form can disappear without recovery when its configuration fails to load, and required consent can be submitted as unchecked when custom consent text is empty; the Traditional Chinese administrator guidance also points to the wrong setting. These bounded correctness and usability issues should be fixed or explicitly accepted before merging. Poem
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 135605cc-8ae7-4af5-a034-befcf7239938
📒 Files selected for processing (31)
app/Http/Middleware/ConfigIntegrity.phpapp/Http/Resources/GalleryConfigs/InitConfig.phpdatabase/migrations/2026_08_14_000000_add_contact_form_context_configs.phplang/ar/all_settings.phplang/bg/all_settings.phplang/cz/all_settings.phplang/de/all_settings.phplang/el/all_settings.phplang/en/all_settings.phplang/es/all_settings.phplang/fa/all_settings.phplang/fr/all_settings.phplang/hu/all_settings.phplang/it/all_settings.phplang/ja/all_settings.phplang/nl/all_settings.phplang/no/all_settings.phplang/pl/all_settings.phplang/pt/all_settings.phplang/ru/all_settings.phplang/sk/all_settings.phplang/sv/all_settings.phplang/tr/all_settings.phplang/vi/all_settings.phplang/zh_CN/all_settings.phplang/zh_TW/all_settings.phpresources/js/lychee.d.tsresources/js/stores/LycheeState.tsresources/js/v8/components/footers/GalleryFooter.vueresources/js/v8/components/gallery/albumModule/AlbumPanel.vueresources/js/v8/views/gallery-panels/Albums.vue
Codecov Report❌ Patch coverage is 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 3
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: e0daa521-1bf5-4a04-9cda-34c99afecf9b
📒 Files selected for processing (4)
app/Http/Resources/GalleryConfigs/InitConfig.phpresources/js/v8/components/footers/GalleryFooter.vueresources/js/v8/components/forms/contact/ContactForm.vueresources/js/v8/views/Contact.vue
🚧 Files skipped from review as they are similar to previous changes (1)
- app/Http/Resources/GalleryConfigs/InitConfig.php
Summary by CodeRabbit