dawarich/app/javascript
Claude b1cbb5555f
Refactor: Apply Rails best practices to trip sharing implementation
- Remove unused @is_public_view variable from controller
- Simplify conditionals by leveraging methods that return [] when empty
- Move public view from trips/public_show to shared/trips/show (Rails conventions)
- Refactor trips#update to be HTML-only (remove JSON responses)
- Convert sharing form to use proper Rails form helpers
- Move JS controller to shared/ subdirectory with proper namespacing
- Create RSpec shared examples for Shareable concern to eliminate duplication
- Update request specs to match HTML-only controller behavior
- Apply 'render/redirect ... and return' pattern for early returns
2025-11-07 12:05:34 +00:00
..
channels Implement real-time family member location updates via ActionCable 2025-10-13 14:10:36 +02:00
controllers Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +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