From 4de40ae82ed25500b79d6d7cb46dfb61a6f5dd73 Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Fri, 31 Jul 2026 21:20:17 +0200 Subject: [PATCH] chore(call): restore the release identifier and drop em-dashes The identifier was switched to moe.sable.dev for local device signing, which orphans src-tauri/gen/android and makes the Android build fail. --- src-tauri/tauri.conf.json | 2 +- src/app/features/call/callChrome.css.ts | 4 ++-- src/app/features/call/callChrome.tsx | 6 +++--- src/app/features/call/callClient.ts | 6 +++--- src/app/hooks/useCallEmbed.ts | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 00049d06a..0bb3af71f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -2,7 +2,7 @@ "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "Sable", "version": "1.20.0", - "identifier": "moe.sable.dev", + "identifier": "moe.sable.client", "build": { "frontendDist": "../dist", "devUrl": "http://localhost:8080", diff --git a/src/app/features/call/callChrome.css.ts b/src/app/features/call/callChrome.css.ts index c5b0c32f7..6b9f7969e 100644 --- a/src/app/features/call/callChrome.css.ts +++ b/src/app/features/call/callChrome.css.ts @@ -2,7 +2,7 @@ import { style } from '@vanilla-extract/css'; import { config, toRem } from 'folds'; /** - * Shared call chrome styles — the dark canvas shell, the glassmorphic control + * Shared call chrome styles: the dark canvas shell, the glassmorphic control * pill, and the on/off media toggle button. Both call surfaces (livekit-js and * native) render into these so the chrome reads consistently across engines * while each engine keeps its own video substrate and connection logic. @@ -42,7 +42,7 @@ export const controlBarOverlay = style({ /** * In-flow control bar that sits below the tile grid (native). The native video * overlay fully occludes anything beneath it, so controls live in normal flow - * next to — never on top of — a video slot, and never auto-hide. + * next to (never on top of) a video slot, and never auto-hide. */ export const controlBarFlow = style({ flexShrink: 0, diff --git a/src/app/features/call/callChrome.tsx b/src/app/features/call/callChrome.tsx index 9729e0e73..e1f0b4ec4 100644 --- a/src/app/features/call/callChrome.tsx +++ b/src/app/features/call/callChrome.tsx @@ -70,10 +70,10 @@ export function CallLayout({ * The control bar shell. `overlay` floats over the canvas and auto-hides * (livekit-js: `visible` drives opacity/visibility, the pill re-enables * hit-testing); `flow` sits in normal layout below the tiles and is always - * visible (native). The actual controls are passed as children — the two + * visible (native). The actual controls are passed as children: the two * engines render different buttons (livekit-js uses its component-library * `ControlBar` with device menus; native uses the shared `CallMediaControls` - * toggles) — so only the shell is shared. + * toggles), so only the shell is shared. */ export type CallControlBarProps = { children: ReactNode; @@ -195,7 +195,7 @@ export function CallMediaToggleButton({ * bar; the livekit-js engine delegates to its component-library `ControlBar` * instead, so it does not use this. * - * The props are the media slice of `CallClient`, required — the native session + * The props are the media slice of `CallClient`, required: the native session * always provides them. */ export type CallMediaControlsProps = Required< diff --git a/src/app/features/call/callClient.ts b/src/app/features/call/callClient.ts index 4f902af28..b6fae3a07 100644 --- a/src/app/features/call/callClient.ts +++ b/src/app/features/call/callClient.ts @@ -6,9 +6,9 @@ import type { NativeCallLifecycle } from '$state/nativeCall'; /** * Coarse lifecycle phase both call engines map to. The engine-specific - * lifecycle unions genuinely differ — LiveKit JS splits "connecting" into + * lifecycle unions genuinely differ: LiveKit JS splits "connecting" into * joining-matrix / provisioning / connecting-livekit, and Native adds - * "reconnecting" — so the shared chrome reasons about a coarse phase while each + * "reconnecting", so the shared chrome reasons about a coarse phase while each * engine keeps its own union and its own user-facing label map. */ type CallPhase = 'idle' | 'connecting' | 'connected' | 'reconnecting' | 'stopping' | 'failed'; @@ -49,7 +49,7 @@ export type CallStatusView = { /** * Lifecycle → user-facing label maps. Colocated so the two surfaces share one * source of truth for status copy; they remain two maps because the lifecycle - * unions (and therefore the distinct labels — "Preparing call", "Reconnecting", + * unions (and therefore the distinct labels "Preparing call", "Reconnecting", * …) genuinely differ. */ const livekitJsLifecycleLabels: Record = { diff --git a/src/app/hooks/useCallEmbed.ts b/src/app/hooks/useCallEmbed.ts index a9f060502..a3a4721f5 100644 --- a/src/app/hooks/useCallEmbed.ts +++ b/src/app/hooks/useCallEmbed.ts @@ -113,7 +113,7 @@ export const useCallStart = (dm = false) => { } const ownerLease = acquireCallOwner('element', room.roomId); if (!ownerLease) { - debugLog.warn('call', 'Failed to start call — another call is already active', { + debugLog.warn('call', 'Failed to start call: another call is already active', { roomId: room.roomId, }); return; @@ -121,7 +121,7 @@ export const useCallStart = (dm = false) => { const container = callEmbedRef.current; if (!container) { ownerLease.release(); - debugLog.error('call', 'Failed to start call — no embed container', { + debugLog.error('call', 'Failed to start call: no embed container', { roomId: room.roomId, }); Sentry.metrics.count('sable.call.start.error', 1, {