mirror of
https://github.com/zed-industries/zed.git
synced 2026-10-19 11:04:06 +00:00
## Summary Closes #65156. Update the settings sidebar selection when scrolling through subsections. Allow the final short subsections to scroll into position, and update selection as the next header's surrounding region reaches the top of the content viewport. ## Testing - Built and ran Zed locally on Windows; manually verified by the contributor. - Passed 9 navbar tests and the settings content viewport regression test. - Passed `cargo fmt --package settings_ui -- --check` and `git diff --check`. To reproduce: open Settings, expand Window & Layout, and scroll the content down and back up. Check that the sidebar follows the visible subsection, including Pane Modifiers and Pane Split Direction at the end. Clicking a sidebar subsection should still scroll to it. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. ### Settings sidebar follows scrolling https://github.com/user-attachments/assets/eaf298c5-ef50-4741-a90a-066120ae313a Release Notes: - Fixed settings sidebar selection to follow scrolling through settings --------- Co-authored-by: Kirill Bulatov <kirill@zed.dev> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE-GPL | ||