-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve multibuffer excerpt affordances (#22167)
Changes: - [x] Increase expand affordance surface area - [x] Ensure expand buttons have tooltips with keybindings - [x] Make line numbers clickable to jump you to location (only in multibuffers) - [x] Hide the "Jump To File" element in not-focused excerpts Before merging it: - [x] Fix off-by-one header focus styles glitch Improvements to consider for follow-up PRs: 1. Experiment with increasing the width of the clickable surface area for line numbers 2. Don't show (or disable) the "expand excerpt" button when at the top or bottom edge of the file 3. Once you jump to location, centralize the cursor scroll position Release Notes: - Improved multibuffer's "expand excerpt" affordance - Fixed "jump to file/location" and "expand excerpt" keybinding display - Made clicking on line numbers in multibuffers jump you to cursor location in file --------- Co-authored-by: Thorsten Ball <mrnugget@gmail.com> Co-authored-by: Agus Zubiaga <hi@aguz.me> Co-authored-by: Kirill Bulatov <kirill@zed.dev> Co-authored-by: Agus Zubiaga <agus@zed.dev>
- Loading branch information
1 parent
3f33ca0
commit ad51df7
Showing
6 changed files
with
510 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.