mitgliederverwaltung/lib/mv_web
Simon 16ca4efc03
Some checks failed
continuous-integration/drone/push Build is failing
feat: implement standard-compliant sidebar with comprehensive tests
Implement a new sidebar component based on DaisyUI Drawer pattern without
custom CSS variants. The sidebar supports desktop (expanded/collapsed states)
and mobile (overlay drawer) with full accessibility compliance.

Sidebar Implementation:
- Refactor sidebar component with sidebar_header, menu_item, menu_group,
  sidebar_footer sub-components
- Add logo (mila.svg) with size-8 (32px) always visible
- Implement toggle button with icon swap (chevron-left/right) for desktop
- Add nested menu support with details/summary (expanded) and dropdown
  (collapsed) patterns
- Implement footer with language selector (expanded-only), theme toggle,
  and user menu with avatar
- Update layouts.ex to use drawer pattern with data-sidebar-expanded
  attribute for state management

CSS & JavaScript:
- Add CSS styles for sidebar state management via data-attribute selectors
- Implement SidebarState JavaScript hook for localStorage persistence
- Add smooth width transitions (w-64 ↔ w-16) for desktop collapsed state
- Add CSS classes for expanded-only, menu-label, and icon visibility

Documentation:
- Add sidebar-analysis-current-state.md: Analysis of current implementation
- Add sidebar-requirements-v2.md: Complete specification for new sidebar
- Add daisyui-drawer-pattern.md: DaisyUI pattern documentation
- Add umsetzung-sidebar.md: Step-by-step implementation guide

Testing:
- Add comprehensive component tests for all sidebar sub-components
- Add integration tests for sidebar state management and mobile drawer
- Extend accessibility tests (ARIA labels, roles, keyboard navigation)
- Add regression tests for duplicate IDs, hover effects, and tooltips
- Ensure full test coverage per specification requirements
2025-12-18 16:36:16 +01:00
..
components feat: implement standard-compliant sidebar with comprehensive tests 2025-12-18 16:36:16 +01:00
controllers refactor and docs 2025-11-13 16:33:29 +01:00
helpers Show dates in european format 2025-12-03 14:20:14 +01:00
live Merge branch 'main' into feature/223_member_checkbox 2025-12-08 11:43:54 +01:00
auth_overrides.ex docs: enable Credo ModuleDoc check and fix remaining modules 2025-11-13 11:20:33 +01:00
endpoint.ex Fix postgres errors when running tests 2025-12-03 14:47:58 +01:00
gettext.ex Add generated starter app 2025-03-18 15:05:27 +01:00
live_helpers.ex docs: enable Credo ModuleDoc check and fix remaining modules 2025-11-13 11:20:33 +01:00
live_user_auth.ex style: fix linting errors 2025-09-29 16:41:46 +02:00
locale_controller.ex refactor and docs 2025-11-13 16:33:29 +01:00
router.ex Move custom fields to global admin settings 2025-12-03 16:32:40 +01:00
telemetry.ex Add generated starter app 2025-03-18 15:05:27 +01:00