-
-
Notifications
You must be signed in to change notification settings - Fork 52
refactor: replace custom sheet with drawer component #726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
14 files reviewed, 3 comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional Comments (1)
-
frontend/src/lib/components/ui/sidebar/sidebar-menu-button.svelte, line 15 (link)syntax: Inconsistent important syntax - should use
!p-0instead ofp-0!to match other declarations
11 files reviewed, 3 comments
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
Greptile Overview
Updated On: 2025-10-17 04:41:33 UTC
Greptile Summary
This review covers only the changes made since the last review, not the entire PR. The latest changes expand the drawer/sheet refactoring to include significant backend and frontend improvements for sidebar configuration management. New changes add a
SidebarHoverExpansionsetting that's fully integrated across the entire stack - from database models and DTOs to frontend components. The mobile navigation gets defensive null checking for configuration properties to prevent runtime errors when settings haven't loaded yet. Sidebar navigation is enhanced with improved collapsed state behavior, tooltip functionality for the environment switcher, and better hover expansion logic. The changes maintain backward compatibility while adding user-configurable navigation preferences that sync between frontend and backend.Important Files Changed
Changed Files
backend/internal/dto/settings_dto.gobackend/internal/models/settings.gobackend/internal/services/settings_service.gofrontend/src/lib/types/settings.type.tsfrontend/src/routes/settings/navigation/+page.sveltefrontend/src/lib/components/ui/sidebar/sidebar-provider.sveltefrontend/src/lib/components/sidebar/sidebar-env-switcher.sveltefrontend/src/lib/components/sidebar/sidebar-itemgroup.sveltefrontend/src/lib/components/ui/sidebar/sidebar-menu-button.sveltefrontend/src/lib/components/mobile-nav/mobile-nav.sveltefrontend/src/lib/components/mobile-nav/mobile-nav-sheet.svelteConfidence score: 4/5
frontend/src/lib/components/ui/sidebar/sidebar-provider.sveltefor settings synchronization timing andfrontend/src/lib/components/mobile-nav/mobile-nav.sveltefor null handling completeness