dawarich/app
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
..
assets Updte map view 2025-10-30 19:16:38 +01:00
channels Small fixes 2025-10-22 20:39:02 +02:00
controllers Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
helpers Implement public trip sharing with Shareable concern 2025-11-05 15:44:27 +00:00
javascript Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
jobs Fix UTM parameter assignment and update version to 0.34.2 2025-10-31 19:29:20 +01:00
mailers Fix some minor stuff 2025-10-11 14:17:48 +02:00
models Implement public trip sharing with Shareable concern 2025-11-05 15:44:27 +00:00
policies Implement public trip sharing with Shareable concern 2025-11-05 15:44:27 +00:00
queries Reimplement hexagons with H3 2025-09-17 01:55:42 +02:00
serializers Fix stats endpoint returning null for totalPointsTracked 2025-10-04 15:53:25 +02:00
services Show battery status on family member popup 2025-10-20 20:34:05 +02:00
views Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00