From 90f31d3f07acf401acc66b9c13416ab22fdcad94 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 25 Oct 2026 15:26:47 +0100 Subject: [PATCH] fix(assistant): give the phone home chat its own m-root so it is not see-through The home chat outside a trip mounts beside MobileShell, so none of the --m-* tokens it paints with resolved and the dashboard showed through the chat. --- .../screens/assistant/MAssistantHomeScreen.tsx | 18 +++++++++++------- .../unit/mobile/MAssistantHomeScreen.test.tsx | 7 ++++++- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/client/src/mobile/screens/assistant/MAssistantHomeScreen.tsx b/client/src/mobile/screens/assistant/MAssistantHomeScreen.tsx index 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 ( -