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:
Maurice
2026-05-27 23:19:03 +02:00
committed by GitHub
parent 0d2657ee37
commit 6d2dd37414
34 changed files with 1692 additions and 1296 deletions
+59 -50
View File
@@ -9,7 +9,7 @@ const dashboard: TranslationStrings = {
'dashboard.subtitle.activeMany': '{count} aktivních cest',
'dashboard.subtitle.archivedSuffix': ' · {count} archivováno',
'dashboard.newTrip': 'Nová cesta',
'dashboard.newTripSub': 'Start blank · or import from another planner',
'dashboard.newTripSub': 'Naplánujte novou cestu od začátku',
'dashboard.gridView': 'Mřížka',
'dashboard.listView': 'Seznam',
'dashboard.currency': 'Měna',
@@ -104,55 +104,64 @@ const dashboard: TranslationStrings = {
'dashboard.mobile.inMonths': 'Za {count} měsíců',
'dashboard.mobile.completed': 'Dokončeno',
'dashboard.mobile.currencyConverter': 'Převodník měn',
'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': 'Plánované',
'dashboard.hero.badgeLive': 'ŽIVĚ',
'dashboard.hero.badgeToday': 'ZAČÍNÁ DNES',
'dashboard.hero.badgeTomorrow': 'ZÍTRA',
'dashboard.hero.badgeNext': 'NÁSLEDUJE',
'dashboard.hero.badgeRecent': 'NEDÁVNO',
'dashboard.hero.tripDates': 'Termíny cesty',
'dashboard.hero.noDates': 'Bez termínu',
'dashboard.hero.travelerOne': '{count} cestovatel',
'dashboard.hero.travelerMany': '{count} cestovatelů',
'dashboard.hero.destinationOne': '{count} cíl',
'dashboard.hero.destinationMany': '{count} cílů',
'dashboard.hero.dayUnitOne': 'den',
'dashboard.hero.dayUnitMany': 'd',
'dashboard.hero.dayLeft': 'Zbývá den',
'dashboard.hero.daysLeft': 'Zbývá dní',
'dashboard.hero.lastDay': 'Poslední den',
'dashboard.hero.untilStart': 'Do začátku',
'dashboard.hero.startsIn': 'Začíná za',
'dashboard.atlas.countriesVisited': 'Atlas · Navštívené země',
'dashboard.atlas.ofTotal': 'z {total}',
'dashboard.atlas.tripsTotal': 'Cest celkem',
'dashboard.atlas.placesMapped': '{count} míst na mapě',
'dashboard.atlas.daysTraveled': 'Dní na cestách',
'dashboard.atlas.daysUnit': 'dní',
'dashboard.atlas.acrossAllTrips': 'napříč všemi cestami',
'dashboard.atlas.distanceFlown': 'Naletěná vzdálenost',
'dashboard.atlas.kmUnit': 'km',
'dashboard.atlas.aroundEquator': '≈ {count}× around the equator',
'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.atlas.aroundEquator': '≈ {count}× kolem rovníku',
'dashboard.card.idea': 'Nápad',
'dashboard.card.buddyOne': 'Parťák',
'dashboard.fx.from': 'Z',
'dashboard.fx.to': 'Na',
'dashboard.fx.unavailable': 'Kurz není dostupný',
'dashboard.tz.searchPlaceholder': 'Hledat časové pásmo…',
'dashboard.tz.empty': 'Zatím žádná další časová pásma — přidejte je pomocí +',
'dashboard.upcoming.title': 'Nadcházející rezervace',
'dashboard.upcoming.empty': 'Zatím nic rezervováno.',
'dashboard.confirm.copy.title': 'Zkopírovat tuto cestu?',
'dashboard.confirm.copy.willCopy': 'Bude zkopírováno',
'dashboard.confirm.copy.will1': 'Dny, místa a přiřazení ke dnům',
'dashboard.confirm.copy.will2': 'Ubytování a rezervace',
'dashboard.confirm.copy.will3': 'Položky rozpočtu a pořadí kategorií',
'dashboard.confirm.copy.will4': 'Seznamy věcí (neodškrtnuté)',
'dashboard.confirm.copy.will5': 'Úkoly (nepřiřazené a neodškrtnuté)',
'dashboard.confirm.copy.will6': 'Poznámky ke dni',
'dashboard.confirm.copy.wontCopy': 'Nebude zkopírováno',
'dashboard.confirm.copy.wont1': 'Spolupracovníci a přiřazení členů',
'dashboard.confirm.copy.wont2': 'Sdílené poznámky, ankety a zprávy',
'dashboard.confirm.copy.wont3': 'Soubory a fotky',
'dashboard.confirm.copy.wont4': 'Sdílecí tokeny',
'dashboard.confirm.copy.confirm': 'Kopírovat cestu',
'dashboard.aria.toggleView': 'Přepnout zobrazení',
'dashboard.aria.filter': 'Filtr',
'dashboard.aria.duplicate': 'Duplikovat',
'dashboard.aria.refreshRates': 'Obnovit kurzy',
'dashboard.aria.swapCurrencies': 'Prohodit měny',
'dashboard.aria.addTimezone': 'Přidat časové pásmo',
'dashboard.aria.removeTimezone': 'Odebrat {city}',
};
export default dashboard;