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(mobile): Studio's floating panels are opaque over the page, the journal header lays out in one row on a tablet, and the journal a trip links opens Studio too
Maurice38e5d76ad272
diff --git a/client/src/mobile/screens/journey/MJourneyDetail.tsx b/client/src/mobile/screens/journey/MJourneyDetail.tsxindex 59a936a0f..a5328f219 100644--- a/client/src/mobile/screens/journey/MJourneyDetail.tsx+++ b/client/src/mobile/screens/journey/MJourneyDetail.tsx@@ -468,7 +468,7 @@ export default function MJourneyDetail({ journeyId, embedded = false }: JourneyD)}<divdata-view-switch- className="absolute left-1/2 top-0 flex -translate-x-1/2 rounded-full bg-[color:var(--m-sheet)] p-[3px] shadow-[0_5px_14px_-6px_rgba(0,0,0,.3)]"+ className="absolute left-1/2 top-0 flex -translate-x-1/2 rounded-full wide:static wide:translate-x-0 bg-[color:var(--m-sheet)] p-[3px] shadow-[0_5px_14px_-6px_rgba(0,0,0,.3)]"><buttontype="button"@@ -505,7 +505,7 @@ export default function MJourneyDetail({ journeyId, embedded = false }: JourneyD<span className="h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" /></span>)}- {split && !embedded && (+ {split && (<buttontype="button"onClick={() => void navigate(`/journey/${current.id}/studio`)}diff --git a/client/src/styles/studio.css b/client/src/styles/studio.cssindex d55ed7494..207e5f601 100644--- a/client/src/styles/studio.css+++ b/client/src/styles/studio.css@@ -229,7 +229,10 @@bottom: 0;width: 300px;box-shadow: var(--sh-lg);+ /* Floating over the page, the glass let the page show through and the panel's+ text washed out (an iPad in landscape): a floating panel is opaque. */}+ .trek-dash .st-panel.st-inspector { background: var(--surface); }}@media (max-width: 1079px) {.trek-dash .st-body { grid-template-columns: minmax(64px, min-content) minmax(0, 1fr); }@@ -240,6 +243,7 @@width: 236px;box-shadow: var(--sh-lg);}+ .trek-dash .st-panel.st-side { background: var(--surface); }}.trek-dash .st-panel {diff --git a/client/tests/unit/mobile/journey/MJourneyDetail.test.tsx b/client/tests/unit/mobile/journey/MJourneyDetail.test.tsxindex 42d24a87d..9c469e280 100644--- a/client/tests/unit/mobile/journey/MJourneyDetail.test.tsx+++ b/client/tests/unit/mobile/journey/MJourneyDetail.test.tsx@@ -856,6 +856,13 @@ describe('MJourneyDetail', () => {expect(hook.navigate).toHaveBeenCalledWith(expect.stringMatching(/^\/journey\/\d+\/studio$/));});+ it("FE-MOB-JDET-053: the journal a trip links offers Studio too, on a tablet beside the map", () => {+ setSizeClass('split');+ mocks.detail = buildHook();+ render(<MJourneyDetail journeyId={7} embedded />);+ expect(screen.getByRole('button', { name: 'journey.studio.openAria' })).toBeInTheDocument();+ });+it('FE-MOB-JDET-052: the phone and a single pane offer no Studio', () => {setup();expect(screen.queryByRole('button', { name: 'journey.studio.openAria' })).not.toBeInTheDocument();