mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 14:21:46 +00:00
feat(dashboard): mobile layout, glass UI, context bottom nav + OIDC PKCE (#1079)
* feat(dashboard): mobile layout, glass tiles, plain-text countdown, place photos - Rework the mobile dashboard: cover hero, separate boarding-pass card, trimmed atlas (trips + days only), stacked widgets - New floating bottom tab bar with a centred context-aware + button (new trip / place / journey / entry depending on the page) - Move profile + notifications into a small top strip on the dashboard - Desktop: glassmorphic tiles (light + dark), neutral dark palette, plain-text countdown module, real place photos in the boarding pass * i18n(dashboard): translate new dashboard keys across all locales Fill the dashboard-rework keys (hero, atlas, fx, tz, upcoming, copy dialog, aria labels, countdown) that were left as English placeholders, plus the new startsIn/aria keys, for all 19 languages. * feat(oidc): send PKCE (S256) in the OIDC login flow The OIDC client now generates a code_verifier per login, sends the S256 code_challenge on the authorize request and the code_verifier on the token exchange. Works whether the provider has PKCE optional or required (fixes login against providers that require PKCE, e.g. Pocket ID).
This commit is contained in:
@@ -9,7 +9,7 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.subtitle.activeMany': '{count} viaggi attivi',
|
||||
'dashboard.subtitle.archivedSuffix': ' · {count} archiviati',
|
||||
'dashboard.newTrip': 'Nuovo Viaggio',
|
||||
'dashboard.newTripSub': 'Start blank · or import from another planner',
|
||||
'dashboard.newTripSub': 'Pianifica un nuovo viaggio da zero',
|
||||
'dashboard.gridView': 'Vista a griglia',
|
||||
'dashboard.listView': 'Vista a lista',
|
||||
'dashboard.currency': 'Valuta',
|
||||
@@ -107,55 +107,64 @@ const dashboard: TranslationStrings = {
|
||||
'dashboard.mobile.inMonths': 'Tra {count} mesi',
|
||||
'dashboard.mobile.completed': 'Completato',
|
||||
'dashboard.mobile.currencyConverter': 'Convertitore di valuta',
|
||||
'dashboard.filter.planned': 'Planned',
|
||||
'dashboard.hero.badgeLive': 'LIVE NOW',
|
||||
'dashboard.hero.badgeToday': 'STARTS TODAY',
|
||||
'dashboard.hero.badgeTomorrow': 'TOMORROW',
|
||||
'dashboard.hero.badgeNext': 'UP NEXT',
|
||||
'dashboard.hero.badgeRecent': 'RECENT',
|
||||
'dashboard.hero.tripDates': 'Trip dates',
|
||||
'dashboard.hero.noDates': 'No dates set',
|
||||
'dashboard.hero.travelerOne': '{count} traveler',
|
||||
'dashboard.hero.travelerMany': '{count} travelers',
|
||||
'dashboard.hero.destinationOne': '{count} destination',
|
||||
'dashboard.hero.destinationMany': '{count} destinations',
|
||||
'dashboard.hero.dayUnitOne': 'day',
|
||||
'dashboard.hero.dayUnitMany': 'days',
|
||||
'dashboard.hero.dayLeft': 'Day left',
|
||||
'dashboard.hero.daysLeft': 'Days left',
|
||||
'dashboard.hero.lastDay': 'Last day',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Countries visited',
|
||||
'dashboard.atlas.ofTotal': 'of {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Trips total',
|
||||
'dashboard.atlas.placesMapped': '{count} places mapped',
|
||||
'dashboard.atlas.daysTraveled': 'Days traveled',
|
||||
'dashboard.atlas.daysUnit': 'days',
|
||||
'dashboard.atlas.acrossAllTrips': 'across all trips',
|
||||
'dashboard.atlas.distanceFlown': 'Distance flown',
|
||||
'dashboard.filter.planned': 'Pianificati',
|
||||
'dashboard.hero.badgeLive': 'IN DIRETTA',
|
||||
'dashboard.hero.badgeToday': 'INIZIA OGGI',
|
||||
'dashboard.hero.badgeTomorrow': 'DOMANI',
|
||||
'dashboard.hero.badgeNext': 'PROSSIMO',
|
||||
'dashboard.hero.badgeRecent': 'RECENTE',
|
||||
'dashboard.hero.tripDates': 'Date del viaggio',
|
||||
'dashboard.hero.noDates': 'Nessuna data impostata',
|
||||
'dashboard.hero.travelerOne': '{count} viaggiatore',
|
||||
'dashboard.hero.travelerMany': '{count} viaggiatori',
|
||||
'dashboard.hero.destinationOne': '{count} destinazione',
|
||||
'dashboard.hero.destinationMany': '{count} destinazioni',
|
||||
'dashboard.hero.dayUnitOne': 'giorno',
|
||||
'dashboard.hero.dayUnitMany': 'giorni',
|
||||
'dashboard.hero.dayLeft': 'Giorno rimasto',
|
||||
'dashboard.hero.daysLeft': 'Giorni rimasti',
|
||||
'dashboard.hero.lastDay': 'Ultimo giorno',
|
||||
'dashboard.hero.untilStart': 'All\'inizio',
|
||||
'dashboard.hero.startsIn': 'Si parte tra',
|
||||
'dashboard.atlas.countriesVisited': 'Atlas · Paesi visitati',
|
||||
'dashboard.atlas.ofTotal': 'di {total}',
|
||||
'dashboard.atlas.tripsTotal': 'Viaggi totali',
|
||||
'dashboard.atlas.placesMapped': '{count} luoghi mappati',
|
||||
'dashboard.atlas.daysTraveled': 'Giorni in viaggio',
|
||||
'dashboard.atlas.daysUnit': 'giorni',
|
||||
'dashboard.atlas.acrossAllTrips': 'su tutti i viaggi',
|
||||
'dashboard.atlas.distanceFlown': 'Distanza in volo',
|
||||
'dashboard.atlas.kmUnit': 'km',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
|
||||
'dashboard.atlas.aroundEquator': '≈ {count}× intorno all\'equatore',
|
||||
'dashboard.card.idea': 'Idea',
|
||||
'dashboard.card.buddyOne': 'Buddy',
|
||||
'dashboard.fx.from': 'From',
|
||||
'dashboard.fx.to': 'To',
|
||||
'dashboard.fx.unavailable': 'Rate unavailable',
|
||||
'dashboard.tz.searchPlaceholder': 'Search timezone…',
|
||||
'dashboard.tz.empty': 'No other timezones yet — add one with +',
|
||||
'dashboard.upcoming.title': 'Upcoming reservations',
|
||||
'dashboard.upcoming.empty': 'Nothing booked yet.',
|
||||
'dashboard.confirm.copy.title': 'Copy this trip?',
|
||||
'dashboard.confirm.copy.willCopy': 'Will be copied',
|
||||
'dashboard.confirm.copy.will1': 'Days, places & day assignments',
|
||||
'dashboard.confirm.copy.will2': 'Accommodations & reservations',
|
||||
'dashboard.confirm.copy.will3': 'Budget items & category order',
|
||||
'dashboard.confirm.copy.will4': 'Packing lists (unchecked)',
|
||||
'dashboard.confirm.copy.will5': 'TODOs (unassigned & unchecked)',
|
||||
'dashboard.confirm.copy.will6': 'Day notes',
|
||||
'dashboard.confirm.copy.wontCopy': 'Won\'t be copied',
|
||||
'dashboard.confirm.copy.wont1': 'Collaborators & member assignments',
|
||||
'dashboard.confirm.copy.wont2': 'Collab notes, polls & messages',
|
||||
'dashboard.confirm.copy.wont3': 'Files & photos',
|
||||
'dashboard.confirm.copy.wont4': 'Share tokens',
|
||||
'dashboard.confirm.copy.confirm': 'Copy trip',
|
||||
'dashboard.card.buddyOne': 'Compagno',
|
||||
'dashboard.fx.from': 'Da',
|
||||
'dashboard.fx.to': 'A',
|
||||
'dashboard.fx.unavailable': 'Tasso non disponibile',
|
||||
'dashboard.tz.searchPlaceholder': 'Cerca fuso orario…',
|
||||
'dashboard.tz.empty': 'Ancora nessun altro fuso orario — aggiungine uno con +',
|
||||
'dashboard.upcoming.title': 'Prossime prenotazioni',
|
||||
'dashboard.upcoming.empty': 'Niente ancora prenotato.',
|
||||
'dashboard.confirm.copy.title': 'Copiare questo viaggio?',
|
||||
'dashboard.confirm.copy.willCopy': 'Verrà copiato',
|
||||
'dashboard.confirm.copy.will1': 'Giorni, luoghi e assegnazioni giornaliere',
|
||||
'dashboard.confirm.copy.will2': 'Alloggi e prenotazioni',
|
||||
'dashboard.confirm.copy.will3': 'Voci di budget e ordine delle categorie',
|
||||
'dashboard.confirm.copy.will4': 'Liste bagagli (non spuntate)',
|
||||
'dashboard.confirm.copy.will5': 'Attività (non assegnate e non spuntate)',
|
||||
'dashboard.confirm.copy.will6': 'Note del giorno',
|
||||
'dashboard.confirm.copy.wontCopy': 'Non verrà copiato',
|
||||
'dashboard.confirm.copy.wont1': 'Collaboratori e assegnazioni dei membri',
|
||||
'dashboard.confirm.copy.wont2': 'Note, sondaggi e messaggi condivisi',
|
||||
'dashboard.confirm.copy.wont3': 'File e foto',
|
||||
'dashboard.confirm.copy.wont4': 'Token di condivisione',
|
||||
'dashboard.confirm.copy.confirm': 'Copia viaggio',
|
||||
'dashboard.aria.toggleView': 'Cambia vista',
|
||||
'dashboard.aria.filter': 'Filtra',
|
||||
'dashboard.aria.duplicate': 'Duplica',
|
||||
'dashboard.aria.refreshRates': 'Aggiorna i tassi',
|
||||
'dashboard.aria.swapCurrencies': 'Inverti valute',
|
||||
'dashboard.aria.addTimezone': 'Aggiungi fuso orario',
|
||||
'dashboard.aria.removeTimezone': 'Rimuovi {city}',
|
||||
};
|
||||
export default dashboard;
|
||||
|
||||
Reference in New Issue
Block a user