From a55ac9dee488c659375be9337798f280fb0b551e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Sat, 16 May 2026 09:40:00 +0300 Subject: [PATCH] =?UTF-8?q?feat(nav):=20AppSidebar=20=E2=80=94=20=D0=BF?= =?UTF-8?q?=D1=83=D0=BD=D0=BA=D1=82=20=C2=AB=D0=9D=D0=B0=D0=BF=D0=BE=D0=BC?= =?UTF-8?q?=D0=B8=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F=C2=BB=20=D0=B2=20=D0=B3?= =?UTF-8?q?=D1=80=D1=83=D0=BF=D0=BF=D0=B5=20=C2=AB=D0=A0=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=B0=C2=BB=20(audit=20B1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- app/resources/js/components/layout/AppSidebar.vue | 1 + app/tests/Frontend/AppSidebarRedesign.spec.ts | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/app/resources/js/components/layout/AppSidebar.vue b/app/resources/js/components/layout/AppSidebar.vue index 398ec0c3..b0f09455 100644 --- a/app/resources/js/components/layout/AppSidebar.vue +++ b/app/resources/js/components/layout/AppSidebar.vue @@ -35,6 +35,7 @@ const navGroups = computed(() => [ { title: 'Сделки', icon: 'mdi-format-list-bulleted', to: '/deals', count: 247 }, { title: 'Канбан', icon: 'mdi-view-column-outline', to: '/kanban' }, { title: 'Дашборд', icon: 'mdi-view-dashboard-outline', to: '/dashboard' }, + { title: 'Напоминания', icon: 'mdi-bell-outline', to: '/reminders' }, ], }, { diff --git a/app/tests/Frontend/AppSidebarRedesign.spec.ts b/app/tests/Frontend/AppSidebarRedesign.spec.ts index 7a7622c5..407598dc 100644 --- a/app/tests/Frontend/AppSidebarRedesign.spec.ts +++ b/app/tests/Frontend/AppSidebarRedesign.spec.ts @@ -62,4 +62,12 @@ describe('AppSidebar — redesigned shell', () => { const active = items.find((el) => el.classes().includes('ld-nav-item--active')); expect(active).toBeDefined(); }); + + it('содержит пункт «Напоминания» со ссылкой /reminders в группе «Работа»', async () => { + const { wrapper } = await setup(); + const items = wrapper.findAll('a.ld-nav-item'); + const reminders = items.find((a) => a.text().includes('Напоминания')); + expect(reminders).toBeDefined(); + expect(reminders!.attributes('href')).toBe('/reminders'); + }); });