You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ssr): narrow sidebar padding state type and subscribe once
Address Copilot review on PR #16:
- Type sidebarPaddingState$ as the 'hidden' | 'unpinned' | 'pinned' union
instead of string, for template type-safety.
- Collapse the three `sidebarPaddingState$ | async` template evaluations into
a single `[ngClass]` stream (outerWrapperNgClass$) so the observable and its
sources are subscribed once. Seeded startWith('hidden') so the browser/OS
classes never wait on the sidebar stream's first emit.
Behavior-preserving: same ds-admin-sidebar-* classes, same CSS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments