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.

feat(remote): the browser tab reads AI Terminal, not the app's name (D#101)

purple65b78ee2759e
diff --git a/src-tauri/src/commands/remote.rs b/src-tauri/src/commands/remote.rs
index 5e12814d..7ffe02d2 100644
--- a/src-tauri/src/commands/remote.rs
+++ b/src-tauri/src/commands/remote.rs
@@ -1643,7 +1643,8 @@ async fn mobile_landing() -> Html<String> {
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name='theme-color' content='#0e0e0e'>
-<title>LU</title>
+<title>AI Terminal</title>
+<meta name="apple-mobile-web-app-title" content="AI Terminal">
<!-- Bug #5: no third-party requests. System fonts only, inline SVG icons. -->
<!-- Bug #6: restrictive CSP. Self origin only. Inline styles/scripts are
required because the whole page is a single Rust string; data: images
diff --git a/src/api/__tests__/mobile-html-content.test.ts b/src/api/__tests__/mobile-html-content.test.ts
index bd5f5194..b9c78953 100644
--- a/src/api/__tests__/mobile-html-content.test.ts
+++ b/src/api/__tests__/mobile-html-content.test.ts
@@ -75,8 +75,13 @@ describe('mobile_landing HTML › LU branding assets', () => {
expect(matches.length).toBeGreaterThanOrEqual(4)
})
- it('has LU wordmark and no old brand strings', () => {
- expect(html).toContain('<title>LU</title>')
+ it('keeps the browser tab discreet and the in-page wordmark LU (D#101)', () => {
+ // The tab title and the saved-to-homescreen name are what bystanders
+ // see; both stay a neutral "AI Terminal". Inside the page the LU
+ // wordmark is fine, the person using it knows what it is.
+ expect(html).toContain('<title>AI Terminal</title>')
+ expect(html).toContain('name="apple-mobile-web-app-title" content="AI Terminal"')
+ expect(html).not.toContain('<title>LU</title>')
expect(html).toContain('class="auth-logo">LU<')
expect(html).not.toContain('LUncensored')
expect(html).not.toContain('Locally Uncensored')