diff --git a/apps/desktop/src/components/CallControls.tsx b/apps/desktop/src/components/CallControls.tsx
index d7b0440..fd932c0 100644
--- a/apps/desktop/src/components/CallControls.tsx
+++ b/apps/desktop/src/components/CallControls.tsx
@@ -9,6 +9,7 @@ import {
MonitorStopIcon,
MusicIcon,
PhoneOffIcon,
+ SparklesIcon,
UsersIcon,
VideoIcon,
} from './icons';
@@ -18,15 +19,22 @@ interface Props {
sharing: boolean;
video: boolean;
deafened: boolean;
+ noiseSuppression?: boolean;
onToggleMute: () => void;
onToggleShare: () => void;
+ /** Right-click on the share button opens the quality picker dialog while
+ * left-click just starts with last-used settings. Optional so pages that
+ * don't need the advanced path (mobile, etc.) can skip it. */
+ onShareContextMenu?: (e: React.MouseEvent) => void;
onToggleVideo?: () => void;
onToggleDeafen: () => void;
+ onToggleNoiseSuppression?: () => void;
onHangup: () => void;
onOpenParticipants?: () => void;
/** Toggle the in-call soundboard popover. Active = panel currently open. */
onToggleSoundboard?: () => void;
soundboardOpen?: boolean;
+ participantsOpen?: boolean;
/** Compact variant used inside the docked call (36px buttons). */
compact?: boolean;
/** Glass variant used when controls float on fullscreen cinema mode. */
@@ -40,14 +48,18 @@ export function CallControls({
sharing,
video,
deafened,
+ noiseSuppression,
onToggleMute,
onToggleShare,
+ onShareContextMenu,
onToggleVideo,
onToggleDeafen,
+ onToggleNoiseSuppression,
onHangup,
onOpenParticipants,
onToggleSoundboard,
soundboardOpen = false,
+ participantsOpen = false,
compact = false,
glass = false,
disabledMedia = false,
@@ -111,6 +123,7 @@ export function CallControls({
active={sharing}
activeTone="accent"
onClick={onToggleShare}
+ {...(onShareContextMenu ? { onContextMenu: onShareContextMenu } : {})}
disabled={disabledMedia}
glass={glass}
className={btnSize}
@@ -121,6 +134,26 @@ export function CallControls({
)}
+ {onToggleNoiseSuppression && (
+
+
+
+ )}
{onToggleSoundboard && (
@@ -159,24 +195,30 @@ export function CallControls({
interface CallButtonProps {
label: string;
onClick: () => void;
+ onContextMenu?: (e: React.MouseEvent) => void;
disabled?: boolean;
active?: boolean;
activeTone?: 'accent' | 'danger';
tone?: 'default' | 'danger';
glass?: boolean;
className?: string;
+ /** Stable trigger id so portals (popovers) can skip outside-click dismiss
+ * when the user is toggling their own trigger. */
+ dataTrigger?: string;
children: React.ReactNode;
}
function CallButton({
label,
onClick,
+ onContextMenu,
disabled,
active,
activeTone = 'accent',
tone = 'default',
glass = false,
className = '',
+ dataTrigger,
children,
}: CallButtonProps) {
const base =
@@ -200,11 +242,13 @@ function CallButton({
diff --git a/apps/desktop/src/components/CallUI.tsx b/apps/desktop/src/components/CallUI.tsx
index c985d7e..3cc9b8e 100644
--- a/apps/desktop/src/components/CallUI.tsx
+++ b/apps/desktop/src/components/CallUI.tsx
@@ -1,4 +1,4 @@
-import { useEffect } from 'react';
+import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useLocation, useNavigate } from 'react-router-dom';
@@ -173,6 +173,13 @@ function PipCall() {
: conv?.peer?.displayName ?? '—';
const participantCount = 1 + remoteParticipants.length;
const someoneSharing = remoteScreenShares.length > 0;
+ // Duration ticks while connected or reconnecting (LiveKit holds the room
+ // across reconnects, so the timer shouldn't reset on a wobble). Absent
+ // on outgoing/connecting where the call hasn't started yet.
+ const startedAt =
+ state.kind === 'connected' || state.kind === 'reconnecting'
+ ? state.startedAt
+ : null;
return (
- Live · {t('app:call.tap_to_open', { defaultValue: 'tippe zum Öffnen' })}
+
+ {startedAt
+ ?
+ : t('app:call.tap_to_open', { defaultValue: 'tippe zum Öffnen' })}
+