fix(notifications): drop a tab the planner lacks from the URL, link booking mails to the reservations tab, open the chat on the phone

This commit is contained in:
Maurice
2026-11-14 16:49:18 +01:00
parent bfdbf4d811
commit a76a96ccca
9 changed files with 61 additions and 16 deletions
@@ -296,7 +296,7 @@ const EVENT_NOTIFICATION_CONFIG: Record<string, EventNotifConfig> = {
titleKey: 'notif.mail_booking_added.title',
textKey: (p) => (p.role === 'traveller' ? MAIL_BOOKING_TEXT.traveller : MAIL_BOOKING_TEXT.forwarder).textKey,
navigateTextKey: 'notif.action.view_trip',
navigateTarget: (p) => (p.tripId ? `/trips/${p.tripId}?tab=bookings` : null),
navigateTarget: (p) => (p.tripId ? `/trips/${p.tripId}?tab=buchungen` : null),
},
// Bookings from forwarded mails wait in the person's inbox for a decision.
mail_booking_pending: {