mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-12 10:11:38 -05:00
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 |
||
|---|---|---|
| .. | ||
| channels | ||
| factories | ||
| fixtures | ||
| jobs | ||
| lib | ||
| mailers | ||
| models | ||
| policies | ||
| queries | ||
| requests | ||
| serializers | ||
| services | ||
| support | ||
| swagger/api/v1 | ||
| system | ||
| tasks | ||
| rails_helper.rb | ||
| spec_helper.rb | ||
| swagger_helper.rb | ||