dawarich/spec/requests/shared
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
..
stats_spec.rb Update stuff, fix stuff 2025-09-29 22:27:07 +02:00
trips_spec.rb Refactor: Improve trip sharing UX with Turbo and better controls 2025-11-07 13:01:44 +00:00