dawarich/app/javascript
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
..
channels Implement real-time family member location updates via ActionCable 2025-10-13 14:10:36 +02:00
controllers Refactor: Improve trip sharing UX with Turbo and better controls 2025-11-07 13:01:44 +00:00
maps 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
styles Make visit popup look nicer 2025-08-21 19:48:32 +02:00
application.js Return rails ujs 2025-10-04 16:01:32 +02:00
posthog.js Add posthog analytics 2025-09-25 18:49:31 +02:00