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(assistant): give the phone home chat its own m-root so it is not see-through
Maurice90f31d3f07ac
diff --git a/client/src/mobile/screens/assistant/MAssistantHomeScreen.tsx b/client/src/mobile/screens/assistant/MAssistantHomeScreen.tsxindex 65626f312..60eeecf73 100644--- a/client/src/mobile/screens/assistant/MAssistantHomeScreen.tsx+++ b/client/src/mobile/screens/assistant/MAssistantHomeScreen.tsx@@ -50,13 +50,17 @@ export default function MAssistantHomeScreen() {useAssistantStatus();if (inTrip || !available || !open || minimized) return null;+ // Mounted beside MobileShell, not inside it, so the --m-* tokens the screen paints+ // with only resolve under an m-root of its own; without it the chat is see-through.return (- <AssistantScreen- tripId={chat.id}- tripTitle={chat.title}- hidden={false}- hops={hops}- onOpenTripChat={journal ? undefined : home.openTripChat}- />+ <div className="m-root">+ <AssistantScreen+ tripId={chat.id}+ tripTitle={chat.title}+ hidden={false}+ hops={hops}+ onOpenTripChat={journal ? undefined : home.openTripChat}+ />+ </div>);}diff --git a/client/tests/unit/mobile/MAssistantHomeScreen.test.tsx b/client/tests/unit/mobile/MAssistantHomeScreen.test.tsxindex df1a0b0c4..8e33f02c8 100644--- a/client/tests/unit/mobile/MAssistantHomeScreen.test.tsx+++ b/client/tests/unit/mobile/MAssistantHomeScreen.test.tsx@@ -7,7 +7,7 @@ import MAssistantHomeScreen from '../../../src/mobile/screens/assistant/MAssistaimport { chatOf, useAssistantStore } from '../../../src/store/assistantStore';import { act, cleanup, fireEvent, render, screen } from '../../helpers/render';-// FE-MOB-ASSIST-HOME-001 to FE-MOB-ASSIST-HOME-005+// FE-MOB-ASSIST-HOME-001 to FE-MOB-ASSIST-HOME-006//// The phone's home chat, full screen outside a trip, around the shared chat// surface, which is replaced here: what is tested is when it shows, its@@ -141,4 +141,9 @@ describe('MAssistantHomeScreen', () => {renderAt('/settings');expect(screen.queryByRole('dialog')).not.toBeInTheDocument();});++ it('FE-MOB-ASSIST-HOME-006: brings its own m-root, so the phone tokens resolve outside the mobile shell', () => {+ renderAt('/dashboard');+ expect(screen.getByRole('dialog', { name: 'Assistant' }).closest('.m-root')).not.toBeNull();+ });});