fix(dayplan): the delete question asks inside the day dialog, and its buttons stay small

Deleting a day no longer stacks a second dialog over the reorder dialog. The
dialog swaps its list for the question at the same size and in the same place;
Cancel and Escape bring the list back with the focus on the row asked about.
The foot is one row of normal sized buttons with the hint line above it, the
undated day is labelled "Without date" in every language, and the dialog is a
step wider so no label breaks. The list of what goes with a day is quieter: a
cancelled stay tints its whole row, a day with nothing on it is one plain line.
On the phone the add buttons are two pills under the scrolling list, and the
confirm sheet moves a long label to its own row instead of breaking it.
This commit is contained in:
Maurice
2026-09-23 21:41:05 +02:00
parent f3ca0b1a4c
commit 83be759c49
44 changed files with 625 additions and 315 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ const dayplan: TranslationStrings = {
'dayplan.daysOffline': 'Per canviar els dies cal connexió',
'dayplan.deleteDaySuccess': 'Dia eliminat',
'dayplan.deleteDayError': "No s'ha pogut eliminar el dia",
'dayplan.addUndatedDay': 'Afegeix un dia sense data',
'dayplan.addUndatedDay': 'Sense data',
'dayplan.addUndatedDayHint': 'Afegeix un dia sense data al final. Les dates del viatge no canvien.',
'dayplan.addDatedDay': 'Afegeix {date}',
'dayplan.addDatedDayHint': 'Allarga el viatge un dia, fins al {date}.',