Skip to content

ui: make the app feel native on phones - #31949

Merged
allozaur merged 39 commits into
ggml-org:masterfrom
allozaur:allozaur/feat/mobile-native
Nov 9, 2026
Merged

allozaur merged 39 commits into
ggml-org:masterfrom
allozaur:allozaur/feat/mobile-native

Conversation

@allozaur

@allozaur allozaur commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Overview

On phones the sidebar slides in under the page, rows open their menu on press and hold, the layout respects the safe areas and the page fades out under the status bar, and every dialog, search included, is full screen.

Demo

Header and model name Scrolling and the sidebar Dialogs, pages and dark mode
Header and model name Scrolling and the sidebar Dialogs, pages and dark mode

Recorded at d2f3c91; click a preview for its full video.

Additional information

This uses Llama Chat's current styles. The design system that restyles these screens comes in a later PR.

What changed
  • ui: reveal the mobile sidebar by sliding the page aside
  • ui: polish the mobile sidebar reveal and add a hold menu to rows
  • ui: pin the context gauge on phones and lock the slid-aside page
  • ui: open the mobile sidebar with a swipe from anywhere
  • ui: hide the model org name on mobile unless a setting keeps it
  • ui: close the mobile sidebar before following a tap in it
  • ui: make the app feel native on phones and run it under the status bar
  • ui: add a viewport height readout for debugging on phones
  • ui: fill the screen from launch in the installed iOS app
  • ui: raise the phone's corner controls in the installed app
  • ui: add safe-area utilities for what is pinned to a screen edge
  • ui: open search in a full-height drawer on phones
  • ui: show every dialog full screen on phones, clear of the status bar
  • ui: fade the page out under the status bar of the installed app on phones
  • ui: show search in the full-screen dialog on phones instead of a drawer
  • ui: start a phone page's title a row below the corner controls
  • ui: pin the slid page's bottom bars against the screen in the installed iOS app
  • ui: cast a soft shadow from the slid page onto the phone sidebar
  • ui: hide the scroll-down key at the real bottom on iOS and show it only well above
  • ui: fade the status-bar fade out as the page slides aside for the sidebar
  • ui: draw the slid page's shadow above its rounded frame, so it follows the corners
  • ui: show a phone chat's title and working directory at the top, and pick it in a drawer
  • ui: give iOS Safari a solid top and fade the bottom of the screen on phones
  • ui: let iOS Safari find the top strip, which it skips when it takes no taps
  • ui: lengthen the top fade and lift the chat form a little in phone browsers
  • ui: give iOS Safari's bottom toolbar the page's colour, not the chat form's
  • ui: draw the phone's context gauge key like the menu key across from it
  • ui: confirm opening the phone sidebar, its hold menu and its rows with a haptic tap
  • ui: keep the screen-edge fades on the page as it slides aside for the sidebar
  • ui: keep the working directory chip optional for hosts with their own trigger
  • ui: style layer 5's additions with master's tokens until the design system lands
  • ui: drop the design system's stylesheets and fonts from app.css until it lands
  • ui: keep master's font stacks until the design system brings its fonts
Testing
  • npm run check passes on this branch; CI runs the tests.
  • The demo below was recorded against this branch in a 390×844 phone viewport, with a simulated status bar and home indicator.
  • Search checked in a phone viewport: it opens full screen with the input focused, clear of the simulated status bar and home indicator, filters, and closes on opening a chat; the desktop dialog is unchanged.
  • Full-screen dialogs checked in a phone viewport with the status bar and home indicator simulated: MCP Servers and Add New MCP Server (until now a centred dialog) fill the screen clear of both; desktop sizes are unchanged. Alerts (confirmations, renames, errors) stay small and centred.
  • Models checked the same way: its title starts a row below the menu key, clear of the status-bar fade, in the installed app and in a browser tab.
  • Sidebar open and close on a page shorter than the screen: in a browser tab its bottom bars hold still, as before. The installed iOS app fix (pins measured against the screen, not the viewport iOS shortens by the status bar once a short page is locked) still needs checking on an iPhone.
  • With the sidebar open in a phone viewport, a soft shadow falls from the page's left edge onto the sidebar, in light and dark mode; it fades in and out on the same timing as the page's rounded corners.
  • Scroll-down key in a phone viewport: hidden at the bottom and 150px above it, shown 400px up (it now needs 240px), hidden again back at the bottom; two new client tests cover the same. The iOS cause (the document's height read from the smaller viewport, so the real bottom read as 47px or more above it) can only be confirmed on an iPhone.
  • The status-bar fade's opacity follows the sidebar's slide (fully shown closed, half at halfway, gone open), so nothing of it sticks out past the slid page's rounded corners.
  • The slid page's shadow, checked with an exaggerated colour in a phone viewport: drawn above the rounded frame it falls off smoothly and follows the top corner; below it, as before, it ended in a square top beside the corner.
  • Phone chat header, checked in a phone viewport on this layer and on the top of the stack: a chat shows its title and working directory between the corner keys on a taller top fade, and tapping the directory opens the picker as a drawer; a new chat has no header and offers "Set working directory" in the + drawer, which opens the same picker drawer; desktop keeps the chip under the form.
  • Bottom fade checked in a phone viewport: text scrolling under the chat form fades out toward the screen's edge, under the form. The solid top in iOS Safari (a thin strip in the page's colour at its top edge, which Safari 26 takes for the area above the page now that it ignores theme-color) can only be checked in Safari on an iPhone.
  • The first version of the Safari strip did not take: Safari hit-tests the top edge to find the element it colours from, and a strip with pointer-events: none is never hit. It now takes taps, confirmed in Safari on an iPhone.
  • The top fade is now solid only to the middle of the corner row and fades over its lower half and on to the content; the chat form sits 4px higher in a phone browser (12px from the bottom, 8px in iOS Safari), unchanged in the installed app. Pushed without the pre-push checks while the stack is WIP; every layer type-checks and lint passes.
  • iOS Safari's bottom toolbar took the chat form's colour; a page-coloured strip at the bottom edge, under the form and taking hits like the top one, now gives it the page's. To be confirmed in Safari on an iPhone.
  • Context gauge key, checked in a phone viewport in light and dark: its dial is now drawn on the icon grid with a 2px stroke, as wide as the menu glyph across from it, in the same foreground colour at rest (amber and red still mark the warning levels); the inline dial elsewhere is unchanged.
  • Haptics: opening the sidebar (menu key or swipe), a chat row's hold menu, and tapping a sidebar action or chat row give a light tap. Android vibrates; iOS Safari has no vibration API, so a hidden native switch is toggled for its system haptic (iOS 18+), which only plays inside a tap, so the hold menu, opened on a timer, stays silent on iOS. Three client tests cover the helper; the feel itself needs a phone.
  • Status-bar fade checked the same way, in light and dark: a chat scrolled under the bar fades into it instead of running into the clock, the fade travels with the page when the sidebar slides it aside, and it is absent on desktop and in a browser tab, where the top inset is 0.
Demo script
import type { Locator, Page } from '@playwright/test';

test.use({
	hasTouch: true,
	isMobile: true,
	settings: { theme: 'system' },
	traces: ['long-chat', 'agentic-debugging'],
	viewport: { height: 844, width: 390 }
});

const INSETS = { bottom: 34, top: 47 };

/**
 * Stands in for an iPhone's status bar and home indicator: the app reads the insets from
 * --safe-area-top and --safe-area-bottom, which env() leaves at 0 in a desktop browser. A
 * phone has no pointer, so the cursor is hidden and touches show as fingertips.
 */
function simulatePhone({ bottom, top }: { bottom: number; top: number }): void {
	const mount = () => {
		if (document.getElementById('demo-status-bar')) return;

		const root = document.documentElement;

		root.style.setProperty('--safe-area-top', `${top}px`);
		root.style.setProperty('--safe-area-bottom', `${bottom}px`);

		const style = document.createElement('style');

		style.textContent = `
			#demo-cursor { display: none !important; }
			#demo-status-bar { position: fixed; inset: 0 0 auto; height: ${top}px; z-index: 2147483645;
				display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 36px;
				font: 600 16px/1 system-ui, sans-serif; color: #000; pointer-events: none; }
			#demo-status-bar .icons { display: flex; gap: 6px; align-items: center; }
			#demo-status-bar .battery { width: 24px; height: 11px; border: 1.5px solid currentColor;
				border-radius: 3px; padding: 1px; opacity: 0.9; }
			#demo-status-bar .battery::after { content: ''; display: block; height: 100%; width: 80%;
				background: currentColor; border-radius: 1px; }
			#demo-status-bar .bars { display: flex; gap: 2px; align-items: flex-end; height: 11px; }
			#demo-status-bar .bars i { width: 3px; background: currentColor; border-radius: 1px; }
			#demo-home-indicator { position: fixed; left: 50%; bottom: 8px; width: 134px; height: 5px;
				margin-left: -67px; border-radius: 3px; background: #000; z-index: 2147483645; pointer-events: none; }
			html.dark #demo-status-bar { color: #fff; }
			html.dark #demo-home-indicator { background: #fff; }
		`;
		document.head.appendChild(style);

		const bar = document.createElement('div');

		bar.id = 'demo-status-bar';
		bar.innerHTML = `<span>9:41</span><span class="icons"><span class="bars"><i style="height:4px"></i>
			<i style="height:6px"></i><i style="height:8px"></i><i style="height:11px"></i></span>
			<span class="battery"></span></span>`;
		root.appendChild(bar);

		const indicator = document.createElement('div');

		indicator.id = 'demo-home-indicator';
		root.appendChild(indicator);
	};

	if (document.readyState === 'loading') {
		document.addEventListener('DOMContentLoaded', mount);
	} else {
		mount();
	}
}

/** Turns the page into the simulated phone; returns its finger gestures and common controls. */
async function onPhone(page: Page, demo: { pause(ms: number): Promise<void> }) {
	await page.addInitScript(simulatePhone, INSETS);
	await page.evaluate(simulatePhone, INSETS);

	const cdp = await page.context().newCDPSession(page);

	async function center(target: Locator): Promise<{ x: number; y: number }> {
		const box = await target.boundingBox();

		if (!box) throw new Error(`demo: ${target} has no bounding box`);

		return { x: box.x + box.width / 2, y: box.y + box.height / 2 };
	}

	async function touch(type: 'touchStart' | 'touchMove' | 'touchEnd', x = 0, y = 0) {
		await cdp.send('Input.dispatchTouchEvent', {
			touchPoints: type === 'touchEnd' ? [] : [{ x, y }],
			type
		});
	}

	// the page's own menu key: the sidebar's logo under the page has the same name and nearly
	// the same place, and a tap that lands on the part of it the key doesn't cover goes unheard
	const menuKey = page
		.locator('xpath=//button[@aria-label="Expand navigation"][not(ancestor::aside)]')
		.first();

	return {
		/** A long press, which the mouse can't do: the app ignores mouse pointers for it. */
		async hold(target: Locator, ms = 800): Promise<void> {
			const { x, y } = await center(target);

			await touch('touchStart', x, y);
			await page.waitForTimeout(ms);
			await touch('touchEnd');
			await demo.pause(900);
		},

		menuKey,

		/** Taps the menu key and waits for the sidebar, whose logo turns into a link to the start page. */
		async openSidebar(): Promise<void> {
			await demo.click(menuKey);
			await expect(page.locator('a[aria-label="Go to start"]')).toBeVisible();
		},

		// the hidden mouse rests where the last click was, and a zoom can draw a tooltip under it
		parkMouse: () => page.mouse.move(195, 20),

		rows: page.locator('[data-conversation-row]'),

		/** A finger scroll; positive `dy` moves the page up, toward earlier messages. */
		async scroll(dy: number): Promise<void> {
			await cdp.send('Input.synthesizeScrollGesture', {
				gestureSourceType: 'touch',
				speed: 900,
				x: 195,
				y: 420,
				yDistance: dy
			});
			await demo.pause(700);
		},

		async swipe(from: { x: number; y: number }, to: { x: number; y: number }): Promise<void> {
			const steps = 14;

			await touch('touchStart', from.x, from.y);

			for (let i = 1; i <= steps; i++) {
				await page.waitForTimeout(18);
				await touch(
					'touchMove',
					from.x + ((to.x - from.x) * i) / steps,
					from.y + ((to.y - from.y) * i) / steps
				);
			}

			await touch('touchEnd');
			await demo.pause(900);
		},

		/** A finger tap at a point on the screen. */
		async tap({ x, y }: { x: number; y: number }): Promise<void> {
			await touch('touchStart', x, y);
			await page.waitForTimeout(70);
			await touch('touchEnd');
			await demo.pause(700);
		}
	};
}

test('Header and model name', async ({ demo, page }) => {
	const phone = await onPhone(page, demo);
	const input = page.getByRole('textbox', { name: 'Type a message...' });
	const send = page.getByRole('button', { name: 'Send' });
	// the chat form's model selector, not the reply's model badge above it
	const modelChip = page.getByRole('button', { name: /flint/ }).filter({ visible: true }).last();
	const directory = page
		.getByRole('button', { name: 'Set working directory' })
		.filter({ visible: true })
		.first();

	await demo.caption('On a phone, with a simulated status bar and home indicator', 2600);

	// a new chat has no header yet, so its working directory is in the + menu
	await demo.caption('A new chat picks its working directory from the + menu');
	await demo.click(
		page.getByRole('button', { name: 'Add files, prompts, tools or MCP Servers' }).last()
	);
	await demo.pause(900);
	await demo.click(directory);
	await demo.caption('The picker opens as a drawer');
	await demo.press('Escape', 800);

	await demo.type(input, 'Name a planet.');
	await demo.click(send);
	await demo.pause(1500);
	await expect(send).toBeVisible({ timeout: 60000 });

	await demo.caption('A chat shows its title and working directory between the corner keys');
	await demo.zoom({ x: 195, y: 64 }, 2.2);

	await demo.caption('The context gauge key is pinned top right, drawn like the menu key');
	await demo.zoom({ x: 354, y: 64 }, 3);
	await demo.zoom({ x: 36, y: 64 }, 3, 1000);

	await demo.caption('Tapping the directory opens its picker');
	await demo.click(directory);
	await demo.pause(1500);
	await demo.press('Escape', 800);

	await demo.caption('The model selector drops the organization name on a phone');
	await phone.parkMouse();
	await demo.zoom(modelChip, 3);

	await demo.caption('Settings, full screen like every dialog, can keep it');
	await phone.openSidebar();
	await demo.click(
		page
			.getByRole('button', { name: /^Settings/ })
			.filter({ visible: true })
			.first()
	);
	await demo.pause(1200);
	await demo.click(
		page.getByRole('dialog').getByText('Display', { exact: true }).filter({ visible: true }).first()
	);
	await demo.pause(900);
	await demo.click(
		page
			.getByText('Show organization name on mobile', { exact: true })
			.filter({ visible: true })
			.first()
	);
	await demo.pause(700);
	await demo.click(
		page.getByRole('button', { name: 'Save settings' }).filter({ visible: true }).first()
	);
	await demo.pause(900);

	if (await page.getByRole('dialog').isVisible()) await demo.press('Escape', 900);

	await phone.parkMouse();
	await demo.zoom(modelChip, 3);
});

test('Scrolling and the sidebar', async ({ demo, page }) => {
	const phone = await onPhone(page, demo);

	await demo.caption('A long chat on a phone', 1600);
	await phone.openSidebar();
	await demo.pause(900);
	await demo.click(phone.rows.filter({ hasText: 'Building a weather CLI' }).first());
	await demo.pause(1500);

	await demo.caption('Scrolled up, messages fade out under the status bar');
	await phone.scroll(260);
	await demo.zoom({ x: 195, y: 70 }, 2.2);

	await demo.caption('and under the chat form');
	await demo.zoom({ x: 195, y: 760 }, 2.2);

	await demo.caption('The scroll-down key shows only well above the bottom');
	await phone.scroll(300);
	await demo.pause(600);
	await demo.zoom({ x: 195, y: 678 }, 2.5, 1200);
	await phone.scroll(-4000);
	await demo.pause(800);

	await demo.caption('The menu key slides the page aside, over the sidebar');
	await phone.openSidebar();
	await demo.pause(1200);
	await demo.zoom({ x: 312, y: 140 }, 2.5);

	// the slid page shows as a strip along the right edge
	await demo.caption('A tap on the page closes it');
	await phone.tap({ x: 360, y: 430 });
	await demo.pause(600);

	await demo.caption('A swipe from anywhere opens it too');
	await phone.swipe({ x: 110, y: 470 }, { x: 330, y: 476 });
	await demo.pause(800);

	await demo.caption('Press and hold a chat for its menu');
	await phone.hold(phone.rows.first());
	await demo.pause(1400);
	await demo.press('Escape', 700);

	await demo.caption('A tap on a chat closes the sidebar, then opens it');
	await demo.click(phone.rows.filter({ hasText: 'Fix the flaky cache tests' }).first());
	await demo.pause(1800);
});

test('Dialogs, pages and dark mode', async ({ demo, page }) => {
	const phone = await onPhone(page, demo);

	await phone.openSidebar();
	await demo.pause(700);
	await demo.click(phone.rows.filter({ hasText: 'Building a weather CLI' }).first());
	await demo.pause(1200);

	await demo.caption('Alerts are a small card in the middle of the screen, not a drawer');
	await demo.click(page.getByRole('button', { name: 'Delete' }).filter({ visible: true }).last());

	const alert = page.getByRole('alertdialog');

	await expect(alert).toBeVisible();
	await demo.pause(1800);
	await demo.click(alert.getByRole('button', { name: 'Cancel' }));
	await demo.pause(600);

	await demo.caption('Search fills the screen, clear of the status bar');
	await phone.openSidebar();
	await demo.click(
		page
			.getByRole('button', { name: /^Search/ })
			.filter({ visible: true })
			.first()
	);
	await demo.pause(900);
	await demo.type(page.getByPlaceholder('Search').filter({ visible: true }).first(), 'flaky');
	await demo.pause(1200);
	await demo.click(
		page
			.getByRole('dialog')
			.getByText(/flaky/i)
			.filter({ visible: true })
			.first()
	);
	await demo.pause(1500);

	await demo.caption('So does every dialog, MCP Servers among them');
	await phone.openSidebar();
	await demo.click(page.getByRole('button', { name: /^MCP/ }).filter({ visible: true }).first());
	await demo.pause(1500);
	await demo.click(
		page.getByRole('button', { name: 'Add New Server' }).filter({ visible: true }).first()
	);
	await demo.pause(1500);
	await demo.press('Escape', 600);
	await demo.press('Escape', 900);

	await page.goto('/#/models');
	await demo.pause(800);
	await demo.caption('A page title starts a row below the corner keys');
	await demo.zoom({ x: 120, y: 100 }, 2);

	await demo.caption('In dark mode too');
	await page.emulateMedia({ colorScheme: 'dark' });
	await demo.pause(800);
	await phone.openSidebar();
	await demo.pause(1200);
	await demo.zoom({ x: 312, y: 140 }, 2.5);
});

Requirements

On a phone the sidebar now stays put under the page, and the page slides
right to uncover it, as a rounded card with the card border. The menu
button rides on the page; a swipe from the left edge opens the sidebar,
and a swipe back or a tap on the page closes it.

Assisted-by: Claude (Opus 5.5 Medium)
Holding a conversation row on a phone opens its action menu anchored to
the row, in place of the hidden three-dot trigger. The page no longer
widens the document when it slides aside, so iOS stops panning it on the
first open.

The page and sidebar backgrounds start in the page color and blend into
the sidebar tint as the sidebar opens, following a drag frame by frame,
and a theme-color tag follows them for the browser bars. The sidebar's
contents fade in on a log curve and scale up slightly, and sit at the
same inset as the menu toggle, which now uses a two-line icon in a
filled circle.

Assisted-by: Claude (Opus 5.5 Medium)
On a phone the context gauge leaves the chat form for the top right of
the chat screen, in a round button across from the menu toggle. Both
take the scroll-down button's frosted look.

While the sidebar is out, and until the page is fully back in place,
the page neither scrolls nor takes taps; a tap or drag on it still
closes the sidebar.

Assisted-by: Claude (Opus 5.5 Medium)
A rightward swipe from anywhere on the page now opens the phone sidebar
too, beside the edge swipe that competes with the browser's own back and
forward gesture. It starts after a short sideways move, skips text
fields and content that scrolls sideways, and keeps the page from
scrolling under it. Letting go opens or closes the sidebar past 30% of
the way or on a flick.

The top buttons and the chat form now hold their place on screen while
the page is slid aside, instead of jumping to the far ends of a
scrolled conversation.

Assisted-by: Claude (Opus 5.5 Medium)
A phone's model selector is narrow, so it now drops the organization
from model names by default. A new Display setting, "Show organization
name on mobile", brings it back; it applies only while the organization
name is shown at all.

Assisted-by: Claude (Opus 5.5 Medium)
On a phone, picking a conversation, New chat, Search, MCP or Settings
in the open sidebar now slides it shut first and acts 180ms later, so
the page or dialog appears once the sidebar is out of the way. With the
sidebar already closed, or on a desktop, the action runs at once.

Assisted-by: Claude (Opus 5.5 Medium)
Applies the mobile-native checklist: no tap highlight or landscape text
inflation, instant taps on buttons and links, no label selection or
callout on a held control, hover styles only where a pointer can hover,
and 16px textareas on phones so focusing them does not zoom the page.

The page now runs under the notch (viewport-fit=cover), so the installed
iOS app tints its status bar from the page and the sidebar. The menu
toggle, the context gauge, the sidebar and the top of the chat and
models pages pad themselves clear of it, and the locked, slid page
reaches down by the status bar's height, which iOS leaves out of it.

Assisted-by: Claude (Opus 5.5 Medium)
With VITE_DEBUG set, a dev build shows the window, viewport unit and
safe-area heights, and the elements that reach past the window's bottom
and make the page scroll. It is loaded on demand, so production builds
leave it out.

Assisted-by: Claude (Opus 5.5 Medium)
iOS 26 gives an installed app with viewport-fit=cover and a translucent
status bar a viewport short of that bar (WebKit bug 301108), clipping
the bottom of the page and lifting the chat form, but only while the
page is shorter than the screen. In the installed app the page now
reaches the screen plus the status bar, capped at the screen, so it
gets the full screen from the start without ever scrolling.

Assisted-by: Claude (Opus 5.5 Medium)
The installed app's status bar already sets the menu toggle, the context
gauge and the open sidebar's logo apart from the screen's edge, so they
sit just below it rather than a full 1rem lower. They share one value,
which stays at 1rem below the inset in a browser tab.

Assisted-by: Claude (Opus 5.5 Medium)
The page runs under the status bar and over the home indicator, which an
installed iPhone app always shows. New pt-safe, pb-safe, top-safe and
bottom-safe utilities, each with a spacing step (pt-safe-12 is 3rem plus
the top inset), keep pinned content clear of them instead of hand-written
calc()s. A --safe-area-bottom joins --safe-area-top, and the chat screen and
Models page use pt-safe-12.

Assisted-by: Claude (Opus 5.5 Medium)
A phone used to leave for the /search page. It now opens the same search
as the desktop dialog, in a bottom drawer that fills the screen below the
status bar. Keyboard shortcuts, the Enter hint and the keyboard highlight
stay on desktop, and so does the models manager, as in the phone sidebar.

Assisted-by: Claude (Opus 5.5 Medium)
A phone now shows every dialog full screen, whatever size it asks for on a
desktop, instead of each full-screen dialog repeating its own classes. Its
top and bottom borders take the status bar's and the home indicator's
height, transparent, so an installed app's dialogs keep their content clear
of both with no change to their padding. The attachment preview, which has
its own full-screen content, pads itself and lowers its close button the
same way.

Assisted-by: Claude (Opus 5.5 Medium)
…ed iOS app

Assisted-by: Claude (Opus 5.5 Medium)
…ly well above

Assisted-by: Claude (Opus 5.5 Medium)
…s the corners

Assisted-by: Claude (Opus 5.5 Medium)
…ick it in a drawer

Assisted-by: Claude (Opus 5.5 Medium)
…phones

Assisted-by: Claude (Opus 5.5 Medium)
…o taps

Assisted-by: Claude (Opus 5.5 Medium)
…owsers

Assisted-by: Claude (Opus 5.5 Medium)
…form's

Assisted-by: Claude (Opus 5.5 Medium)
…h a haptic tap

Assisted-by: Claude (Opus 5.5 Medium)
… sidebar

Fading them out with the slide made the page flicker; the rounded frame over the
slid page already clips them at its corners.

Assisted-by: Claude (Opus 5.5 Medium)
… trigger

The phone layout opens the picker from the chat's header, so ChatForm hides the
chip there. Master's version of the chip has no such switch; bring it back.

Assisted-by: Claude (Opus 5.5 Medium)
…ystem lands

Assisted-by: Claude (Opus 5.5 Medium)
… it lands

Assisted-by: Claude (Opus 5.5 Medium)
…m lands

Resolving the safe-area commit took the design system's app.css, which drops
the palette for its token files and aliases the shadcn names to semantic
tokens. With the tokens gone those aliases point at themselves, so every
colour went invalid: transparent surfaces and currentColor borders.

Assisted-by: Claude (Opus 5.5 Medium)
An alert is a short question, not a drawer: on a phone it is now a centered
card, 90% of the screen wide and as tall as its text, scrolling only past the
screen's height. It zooms in as on desktop, and its footer drops the margin
the sheet needed.

Assisted-by: Claude (Opus 5.5 Medium)
The drawer reused the popover's compact picker: Browse sat against the search
field, the divider ran past the rows and each row had its own inset. In the
drawer the picker now takes the header's inset, gives Browse room, lines its
rows up with the search results and sizes its text for a phone.

Assisted-by: Claude (Opus 5.5 Medium)
@github-actions github-actions Bot added server/ui video demo PR features a video demo recorded with the UI demo pipeline labels Nov 9, 2026
@allozaur
allozaur marked this pull request as ready for review November 9, 2026 15:52
@allozaur
allozaur requested a review from a team as a code owner November 9, 2026 15:52
@allozaur
allozaur requested review from ServeurpersoCom and a balanced review from Copilot November 9, 2026 15:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

A phone now confirms a sent message by feel, at the moment the send goes
through (not on every press of the button), and before any await, so it still
runs inside the tap or keypress that iOS needs to play its tick. The hold that
opens a row's menu now taps the engine from the long-press hook itself, once:
the hook vibrated and the row tapped as well, which buzzed twice on Android.

Assisted-by: Claude (Opus 5.5 Medium)
…sidebar fade

Review follow-ups: the context gauge dial reads its grid, radius, stroke and
track from one table per size instead of ternaries; the chat form's distance
from the screen's bottom per platform and the sidebar content's fade duration
are named constants. The viewport debug readout moves out of src, next to the
tests, as it is a debug tool the app only loads in a dev build.

Assisted-by: Claude (Opus 5.5 Medium)
A llama-server opened over plain HTTP on the local network or over Tailscale
is not a secure context, where browsers hide the microphone, so a tap on the
mic did nothing but log to the console. The button now shows a crossed-out mic
in the warning tone with the reason in its tooltip, and a tap says it in a
toast, as a phone shows no tooltip. A start that fails names the browser's
reason (access denied, no microphone, in use by another app) the same way,
and the next tap tries again. The recorder passes the browser's error on
instead of replacing it with a generic one.

Assisted-by: Claude (Opus 5.5 Medium)

@ServeurpersoCom ServeurpersoCom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the code: the reveal and long-press hooks are self-contained, every tunable is a named constant, and the debug probe stays out of the production bundle. Android side looks right from the code; I can't vouch for the installed iOS app paths you flagged as pending an iPhone check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server/ui video demo PR features a video demo recorded with the UI demo pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants