From c7b0b0462d30c6defd9605de5fb3ca9daa37a774 Mon Sep 17 00:00:00 2001 From: Ricky Stretch Date: Tue, 17 Mar 2026 12:22:46 -0400 Subject: [PATCH] v0.9.50 fixed page not loading bug --- .env.example | 2 +- backend/package.json | 2 +- build.sh | 2 +- frontend/package.json | 2 +- frontend/src/components/Sidebar.jsx | 16 ---------------- 5 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.env.example b/.env.example index 5f93453..db8c0f0 100644 --- a/.env.example +++ b/.env.example @@ -10,7 +10,7 @@ PROJECT_NAME=jama # Image version to run (set by build.sh, or use 'latest') -JAMA_VERSION=0.9.49 +JAMA_VERSION=0.9.50 # App port — the host port Docker maps to the container PORT=3000 diff --git a/backend/package.json b/backend/package.json index 27fe239..5b17e7d 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "jama-backend", - "version": "0.9.49", + "version": "0.9.50", "description": "TeamChat backend server", "main": "src/index.js", "scripts": { diff --git a/build.sh b/build.sh index 3b7753e..6905578 100644 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ # ───────────────────────────────────────────────────────────── set -euo pipefail -VERSION="${1:-0.9.49}" +VERSION="${1:-0.9.50}" ACTION="${2:-}" REGISTRY="${REGISTRY:-}" IMAGE_NAME="jama" diff --git a/frontend/package.json b/frontend/package.json index 3469814..81bafa9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "jama-frontend", - "version": "0.9.49", + "version": "0.9.50", "private": true, "scripts": { "dev": "vite", diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx index d08f913..cd25046 100644 --- a/frontend/src/components/Sidebar.jsx +++ b/frontend/src/components/Sidebar.jsx @@ -49,22 +49,6 @@ export default function Sidebar({ groups, activeGroupId, onSelectGroup, notifica const toast = useToast(); const settings = useAppSettings(); - useEffect(() => { - if (!showMenu) return; - const handler = (e) => { - if (menuRef.current && !menuRef.current.contains(e.target) && - footerBtnRef.current && !footerBtnRef.current.contains(e.target)) { - setShowMenu(false); - } - }; - document.addEventListener('mousedown', handler); - document.addEventListener('touchstart', handler); - return () => { - document.removeEventListener('mousedown', handler); - document.removeEventListener('touchstart', handler); - }; - }, [showMenu]); - const allGroups = [ ...(groups.publicGroups || []), ...(groups.privateGroups || [])