(feat): add context menu to call users
Some checks failed
/ build-desktop (linux) (push) Failing after 1m9s
/ build-web (push) Failing after 1m25s
/ build-mobile (push) Failing after 4m7s
/ release (push) Has been skipped

(feat): ui changes to invite popup & call ui in general
(feat): make eslint less aggressive
(fix): stop watching button on own screenshares
(qol): update todo
This commit is contained in:
Alois 2026-06-08 15:40:04 +02:00
commit 4068669704
9 changed files with 213 additions and 27 deletions

View file

@ -28,6 +28,7 @@ import {
SquareArrowOutDownLeft,
SquareArrowOutUpRight,
} from "lucide-react";
import { useStorage } from "@tensamin/storage/context";
export default function Actions() {
const sharedClasses = "w-14 h-10";
@ -42,6 +43,12 @@ export default function Actions() {
focusedParticipantId != null &&
watchedStreamParticipantIds.includes(focusedParticipantId);
const { load } = useStorage();
const [ownId, setOwnId] = useState(0);
useEffect(() => {
load("user_id").then(setOwnId);
}, [load]);
// Fullscreen stuff
const callIsPopout = useCall((state) => state.callIsPopout);
const callIsFullscreen = useCall((state) => state.callIsFullscreen);
@ -122,7 +129,7 @@ export default function Actions() {
iconSize={sharedIconSize}
tooltip="Invite"
/>
{isWatchingFocusedStream ? (
{isWatchingFocusedStream && focusedParticipantId !== ownId ? (
<Tooltip>
<TooltipTrigger
render={