dawarich/app/views
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
..
active_storage/blobs Add Trix editor to trips 2024-11-28 12:00:54 +01:00
application Add staging environment configuration 2025-09-26 19:48:52 +02:00
devise Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
exports Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
families 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
family/invitations Fix remembering family members layer state and refreshing locations 2025-10-21 19:54:25 +02:00
family_mailer Fix some minor stuff 2025-10-11 14:17:48 +02:00
home Fetch countries for a trip via geocoding service 2025-05-13 19:43:02 +02:00
imports Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
layouts Updte map view 2025-10-30 19:16:38 +01:00
map Updte map view 2025-10-30 19:16:38 +01:00
notifications Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
places Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
points Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
settings Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
shared Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
stats Updte map view 2025-10-30 19:16:38 +01:00
trips Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
users_mailer Add missing email templates for post-trial reminders 2025-09-13 15:37:09 +02:00
visits Fix visits overlapping issue 2025-05-17 20:10:03 +02:00