feat: Add component strucutre for calls and super basic livekit implementation

This commit is contained in:
Alois 2026-04-07 01:40:53 +02:00
commit b7266da61f
20 changed files with 284 additions and 45 deletions

View file

@ -16,7 +16,9 @@
"build:desktop:raw": "tauri build",
"dev:desktop": "if command -v nix >/dev/null 2>&1; then nix develop --command bun dev:desktop:raw; else bun dev:desktop:raw; fi",
"build:desktop": "if command -v nix >/dev/null 2>&1; then nix develop --command bun build:desktop:raw; else bun build:desktop:raw; fi",
"gen-icons": "tauri icon ./logo.png"
"gen-icons": "tauri icon ./logo.png",
"format": "bunx prettier --write .",
"lint": "eslint src"
},
"dependencies": {
"@tauri-apps/api": "^2",

View file

@ -1,5 +1,5 @@
import { Maximize, Minus, X } from "lucide-react";
import { Button, buttonVariants } from "@tensamin/ui/cmp/button";
import { Button } from "@tensamin/ui/cmp/button";
import { isTauri } from "@tauri-apps/api/core";
import { getCurrentWindow } from "@tauri-apps/api/window";

View file

@ -12,6 +12,8 @@ import { useIsMobile } from "@tensamin/ui/utils";
import { MobileNavbar } from "./navbar";
import { useLocation } from "@tanstack/react-router";
import SidebarBox from "@tensamin/call/sidebarBox";
/**
* Renders the conversation sidebar with account summary and conversation list.
* @returns Sidebar JSX.
@ -45,6 +47,11 @@ export default function Sidebar() {
<MobileNavbar />
</SidebarFooter>
)}
{!isMobile && (
<SidebarFooter>
<SidebarBox />
</SidebarFooter>
)}
</SidebarRoot>
);
}