From 2f3e10d8162a0859bd270290a292099d93b545b8 Mon Sep 17 00:00:00 2001 From: Rasensprenger Date: Tue, 1 Sep 2026 00:00:33 +0300 Subject: [PATCH 1/3] chore(deps): update rust crate base64 to 0.23 --- apps/tauri/src-tauri/Cargo.lock | 2 +- apps/tauri/src-tauri/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tauri/src-tauri/Cargo.lock b/apps/tauri/src-tauri/Cargo.lock index d404d61..cdc1332 100644 --- a/apps/tauri/src-tauri/Cargo.lock +++ b/apps/tauri/src-tauri/Cargo.lock @@ -5139,7 +5139,7 @@ dependencies = [ name = "tensamin" version = "0.0.0" dependencies = [ - "base64 0.22.1", + "base64 0.23.1", "jni 0.22.4", "mtp", "reqwest", diff --git a/apps/tauri/src-tauri/Cargo.toml b/apps/tauri/src-tauri/Cargo.toml index 2a68e95..69fbe80 100644 --- a/apps/tauri/src-tauri/Cargo.toml +++ b/apps/tauri/src-tauri/Cargo.toml @@ -21,7 +21,7 @@ tauri-build = { git = "https://github.com/tauri-apps/tauri", rev = "4af26a3f7f8b tauri-plugin-opener = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" -base64 = "0.22" +base64 = "0.23" reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] } tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] } mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "a5c8d4f0c898c78351e9d54124886c86e789a22a", features = ["client", "crypto"] } From e0c2331af31fc01a2483843b8e7279d575f450fd Mon Sep 17 00:00:00 2001 From: Alois Date: Mon, 31 Aug 2026 23:09:02 +0200 Subject: [PATCH 2/3] perf(react): remove lazy imports again --- apps/web/src/components/callPopout.tsx | 11 +--- apps/web/src/components/callSidebarBox.tsx | 11 +--- apps/web/src/components/navbar.tsx | 26 ++++----- apps/web/src/index.tsx | 25 +++------ apps/web/src/routes/app/shell.tsx | 7 +-- packages/chat/src/components/input.tsx | 62 +++++++++------------- packages/chat/src/components/message.tsx | 29 +++++----- packages/settings/src/manifest.ts | 32 +++++++---- 8 files changed, 82 insertions(+), 121 deletions(-) diff --git a/apps/web/src/components/callPopout.tsx b/apps/web/src/components/callPopout.tsx index 79d5fb7..bbe0f91 100644 --- a/apps/web/src/components/callPopout.tsx +++ b/apps/web/src/components/callPopout.tsx @@ -1,15 +1,8 @@ -import { lazy, Suspense } from "react"; - import { useCall } from "@tensamin/call/state"; - -const Popout = lazy(() => import("@tensamin/call/popout")); +import Popout from "@tensamin/call/popout"; export default function CallPopout() { const active = useCall((state) => state.state !== "closed"); - return active ? ( - - - - ) : null; + return active ? : null; } diff --git a/apps/web/src/components/callSidebarBox.tsx b/apps/web/src/components/callSidebarBox.tsx index 5480af2..89d7905 100644 --- a/apps/web/src/components/callSidebarBox.tsx +++ b/apps/web/src/components/callSidebarBox.tsx @@ -1,15 +1,8 @@ -import { lazy, Suspense } from "react"; - import { useCall } from "@tensamin/call/state"; - -const SidebarBox = lazy(() => import("@tensamin/call/sidebarBox")); +import SidebarBox from "@tensamin/call/sidebarBox"; export default function CallSidebarBox() { const active = useCall((state) => state.state !== "closed"); - return active ? ( - - - - ) : null; + return active ? : null; } diff --git a/apps/web/src/components/navbar.tsx b/apps/web/src/components/navbar.tsx index 19c367f..e980a0d 100644 --- a/apps/web/src/components/navbar.tsx +++ b/apps/web/src/components/navbar.tsx @@ -28,6 +28,7 @@ import { useState } from "react"; import { SidebarTrigger, useSidebar } from "@methanium/ui"; import { WindowControls as Controls } from "@methanium/ui"; import { useSession } from "@tensamin/identity/session"; +import { joinCall } from "@tensamin/call/store"; import Profile from "./modals/profile"; export default function Navbar({ forMobile }: { forMobile: boolean }) { @@ -139,11 +140,7 @@ export default function Navbar({ forMobile }: { forMobile: boolean }) { {currentCalls.length === 0 ? (