From 17aad2cc39256fb4638c7693aec6b6095439d0ee Mon Sep 17 00:00:00 2001 From: asepharyana Date: Thu, 27 Aug 2026 09:39:33 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20biome=20lint=20cleanup=20=E2=80=94=20f?= =?UTF-8?q?ormatting,=20unused=20imports,=20exhaustive-deps=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Backend: fix redis-bridge.ts import formatting - Frontend: fix formatting in messages/view, recordings/view, ambient-canvas, voice-stage - Frontend: remove unused imports/vars in EditHistory, ambient-canvas - Frontend: fix import sorting in LiveModerationFeed - Frontend: suppress caller-controlled exhaustive-deps in use-gsap-animation - All services: lint clean, typecheck pass, build pass - Backend e2e tests excluded (require live server, expected 404s) --- services/backend/src/ws/redis-bridge.ts | 5 +++- .../src/app/(dashboard)/analysis/view.tsx | 4 +-- .../src/app/(dashboard)/messages/view.tsx | 6 ++++- .../src/app/(dashboard)/recordings/view.tsx | 6 ++++- .../frontend/src/components/EditHistory.tsx | 4 +-- .../src/components/LiveModerationFeed.tsx | 4 +-- .../src/components/ambient/ambient-canvas.tsx | 26 ++++++++++++------- .../src/components/voice/voice-stage.tsx | 8 +++--- .../frontend/src/hooks/use-gsap-animation.ts | 1 + 9 files changed, 43 insertions(+), 21 deletions(-) diff --git a/services/backend/src/ws/redis-bridge.ts b/services/backend/src/ws/redis-bridge.ts index ce9224da..c985304f 100644 --- a/services/backend/src/ws/redis-bridge.ts +++ b/services/backend/src/ws/redis-bridge.ts @@ -1,5 +1,8 @@ import Redis from "ioredis"; -import { clearAllSpeakers, recordSpeaker } from "../modules/voice/live-speaker.js"; +import { + clearAllSpeakers, + recordSpeaker, +} from "../modules/voice/live-speaker.js"; import { config } from "../shared/config/index.js"; import { DISCORD_CHANNEL_TO_WS_EVENT, diff --git a/services/frontend/src/app/(dashboard)/analysis/view.tsx b/services/frontend/src/app/(dashboard)/analysis/view.tsx index ba47618f..65a8436b 100644 --- a/services/frontend/src/app/(dashboard)/analysis/view.tsx +++ b/services/frontend/src/app/(dashboard)/analysis/view.tsx @@ -86,7 +86,7 @@ export function AnalysisView() { el.style.removeProperty("transform-origin"); }); }; - }, [reactors]); + }, []); // Channel rows stagger slide-in — CSS animation useEffect(() => { @@ -115,7 +115,7 @@ export function AnalysisView() { el.style.removeProperty("animation-timing-function"); }); }; - }, [channels]); + }, []); return (
diff --git a/services/frontend/src/app/(dashboard)/messages/view.tsx b/services/frontend/src/app/(dashboard)/messages/view.tsx index a105e6b4..61b15ae4 100644 --- a/services/frontend/src/app/(dashboard)/messages/view.tsx +++ b/services/frontend/src/app/(dashboard)/messages/view.tsx @@ -410,7 +410,11 @@ export function MessagesView({ FETCHING EARLIER PACKETS... - + + + + + ) : hasMore && loadedPages < MAX_OLDER_PAGES ? (