Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

feat: add collapsible desktop sidebar (#958)

Victor Hugo dos Santos83c48f78a9f1
diff --git a/frontend/src/components/app-layout.tsx b/frontend/src/components/app-layout.tsx
index ea3ec7fd..88efb2cd 100644
--- a/frontend/src/components/app-layout.tsx
+++ b/frontend/src/components/app-layout.tsx
@@ -36,6 +36,7 @@ import { WorkspaceSwitcher } from '@/components/workspace-switcher'
import { navItems, visibleNavItems, type NavItem } from '@/lib/nav-items'
import {
Menu,
+ ChevronLeft,
ChevronRight,
Eye,
EyeOff,
@@ -63,6 +64,8 @@ import { setThemeBasedOnSystem } from '@/lib/theme-utils'
import { useLocalAuthEnabled } from '@/hooks/use-local-auth'
import { formatCurrency } from '@/lib/format'
+const SIDEBAR_COLLAPSED_STORAGE_KEY = 'securo.sidebar.collapsed'
+
/** Placeholder rows shown while the workspace's module list is in flight. */
function NavSkeleton() {
return (
@@ -93,6 +96,9 @@ export function AppLayout() {
const { theme, setTheme, resolvedTheme } = useTheme()
const location = useLocation()
const [sidebarOpen, setSidebarOpen] = useState(false)
+ const [desktopSidebarCollapsed, setDesktopSidebarCollapsed] = useState(
+ () => localStorage.getItem(SIDEBAR_COLLAPSED_STORAGE_KEY) === 'true',
+ )
const [accountsExpanded, setAccountsExpanded] = useState(true)
const [accountsShowAll, setAccountsShowAll] = useState(false)
const { privacyMode, togglePrivacyMode, mask } = usePrivacyMode()
@@ -177,6 +183,13 @@ export function AppLayout() {
: typeof window !== 'undefined' &&
window.matchMedia?.('(prefers-color-scheme: dark)').matches
const toggleTheme = () => setTheme(isDark ? 'light' : 'dark')
+ const toggleDesktopSidebar = () => {
+ setDesktopSidebarCollapsed((collapsed) => {
+ const next = !collapsed
+ localStorage.setItem(SIDEBAR_COLLAPSED_STORAGE_KEY, String(next))
+ return next
+ })
+ }
const { data: accountsList } = useQuery({
queryKey: ['accounts'],
@@ -286,15 +299,24 @@ export function AppLayout() {
{/* Sidebar */}
<aside
+ data-collapsed={desktopSidebarCollapsed}
className={cn(
- 'fixed inset-y-0 left-0 z-50 w-60 bg-sidebar border-r border-sidebar-border flex flex-col transform transition-transform lg:translate-x-0 shrink-0',
+ 'group/sidebar fixed inset-y-0 left-0 z-50 w-60 bg-sidebar border-r border-sidebar-border flex flex-col transform transition-[transform,width] duration-300 ease-in-out motion-reduce:transition-none lg:translate-x-0 shrink-0',
sidebarOpen ? 'translate-x-0' : '-translate-x-full',
+ desktopSidebarCollapsed ? 'lg:w-16' : 'lg:w-60',
)}
>
{/* Logo — clickable link to the dashboard. Replaces the
dedicated 'Painel' nav item so the sidebar stays focused
on the main destinations. */}
- <div className="flex h-16 min-h-16 items-center justify-between px-5 border-b border-sidebar-border shrink-0">
+ {/* Collapsed on desktop, the header becomes a column: logo on
+ top, then the same privacy / chat / theme buttons stacked,
+ so nothing the expanded header offers goes missing in the
+ rail. */}
+ <div className={cn(
+ 'flex h-16 min-h-16 items-center justify-between px-5 border-b border-sidebar-border shrink-0',
+ desktopSidebarCollapsed && 'lg:h-auto lg:min-h-0 lg:flex-col lg:justify-center lg:gap-2 lg:px-0 lg:py-3',
+ )}>
<Link
to="/"
className="flex items-center gap-2.5 -mx-1 px-1 py-1 rounded-md hover:bg-sidebar-accent transition-colors"
@@ -303,14 +325,23 @@ export function AppLayout() {
title={t('nav.dashboard')}
>
<ShellLogo size={24} className="text-primary shrink-0" />
- <span className="font-bold text-lg text-sidebar-foreground tracking-tight">
+ <span className={cn(
+ 'font-bold text-lg text-sidebar-foreground tracking-tight',
+ desktopSidebarCollapsed && 'lg:hidden',
+ )}>
{t('app.name')}
</span>
</Link>
- <div className="flex items-center gap-0.5">
+ <div className={cn(
+ 'flex items-center gap-0.5',
+ desktopSidebarCollapsed && 'lg:flex-col lg:gap-1',
+ )}>
<button
onClick={togglePrivacyMode}
- className="text-sidebar-muted hover:text-sidebar-foreground transition-colors p-1 rounded-md hover:bg-sidebar-accent"
+ className={cn(
+ 'text-sidebar-muted hover:text-sidebar-foreground transition-colors p-1 rounded-md hover:bg-sidebar-accent',
+ desktopSidebarCollapsed && 'lg:flex lg:h-9 lg:w-9 lg:items-center lg:justify-center lg:p-0 lg:[&>svg]:h-[18px] lg:[&>svg]:w-[18px]',
+ )}
title={privacyMode ? t('privacy.show') : t('privacy.hide')}
aria-label={privacyMode ? t('privacy.show') : t('privacy.hide')}
>
@@ -322,7 +353,10 @@ export function AppLayout() {
{chatAvailable && (
<button
onClick={() => setChatOpen(true)}
- className="text-sidebar-muted hover:text-sidebar-foreground transition-colors p-1 rounded-md hover:bg-sidebar-accent"
+ className={cn(
+ 'text-sidebar-muted hover:text-sidebar-foreground transition-colors p-1 rounded-md hover:bg-sidebar-accent',
+ desktopSidebarCollapsed && 'lg:flex lg:h-9 lg:w-9 lg:items-center lg:justify-center lg:p-0 lg:[&>svg]:h-[18px] lg:[&>svg]:w-[18px]',
+ )}
title={`${t('agents.globalChat.title', 'Chat')} (${isMac ? '⌘J' : 'Ctrl+J'})`}
aria-label={t('agents.globalChat.openHint', 'Open chat (⌘J)')}
>
@@ -331,7 +365,10 @@ export function AppLayout() {
)}
<button
onClick={toggleTheme}
- className="text-sidebar-muted hover:text-sidebar-foreground transition-colors p-1 rounded-md hover:bg-sidebar-accent"
+ className={cn(
+ 'text-sidebar-muted hover:text-sidebar-foreground transition-colors p-1 rounded-md hover:bg-sidebar-accent',
+ desktopSidebarCollapsed && 'lg:flex lg:h-9 lg:w-9 lg:items-center lg:justify-center lg:p-0 lg:[&>svg]:h-[18px] lg:[&>svg]:w-[18px]',
+ )}
title={
isDark ? t('settings.themeLight') : t('settings.themeDark')
}
@@ -344,8 +381,23 @@ export function AppLayout() {
</div>
</div>
+ {/* The collapse handle sits on the sidebar's edge, halfway out,
+ vertically centred in the viewport: the border is the thing
+ that moves, so that is where the control lives. Shown on
+ hover and on keyboard focus so it never crowds the header. */}
+ <button
+ type="button"
+ onClick={toggleDesktopSidebar}
+ className="hidden lg:flex absolute top-1/2 -right-3 -translate-y-1/2 h-6 w-6 items-center justify-center rounded-full border border-border bg-card text-muted-foreground shadow-sm opacity-0 transition-opacity hover:text-foreground focus-visible:opacity-100 group-hover/sidebar:opacity-100"
+ title={desktopSidebarCollapsed ? t('nav.expandSidebar') : t('nav.collapseSidebar')}
+ aria-label={desktopSidebarCollapsed ? t('nav.expandSidebar') : t('nav.collapseSidebar')}
+ aria-expanded={!desktopSidebarCollapsed}
+ >
+ {desktopSidebarCollapsed ? <ChevronRight size={14} /> : <ChevronLeft size={14} />}
+ </button>
+
{/* Command palette trigger */}
- <div className="px-3 pt-3">
+ <div className={cn('px-3 pt-3', desktopSidebarCollapsed && 'lg:px-2')}>
<button
type="button"
onClick={() => setPaletteOpen(true)}
@@ -353,12 +405,13 @@ export function AppLayout() {
'group flex w-full items-center gap-2 rounded-lg border border-sidebar-border/80 bg-sidebar-accent/40 px-3 py-2',
'text-[12.5px] text-sidebar-muted transition-all',
'hover:bg-sidebar-accent hover:text-sidebar-foreground hover:border-sidebar-border',
+ desktopSidebarCollapsed && 'lg:justify-center lg:px-0',
)}
aria-label={t('cmdk.triggerAria')}
>
<Search size={13} className="shrink-0" />
- <span className="flex-1 text-left">{t('cmdk.triggerLabel')}</span>
- <kbd className="hidden lg:inline-flex h-[17px] items-center rounded border border-sidebar-border bg-sidebar px-1 font-mono text-[9.5px] font-semibold text-sidebar-muted/80">
+ <span className={cn('flex-1 text-left', desktopSidebarCollapsed && 'lg:hidden')}>{t('cmdk.triggerLabel')}</span>
+ <kbd className={cn('hidden lg:inline-flex h-[17px] items-center rounded border border-sidebar-border bg-sidebar px-1 font-mono text-[9.5px] font-semibold text-sidebar-muted/80', desktopSidebarCollapsed && 'lg:hidden')}>
{isMac ? '⌘' : 'Ctrl'}&nbsp;K
</kbd>
</button>
@@ -366,7 +419,7 @@ export function AppLayout() {
<div className="flex-1 min-h-0 overflow-y-auto">
{/* Nav */}
- <nav className="flex flex-col gap-0.5 px-3 pt-1 pb-3" data-tour="sidebar">
+ <nav className={cn('flex flex-col gap-0.5 px-3 pt-1 pb-3', desktopSidebarCollapsed && 'lg:items-center lg:gap-1 lg:px-0 lg:pt-3')} data-tour="sidebar">
{/* Which modules this workspace shows is resolved server-side,
so until the workspace list lands there is no honest answer
— a placeholder beats both an empty sidebar and a guess. */}
@@ -379,7 +432,10 @@ export function AppLayout() {
// from the search trigger.
const isFirstSep = idx === 0
return (
- <div key={`sep-${idx}`} className={cn(isFirstSep ? 'pt-1 pb-1 px-3' : 'pt-3 pb-1 px-3')}>
+ <div key={`sep-${idx}`} className={cn(
+ isFirstSep ? 'pt-1 pb-1 px-3' : 'pt-3 pb-1 px-3',
+ desktopSidebarCollapsed && 'lg:hidden',
+ )}>
<span className="text-[10px] uppercase tracking-[0.12em] font-semibold text-sidebar-muted/50">
{t(item.labelKey)}
</span>
@@ -398,11 +454,14 @@ export function AppLayout() {
to={item.path}
data-tour={`nav-${item.key}`}
onClick={() => setSidebarOpen(false)}
+ title={t(`nav.${item.key}`)}
+ aria-label={t(`nav.${item.key}`)}
className={cn(
'flex items-center gap-3 text-[13px] font-medium transition-all rounded-lg px-3 py-2',
isActive
? 'bg-primary/[0.08] text-primary border-l-[3px] border-primary pl-[9px]'
: 'text-sidebar-muted hover:bg-sidebar-accent hover:text-sidebar-foreground',
+ desktopSidebarCollapsed && 'lg:h-10 lg:w-10 lg:justify-center lg:border-l-0 lg:px-0 lg:pl-0',
)}
>
<Icon
@@ -410,9 +469,10 @@ export function AppLayout() {
className={cn(
'shrink-0',
isActive ? 'text-primary' : 'text-sidebar-muted',
+ desktopSidebarCollapsed && 'lg:h-5 lg:w-5',
)}
/>
- <span>{t(`nav.${item.key}`)}</span>
+ <span className={cn(desktopSidebarCollapsed && 'lg:hidden')}>{t(`nav.${item.key}`)}</span>
</Link>
)
})}
@@ -420,7 +480,7 @@ export function AppLayout() {
{/* Account list in sidebar */}
{allAccounts.length > 0 && (
- <div className="px-3 pb-2 mt-2">
+ <div className={cn('px-3 pb-2 mt-2', desktopSidebarCollapsed && 'lg:hidden')}>
<button
onClick={() => setAccountsExpanded(!accountsExpanded)}
className="flex items-center justify-between w-full px-3 py-2 hover:text-sidebar-foreground transition-colors"
@@ -490,14 +550,16 @@ export function AppLayout() {
)}
</div>
- <UpdateAvailableBanner onOpen={() => setUpdateDialogOpen(true)} />
+ <div className={cn(desktopSidebarCollapsed && 'lg:hidden')}>
+ <UpdateAvailableBanner onOpen={() => setUpdateDialogOpen(true)} />
+ </div>
{/* Merged account + workspace menu — one trigger at the
bottom of the sidebar shows the active workspace as the
primary identity, the user email + role as the secondary
line, and combines workspace switching with all the
account actions that used to live in a separate dropdown. */}
- <div className="px-3 pt-1">
+ <div className={cn('px-3 pt-1', desktopSidebarCollapsed && 'lg:px-2')}>
<WorkspaceSwitcher
onChangePassword={() => setChangePasswordOpen(true)}
onTwoFactor={() => setTwoFactorOpen(true)}
@@ -506,10 +568,11 @@ export function AppLayout() {
onBackup={() => setBackupOpen(true)}
onUpdateAvailable={() => setUpdateDialogOpen(true)}
agentsEnabled={agentsEnabled}
+ collapsed={desktopSidebarCollapsed}
/>
</div>
- <div className="px-3 pb-3 pt-1">
+ <div className={cn('px-3 pb-3 pt-1', desktopSidebarCollapsed && 'lg:hidden')}>
<div
className="text-[11px] leading-4 text-sidebar-muted/70 text-center"
role="note"
@@ -523,7 +586,10 @@ export function AppLayout() {
</aside>
{/* Main content */}
- <main className="flex-1 min-h-screen overflow-x-hidden lg:ml-60">
+ <main className={cn(
+ 'flex-1 min-h-screen overflow-x-hidden transition-[margin] duration-300 ease-in-out motion-reduce:transition-none',
+ desktopSidebarCollapsed ? 'lg:ml-16' : 'lg:ml-60',
+ )}>
<div className="p-6 max-w-7xl mx-auto">
{/* Active-collection filter (issue #105): sticky bar above the
content so the scope is visible right where the data is. */}
diff --git a/frontend/src/components/auth-controls.test.tsx b/frontend/src/components/auth-controls.test.tsx
index 1774ff6b..56469829 100644
--- a/frontend/src/components/auth-controls.test.tsx
+++ b/frontend/src/components/auth-controls.test.tsx
@@ -89,6 +89,7 @@ function openMenu(surface: string) {
beforeEach(() => {
vi.clearAllMocks()
+ localStorage.removeItem('securo.sidebar.collapsed')
state.user = { ...state.user, is_2fa_enabled: true }
state.auth.oidcConfig.mockResolvedValue({
enabled: true,
@@ -102,6 +103,32 @@ beforeEach(() => {
state.auth.deletePasskey.mockResolvedValue(undefined)
})
+it('collapses the desktop sidebar and persists the preference', async () => {
+ const { user } = renderWithProviders(<AppLayout />)
+
+ const toggle = screen.getByRole('button', { name: t('nav.collapseSidebar') })
+ expect(toggle).toHaveAttribute('aria-expanded', 'true')
+
+ await user.click(toggle)
+
+ expect(localStorage.getItem('securo.sidebar.collapsed')).toBe('true')
+ expect(screen.getByRole('button', { name: t('nav.expandSidebar') })).toHaveAttribute('aria-expanded', 'false')
+ expect(document.querySelector('aside')).toHaveAttribute('data-collapsed', 'true')
+ expect(document.querySelector('main')).toHaveClass('lg:ml-16')
+
+ await user.click(screen.getByRole('button', { name: /Synthetic workspace/ }))
+ expect(screen.getByRole('menuitem', { name: /Workspace settings/ })).toBeInTheDocument()
+})
+
+it('restores a collapsed desktop sidebar from local storage', () => {
+ localStorage.setItem('securo.sidebar.collapsed', 'true')
+
+ renderWithProviders(<AppLayout />)
+
+ expect(screen.getByRole('button', { name: t('nav.expandSidebar') })).toHaveAttribute('aria-expanded', 'false')
+ expect(document.querySelector('main')).toHaveClass('lg:ml-16')
+})
+
it.each(['desktop', 'mobile'])(
'keeps 2FA and passkey removal reachable from the %s menu in OIDC-only mode',
async (surface) => {
diff --git a/frontend/src/components/workspace-switcher.tsx b/frontend/src/components/workspace-switcher.tsx
index ac4a4033..b4264f79 100644
--- a/frontend/src/components/workspace-switcher.tsx
+++ b/frontend/src/components/workspace-switcher.tsx
@@ -7,6 +7,7 @@ import { useAuth } from '@/contexts/auth-context'
import { useWorkspace } from '@/contexts/workspace-context'
import { workspaces as workspacesApi } from '@/lib/api'
import { resolveSupportedLang } from '@/lib/i18n'
+import { cn } from '@/lib/utils'
import { Button } from '@/components/ui/button'
import { Input } from '@/components/ui/input'
import { Label } from '@/components/ui/label'
@@ -85,6 +86,8 @@ interface AccountMenuProps {
agentsEnabled: boolean
/** True when local password/passkey auth is enabled. */
localAuthEnabled: boolean
+ /** Compact the trigger to its workspace icon on desktop. */
+ collapsed?: boolean
}
/**
@@ -104,6 +107,7 @@ export function WorkspaceSwitcher({
onUpdateAvailable,
agentsEnabled,
localAuthEnabled,
+ collapsed = false,
}: AccountMenuProps) {
const { t, i18n } = useTranslation()
const navigate = useNavigate()
@@ -151,14 +155,21 @@ export function WorkspaceSwitcher({
<>
<DropdownMenu>
<DropdownMenuTrigger asChild>
- <button className="flex items-center gap-3 w-full rounded-lg px-3 py-2.5 text-sm hover:bg-sidebar-accent transition-colors text-left">
+ <button
+ className={cn(
+ 'flex items-center gap-3 w-full rounded-lg px-3 py-2.5 text-sm hover:bg-sidebar-accent transition-colors text-left',
+ collapsed && 'lg:justify-center lg:px-2',
+ )}
+ aria-label={current.name}
+ title={current.name}
+ >
<CategoryIcon
icon={workspaceIcon(current)}
color={workspaceColor(current)}
size="sm"
className="shrink-0"
/>
- <div className="flex-1 min-w-0">
+ <div className={cn('flex-1 min-w-0', collapsed && 'lg:hidden')}>
<p className="text-xs font-semibold truncate">{current.name}</p>
<p className="text-[10px] text-sidebar-muted/70 truncate">
{user.email}
@@ -167,7 +178,7 @@ export function WorkspaceSwitcher({
)}
</p>
</div>
- <ChevronsUpDown size={13} className="text-sidebar-muted/60 shrink-0" />
+ <ChevronsUpDown size={13} className={cn('text-sidebar-muted/60 shrink-0', collapsed && 'lg:hidden')} />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent align="start" className="w-64" side="top">
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json
index ea076bdb..e098775b 100644
--- a/frontend/src/locales/de.json
+++ b/frontend/src/locales/de.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administration",
"groupAgents": "KI",
"agents": "Agenten",
- "aiAgents": "KI-Agenten"
+ "aiAgents": "KI-Agenten",
+ "collapseSidebar": "Seitenleiste einklappen",
+ "expandSidebar": "Seitenleiste ausklappen"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/el.json b/frontend/src/locales/el.json
index 88700ec0..45a20211 100644
--- a/frontend/src/locales/el.json
+++ b/frontend/src/locales/el.json
@@ -126,7 +126,9 @@
"groupAdmin": "Διαχείριση",
"groupAgents": "AI",
"agents": "Βοηθοί",
- "aiAgents": "Βοηθοί AI"
+ "aiAgents": "Βοηθοί AI",
+ "collapseSidebar": "Σύμπτυξη πλευρικής γραμμής",
+ "expandSidebar": "Ανάπτυξη πλευρικής γραμμής"
},
"invoices": {
"title": "Τιμολόγια",
diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json
index a3f6135d..e6f467c0 100644
--- a/frontend/src/locales/en.json
+++ b/frontend/src/locales/en.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administration",
"groupAgents": "AI",
"agents": "Agents",
- "aiAgents": "AI Agents"
+ "aiAgents": "AI Agents",
+ "collapseSidebar": "Collapse sidebar",
+ "expandSidebar": "Expand sidebar"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/es.json b/frontend/src/locales/es.json
index cbba80d4..39ac1f18 100644
--- a/frontend/src/locales/es.json
+++ b/frontend/src/locales/es.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administración",
"groupAgents": "IA",
"agents": "Agentes",
- "aiAgents": "Agentes IA"
+ "aiAgents": "Agentes IA",
+ "collapseSidebar": "Contraer barra lateral",
+ "expandSidebar": "Expandir barra lateral"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/fr.json b/frontend/src/locales/fr.json
index 6c633c76..2d68b734 100644
--- a/frontend/src/locales/fr.json
+++ b/frontend/src/locales/fr.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administration",
"groupAgents": "IA",
"agents": "Agents",
- "aiAgents": "Agents IA"
+ "aiAgents": "Agents IA",
+ "collapseSidebar": "Réduire la barre latérale",
+ "expandSidebar": "Développer la barre latérale"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/hi.json b/frontend/src/locales/hi.json
index fbb1f9fa..a23612c8 100644
--- a/frontend/src/locales/hi.json
+++ b/frontend/src/locales/hi.json
@@ -126,7 +126,9 @@
"groupAdmin": "प्रशासन",
"groupAgents": "AI",
"agents": "एजेंट",
- "aiAgents": "AI एजेंट"
+ "aiAgents": "AI एजेंट",
+ "collapseSidebar": "साइडबार छोटा करें",
+ "expandSidebar": "साइडबार बड़ा करें"
},
"invoices": {
"title": "इनवॉइस",
diff --git a/frontend/src/locales/it.json b/frontend/src/locales/it.json
index 0f7b4d73..4ddc8cdd 100644
--- a/frontend/src/locales/it.json
+++ b/frontend/src/locales/it.json
@@ -126,7 +126,9 @@
"groupAdmin": "Amministrazione",
"groupAgents": "IA",
"agents": "Agenti",
- "aiAgents": "Agenti IA"
+ "aiAgents": "Agenti IA",
+ "collapseSidebar": "Riduci barra laterale",
+ "expandSidebar": "Espandi barra laterale"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/ja.json b/frontend/src/locales/ja.json
index f8d1c6dd..874deffb 100644
--- a/frontend/src/locales/ja.json
+++ b/frontend/src/locales/ja.json
@@ -126,7 +126,9 @@
"groupAdmin": "管理",
"groupAgents": "AI",
"agents": "エージェント",
- "aiAgents": "AIエージェント"
+ "aiAgents": "AIエージェント",
+ "collapseSidebar": "サイドバーを折りたたむ",
+ "expandSidebar": "サイドバーを展開する"
},
"invoices": {
"title": "請求書",
diff --git a/frontend/src/locales/nl.json b/frontend/src/locales/nl.json
index 5e5c8957..a3e9077b 100644
--- a/frontend/src/locales/nl.json
+++ b/frontend/src/locales/nl.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administratie",
"groupAgents": "AI",
"agents": "Agents",
- "aiAgents": "AI-agents"
+ "aiAgents": "AI-agents",
+ "collapseSidebar": "Zijbalk inklappen",
+ "expandSidebar": "Zijbalk uitklappen"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/pl.json b/frontend/src/locales/pl.json
index a06bb2ad..fedbe969 100644
--- a/frontend/src/locales/pl.json
+++ b/frontend/src/locales/pl.json
@@ -126,6 +126,8 @@
"groupAgents": "AI",
"agents": "Agenci",
"aiAgents": "Agenci AI",
+ "collapseSidebar": "Zwiń pasek boczny",
+ "expandSidebar": "Rozwiń pasek boczny",
"collections": "Kolekcje"
},
"invoices": {
diff --git a/frontend/src/locales/pt-BR.json b/frontend/src/locales/pt-BR.json
index 9eec4e0c..d1017b81 100644
--- a/frontend/src/locales/pt-BR.json
+++ b/frontend/src/locales/pt-BR.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administração",
"groupAgents": "IA",
"agents": "Agentes",
- "aiAgents": "Agentes IA"
+ "aiAgents": "Agentes IA",
+ "collapseSidebar": "Recolher barra lateral",
+ "expandSidebar": "Expandir barra lateral"
},
"invoices": {
"title": "Cobranças",
diff --git a/frontend/src/locales/pt-PT.json b/frontend/src/locales/pt-PT.json
index 373bb10b..237259f9 100644
--- a/frontend/src/locales/pt-PT.json
+++ b/frontend/src/locales/pt-PT.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administração",
"groupAgents": "IA",
"agents": "Agentes",
- "aiAgents": "Agentes de IA"
+ "aiAgents": "Agentes de IA",
+ "collapseSidebar": "Recolher barra lateral",
+ "expandSidebar": "Expandir barra lateral"
},
"invoices": {
"title": "Cobranças",
diff --git a/frontend/src/locales/ru.json b/frontend/src/locales/ru.json
index aa27d78c..31cf7db2 100644
--- a/frontend/src/locales/ru.json
+++ b/frontend/src/locales/ru.json
@@ -126,7 +126,9 @@
"groupAdmin": "Администрирование",
"groupAgents": "ИИ",
"agents": "Агенты",
- "aiAgents": "ИИ-агенты"
+ "aiAgents": "ИИ-агенты",
+ "collapseSidebar": "Свернуть боковую панель",
+ "expandSidebar": "Развернуть боковую панель"
},
"invoices": {
"title": "Invoices",
diff --git a/frontend/src/locales/sk.json b/frontend/src/locales/sk.json
index 4d3bff97..2b2aec56 100644
--- a/frontend/src/locales/sk.json
+++ b/frontend/src/locales/sk.json
@@ -126,7 +126,9 @@
"groupAdmin": "Administrácia",
"groupAgents": "AI",
"agents": "Agenti",
- "aiAgents": "AI agenti"
+ "aiAgents": "AI agenti",
+ "collapseSidebar": "Zbaliť bočný panel",
+ "expandSidebar": "Rozbaliť bočný panel"
},
"invoices": {
"title": "Faktúry",
diff --git a/frontend/src/locales/uk.json b/frontend/src/locales/uk.json
index beb9f125..2ff5de99 100644
--- a/frontend/src/locales/uk.json
+++ b/frontend/src/locales/uk.json
@@ -126,7 +126,9 @@
"groupAdmin": "Адміністрування",
"groupAgents": "ШІ",
"agents": "Агенти",
- "aiAgents": "ШІ-агенти"
+ "aiAgents": "ШІ-агенти",
+ "collapseSidebar": "Згорнути бічну панель",
+ "expandSidebar": "Розгорнути бічну панель"
},
"invoices": {
"title": "Invoices",