The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix: the provisioning line reads as a key reference, the safe-area test follows margin-inline
Maurice80130f794668
diff --git a/client/native-shell/main.ts b/client/native-shell/main.tsindex 74862cd4d..cc8032388 100644--- a/client/native-shell/main.ts+++ b/client/native-shell/main.ts@@ -1554,12 +1554,10 @@ function showProvisioning(instanceUrl: string, welcome?: string): void {stepServer,stepReady);+ // The address set in bold inside the sentence, wherever the language puts it.+ const sentence = t('native.provisioning.sub', { host: '\u0000' });const sub = el('span', {});- sub.append(- ...t('native.provisioning.sub', { host: '\u0000' })- .split('\u0000')- .flatMap((part, i) => (i ? [el('b', { dir: 'ltr' }, host), part] : [part]))- );+ sub.append(...sentence.split('\u0000').flatMap((part, i) => (i ? [el('b', { dir: 'ltr' }, host), part] : [part])));const view = stateScreen({camera: chosenCamera,kicker: t('native.provisioning.kicker'),diff --git a/client/tests/unit/mobile/shellChrome.test.tsx b/client/tests/unit/mobile/shellChrome.test.tsxindex 2fd63763f..1718657cc 100644--- a/client/tests/unit/mobile/shellChrome.test.tsx+++ b/client/tests/unit/mobile/shellChrome.test.tsx@@ -63,8 +63,10 @@ describe('safe area in the touch shell', () => {it('FE-MOB-CHROME-005: without the rail the floating bars keep clear of a side inset, such as a camera in a corner', () => {const narrow = "html:not(:has(.m-shell[data-size='wide'], .m-shell[data-size='split'])) :is(.m-bar-x, .m-span-x) {";const rule = css.split(narrow)[1]?.split('}')[0] ?? '';- expect(rule).toContain('margin-left: var(--m-safe-l, 0px);');- expect(rule).toContain('margin-right: var(--m-safe-r, 0px);');+ expect(rule).toContain('margin-inline: var(--m-safe-l, 0px) var(--m-safe-r, 0px);');+ // The insets are the screen's: right to left takes them the other way round.+ const rtl = css.split(`html[dir='rtl']${narrow.slice('html'.length)}`)[1]?.split('}')[0] ?? '';+ expect(rtl).toContain('margin-inline: var(--m-safe-r, 0px) var(--m-safe-l, 0px);');// On a wide window the bars keep no side margin, so mx-auto still centres them.for (const cls of ['m-bar-x', 'm-span-x']) {expect(css.split(`\n.${cls} {`)[1]?.split('}')[0] ?? '').not.toContain('margin');