dawarich/app/views
Claude 0c538de698
Refactor: Improve trip sharing UX with Turbo and better controls
Major improvements:
1. Use Turbo for sharing updates - no page reload, modal stays open
2. Add Stimulus copy button controller - clean implementation with 'Copied!' feedback
3. Allow updating notes/photos toggles without disabling sharing
4. Add 'Update Sharing' button to save changes while keeping sharing enabled
5. Use 'true'/'false' strings consistently instead of '1'/'0'
6. Update all request specs to use 'true'/'false' values

Technical changes:
- Wrap form in turbo_frame_tag for seamless updates
- Controller responds with turbo_stream to replace form content
- Create copy_button_controller.js for proper copy feedback
- Checkboxes now editable when sharing is enabled
- Separate 'Update Sharing' and 'Disable Sharing' actions
2025-11-07 13:01:44 +00:00
..
active_storage/blobs Add Trix editor to trips 2024-11-28 12:00:54 +01:00
application Add staging environment configuration 2025-09-26 19:48:52 +02:00
devise Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
exports Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
families Add titles to family views for better SEO and UX and update map tile URLs to use the planet dataset. 2025-10-26 11:59:06 +01:00
family/invitations Fix remembering family members layer state and refreshing locations 2025-10-21 19:54:25 +02:00
family_mailer Fix some minor stuff 2025-10-11 14:17:48 +02:00
home Fetch countries for a trip via geocoding service 2025-05-13 19:43:02 +02:00
imports Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
layouts Updte map view 2025-10-30 19:16:38 +01:00
map Updte map view 2025-10-30 19:16:38 +01:00
notifications Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
places Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
points Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
settings Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
shared Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
stats Updte map view 2025-10-30 19:16:38 +01:00
trips Refactor: Improve trip sharing UX with Turbo and better controls 2025-11-07 13:01:44 +00:00
users_mailer Add missing email templates for post-trial reminders 2025-09-13 15:37:09 +02:00
visits Fix visits overlapping issue 2025-05-17 20:10:03 +02:00