Enable resizable, scrollable shadcn sidebars #122
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Description
src/App.tsx, and applied those widths via CSS variables to the shell grid layout.SidebarSectioncontents independently scrollable and added resizer elements with accessible roles and hover affordances insrc/styles.css.SidebarSectioncomponent atsrc/ui/SidebarSection.tsxfor collapsible nested sections and applied shadcn-like surface tokens and responsive rules tosrc/styles.css.memory/*) to record the resizable/scrollable sidebar work and fixed small TS typing imports (CSSProperties/ReactMouseEvent) to satisfy the new inline style and handler types.Testing
pnpm typecheck, which failed because the generated WASM bridge modulesrc/gen/rust_engineis not present in this environment, producing import resolution errors.pnpm lint, which surfaced preexistingwasmLoaderunsafe-assignment warnings (these are unrelated to the sidebar changes and remain to be addressed separately).pnpm test; the test run executed the suite (many unit tests passed), but multiple wasm-related suites failed due to the missingsrc/gen/rust_engineartifact and Vite import resolution; attempted UI screenshot capture also failed because the WASM/browser environment could not be fully exercised.Codex Task