feat(planner): edit the trip from its settings in the planner (#2811)

The trip form was mounted in the planner but nothing opened it, so title, dates,
cover and currency could only be changed from My Trips. Trip settings now lists
Edit Trip at the foot of its areas for anyone with trip_edit; it swaps the dialog
for the trip form. The phone already has Edit Trip in the More sheet.
This commit is contained in:
Maurice
2026-11-13 09:24:06 +01:00
parent 66d85729ff
commit 64b86c2403
40 changed files with 123 additions and 22 deletions
+1
View File
@@ -134,6 +134,7 @@ export function buildPlanner(overrides: Partial<TripPlanner> = {}): TripPlanner
setShowTripForm: vi.fn(),
showMembersModal: false,
setShowMembersModal: vi.fn(),
editTripFromSettings: vi.fn(),
showReservationModal: false,
setShowReservationModal: vi.fn(),
editingReservation: null,