Files
sure/app/views
Guillem Arias 628e1f89bb feat(goals/new): standalone page render when not in a Turbo frame
Direct nav to /goals/new used to render the index page with an empty
modal frame because the entire template was wrapped in DS::Dialog.
The URL was effectively un-shareable.

Branch on turbo_frame_request? — Turbo Frame requests still render
the DS::Dialog wrapper (the existing in-modal flow on the index page
keeps working). Non-frame requests render a standalone page-level
header (h1 + subtitle + icon) followed by the form_stepper partial.
Same Stimulus controller, same data-goal-stepper-modal-subtitle
selector, so the stepper's subtitle update path works identically.

Controller sets @breadcrumbs so the standalone variant gets the
Home > Goals > New goal trail.

Verified both paths via Playwright: direct GET renders standalone
form with h1 "New goal" + no dialog; click-from-index opens the
DS::Dialog with the stepper inside.
2026-05-11 20:43:41 +02:00
..
2025-11-24 19:52:34 +01:00
2025-11-24 19:52:34 +01:00
2026-04-22 10:10:18 +02:00
2026-03-22 10:48:54 +01:00
2026-03-25 17:47:04 +01:00
2026-03-11 15:54:01 +01:00
2026-05-10 22:13:57 +02:00
2026-03-25 17:47:04 +01:00
2026-03-29 17:28:07 +02:00
2026-02-19 19:55:10 +01:00
2025-04-11 09:28:00 -05:00
2025-07-18 08:30:00 -04:00