fix(ui): refine mobile sidebar layout (#1100)

This commit is contained in:
Alex
2026-05-04 13:01:30 +01:00
committed by GitHub
parent b2285131fb
commit 0d1a4ca930
14 changed files with 29 additions and 21 deletions
@@ -11,6 +11,7 @@ describe('AppMenuSectionComponent', () => {
const layoutService = {
sidebarCollapsed: signal(false),
isDesktop: signal(true),
sidebarExpandedState: signal<Readonly<Record<string, boolean>>>({}),
isSidebarExpanded: vi.fn((key: string, defaultExpanded: boolean) => {
const value = layoutService.sidebarExpandedState()[key];
@@ -37,6 +38,8 @@ describe('AppMenuSectionComponent', () => {
component = fixture.componentInstance;
layoutService.sidebarExpandedState.set({});
layoutService.sidebarCollapsed.set(false);
layoutService.isDesktop.set(true);
layoutService.isSidebarExpanded.mockClear();
layoutService.setSidebarExpanded.mockClear();
});