Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

continue on phone: the note names the phone app that shows shared chats (3.0.10 or newer)

purpleb67b23425f53
diff --git a/src/components/chat/__tests__/continue-on-phone-honest.test.tsx b/src/components/chat/__tests__/continue-on-phone-honest.test.tsx
index 70fb5301..e08f96b7 100644
--- a/src/components/chat/__tests__/continue-on-phone-honest.test.tsx
+++ b/src/components/chat/__tests__/continue-on-phone-honest.test.tsx
@@ -1,8 +1,8 @@
// @vitest-environment jsdom
/**
* D8 (Discord, 02.11.): "Continue on phone" shared the chat, but nothing on
- * the phone showed it. The phone app 3.0.7 and the browser remote do not read
- * shared chats at all; only the next phone app does. The desktop says so, at
+ * the phone showed it. The phone app 3.0.7 and the browser remote did not read
+ * shared chats; the phone app does since 3.0.10 (M310). The desktop says so, at
* the button and above the list of shared chats.
*/
import { describe, it, expect, afterEach } from 'vitest'
@@ -20,17 +20,17 @@ describe('Continue on phone says which phone shows a shared chat', () => {
it('the button names the next phone app, shared or not', () => {
const id = useChatStore.getState().createConversation('qwen', '')
render(<ContinueOnPhoneButton />)
- expect(screen.getByTestId('continue-on-phone').getAttribute('title')).toMatch(/next LU phone app/)
+ expect(screen.getByTestId('continue-on-phone').getAttribute('title')).toMatch(/LU phone app \(3\.0\.10 or newer\)/)
expect(screen.getByTestId('continue-on-phone').getAttribute('title')).toMatch(/browser remote/)
act(() => useChatStore.getState().setRemoteShared(id, true))
- expect(screen.getByTestId('continue-on-phone').getAttribute('title')).toMatch(/^Shared with your phone\. .*next LU phone app/)
+ expect(screen.getByTestId('continue-on-phone').getAttribute('title')).toMatch(/^Shared with your phone\. .*LU phone app \(3\.0\.10 or newer\)/)
})
it('the list of shared chats says it once, with what reaches the phone until then', () => {
render(<SharedChatsSettings />)
const note = screen.getByTestId('shared-chats-phone-note')
- expect(note.textContent).toMatch(/next LU phone app/)
- expect(note.textContent).toMatch(/phone app 3\.0\.7 and the browser remote/)
+ expect(note.textContent).toMatch(/LU phone app \(3\.0\.10 or newer\)/)
+ expect(note.textContent).toMatch(/browser remote does not show them/)
expect(note.textContent).toMatch(/does not go back to the phone/)
})
})
diff --git a/src/components/chat/shared-chats-note.ts b/src/components/chat/shared-chats-note.ts
index 589e9f0a..cde571cd 100644
--- a/src/components/chat/shared-chats-note.ts
+++ b/src/components/chat/shared-chats-note.ts
@@ -1,10 +1,9 @@
/**
- * Which phone shows a shared chat (D8, Discord 02.11.). Only the next LU
- * phone app reads shared chats; the phone app 3.0.7 and the browser remote
- * only send chats started on the phone to this computer. Remove these lines
- * when the phone app with shared chats is out.
+ * Which phone shows a shared chat (D8, Discord 02.11.; updated M310). The LU
+ * phone app reads shared chats since 3.0.10, under Remote desktop. The
+ * browser remote only sends chats started on the phone to this computer.
*/
-export const SHARED_CHATS_PHONE_NOTE = "Shared chats show up in the next LU phone app. The phone app 3.0.7 and the browser remote don't show them yet."
+export const SHARED_CHATS_PHONE_NOTE = 'Shared chats show up in the LU phone app (3.0.10 or newer) under Remote desktop. The browser remote does not show them.'
-/** The same, with what reaches the phone until then. */
-export const SHARED_CHATS_PHONE_NOTE_LONG = `${SHARED_CHATS_PHONE_NOTE} Until then, chats started on the phone reach this computer, but what you write here does not go back to the phone.`
+/** The same, with what the browser remote does. */
+export const SHARED_CHATS_PHONE_NOTE_LONG = `${SHARED_CHATS_PHONE_NOTE} In the browser remote, chats started on the phone reach this computer, but what you write here does not go back to the phone.`