From 1e1eb56185af8d40ddcd207e210609b762dc85f1 Mon Sep 17 00:00:00 2001 From: taylanbakircioglu Date: Sun, 29 Mar 2026 23:12:35 +0300 Subject: [PATCH] feat: display app version in sidebar footer Made-with: Cursor --- frontend/src/components/Layout/Sidebar.tsx | 20 +++++++++++++++++++- frontend/src/version.ts | 7 ------- version.json | 5 +---- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/Layout/Sidebar.tsx b/frontend/src/components/Layout/Sidebar.tsx index f8f4fc5..5ff6241 100644 --- a/frontend/src/components/Layout/Sidebar.tsx +++ b/frontend/src/components/Layout/Sidebar.tsx @@ -21,6 +21,7 @@ import { } from '@ant-design/icons'; import FlowfishLogo from '../FlowfishLogo'; import type { MenuProps } from 'antd'; +import { APP_VERSION } from '../../version'; const { Sider } = Layout; @@ -218,6 +219,8 @@ const Sidebar: React.FC = ({ collapsed }) => { left: 0, top: 0, bottom: 0, + display: 'flex', + flexDirection: 'column', }} > {/* Logo */} @@ -257,9 +260,24 @@ const Sidebar: React.FC = ({ collapsed }) => { items={menuItems} style={{ borderRight: 0, + flex: 1, }} /> - + +
+ {collapsed ? `v${APP_VERSION}` : `Flowfish v${APP_VERSION}`} +
+ {/* Fix for text wrapping issue on smaller screens */}