mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-06 08:42:23 -08:00
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.
This commit is contained in:
5 files changed
+11
-11
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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<
|
||||
|
||||
@@ -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<LivekitJsControllerLifecycle, string> = {
|
||||
|
||||
@@ -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, {
|
||||
|
||||
Reference in new issue
Block a user