zed/assets
Oleksiy Syvokon 38e1d19e06
agent_ui: Simplify thread scrolling with keyboard (#53547)
This change allows using simple navigation keys (PageDown / PageUp /
Ctrl-Home / Ctrl-End) when the message editor is focused, but only if
the cursor is at the beginning/end of the message, where pressing these
keys would normally result in no-op.

One important corollary is that when the cursor is in an empty message,
navigation keys scroll the thread.

We already have this behavior for Up/Down and this change just expands
it for other navigation keys.

Demo:


[Demo](https://github.com/user-attachments/assets/ff540c8c-a223-417b-b16a-b0d08599b1ae)



Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
2026-04-13 12:27:54 +03:00
..
badge Adjust Zed badge (#35294) 2025-07-29 15:09:31 -04:00
fonts Use semibold (#47725) 2026-01-27 08:50:52 -07:00
icons recent_projects: Make the currently active project visible in the picker (#53302) 2026-04-07 12:44:19 -03:00
images Add onboarding for parallel agents (#52940) 2026-04-07 22:05:43 -03:00
keymaps agent_ui: Simplify thread scrolling with keyboard (#53547) 2026-04-13 12:27:54 +03:00
prompts A couple new inline assistant tests (#45049) 2025-12-17 13:02:03 -08:00
settings editor: Add configurable hover delay (#53504) 2026-04-13 09:46:19 +03:00
sounds call: Play a different sound when a guest joins (#38987) 2025-09-27 09:20:55 -04:00
themes languages: Fix C/C++ preprocessor directive highlight regression (#49031) 2026-04-02 13:24:15 +00:00