fix: the checks the tour tab, the shared links and the watch sync broke on dev

The tour tab keeps desktopOnly as a plain property, so the tab list's type still has it. The wiring test follows the tab's new gate. The import sheet keeps the choice and the save with the item they were made for instead of resetting them in an effect, takes the share sheet's trip through an effect event instead of a ref read while rendering, and is split into its parts. The tours tab sets its pane while rendering, as React has it for state that follows a prop. The sheet's tests look for the texts it shows. The Android link test reads the host with java.net.URI, which a JVM unit test can run. Two locale files take Prettier's quotes.
This commit is contained in:
Maurice
2026-11-08 10:37:41 +01:00
parent 0ef3cbf520
commit ac055d531f
8 changed files with 131 additions and 102 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ const native: TranslationStrings = {
'native.share.saveLinkHint': 'Tothom al viatge el troba a Enllaços',
'native.share.readBooking': 'Llegeix-ne una reserva',
'native.share.readBookingHint': 'Per a una pàgina de confirmació',
'native.share.linkTrip': 'A quin viatge desar l\'enllaç?',
'native.share.linkTrip': "A quin viatge desar l'enllaç?",
'native.share.linkSaved': 'Enllaç desat',
'native.share.linkUnsupported': 'Activa Collab per guardar enllaços en un viatge.',
'native.widget.dayOf': 'Dia {n} de {m}',
+1 -1
View File
@@ -102,7 +102,7 @@ const native: TranslationStrings = {
'native.share.title': 'Import into which trip?',
'native.share.noTrips': 'No trip yet. Create one first, then share the document again.',
'native.share.linkTitle': 'What should TREK do with this link?',
'native.share.saveLink': 'Save to the trip\'s links',
'native.share.saveLink': "Save to the trip's links",
'native.share.saveLinkHint': 'Everyone on the trip finds it under Links',
'native.share.readBooking': 'Read a booking from it',
'native.share.readBookingHint': 'For a confirmation page',