Commit Graph
253 Commits
Author SHA1 Message Date
Mikayla Maki da143ae46a made git diff rendering respect line wrap 2022-10-02 18:00:13 -07:00
Mikayla Maki 63747c8fee made git stuff slightly more themable 2022-09-29 13:16:02 -04:00
Nate Butler 22b1d0eae9 WIP Git gutter styling 2022-09-29 13:16:02 -04:00
8f5a2a7a4f Pull git indicator colors out of theme
Co-Authored-By: Kay Simmons <kay@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-29 13:16:02 -04:00
Kay Simmons b06bd3d923 Merge pull request #1634 from zed-industries/dock-tweaks
Dock Tweaks
2022-09-19 09:02:43 -07:00
K Simmons d165ff2939 remove rounded corners on dock due to rendering issue 2022-09-16 16:44:29 -07:00
K Simmons 2a0828de6f Minor improvements to dock visuals, rework dock keybindings, and fix panic on split when dock is active 2022-09-16 12:55:36 -07:00
Antonio Scandurra 3f6f6959cd 💄 2022-09-15 16:07:13 +02:00
Antonio Scandurra a4f2fa0d27 Merge branch 'main' into capture 2022-09-15 12:02:07 +02:00
Antonio Scandurra 9df4ac7e07 Style contacts popover background based on theme 2022-09-15 11:57:22 +02:00
K SimmonsandMikayla Maki 996c32f045 Fix incorrect rendering of toolbar in right anchored dock
Make dock keybinding activate the dock if it wasn't hidden, and hide it if it was already active
Make clicking the expanded dock wash, hide the dock
Fix some issues with programmatically activating other panes, not hiding the dock
Tweak dock anchor menu text
Swap dock hide button for thin variant
Fix dock sidebar interactions
Add clicked state to search button and fix presenter issue sending clicked events when mouse not overlapping MouseRegion

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-13 15:17:27 -07:00
Antonio Scandurra 92db42c1e5 WIP 2022-09-13 14:10:13 +02:00
K Simmons 4a35495d3c Extract panel resize code from sidebar into Resizable element
Make resizable work in vertical axis
Make dock resizable
Have dock preserve size based on Anchor position
Make pane buttons work more correctly in pathological cases
Sync status bar dock button with dock visibility/anchor position

Co-Authored-By Mikayla Maki <mikayla@zed.dev>
2022-09-12 18:32:15 -07:00
K Simmons 7672731bde Fix some pane button issues 2022-09-11 15:52:09 -07:00
K SimmonsandMikayla Maki 017f7b75cf DOCK WORKING!
Update editor element to use mouse regions instead of dispatch event for mouse events
Fix bug in presenter where mouse region handlers were stored on click and called instead of more up to date handlers from subsequent renders
Changed MouseRegion to require discriminants in all cases
Add scroll wheel event to MouseRegion
Polished a bunch of dock inconsistencies

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:32:20 -07:00
K Simmons cf46cd4b62 Swapped keyboard binding and did some minor tweaks to style and focus 2022-09-11 15:31:44 -07:00
Mikayla Maki 98bb195ffb Removed test theme files 2022-09-08 15:53:56 -07:00
Mikayla Maki 08be69255a Added experimental themes flag 2022-09-08 15:47:27 -07:00
Mikayla Maki a8a195952d Updated theme compilation to use internal 2022-09-08 14:34:21 -07:00
Mikayla Maki bcf28aeaf0 Sorted themes correctly 2022-09-08 14:11:48 -07:00
Mikayla Maki 77dd14da38 Merge pull request #1587 from zed-industries/alac-search
Terminal Search
2022-09-01 13:49:48 -07:00
K SimmonsandMax Brunsfeld b1efab3314 Impl default for drag and drop global. Make drag and drop global maintain a list of weak handles to the container.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-09-01 12:13:46 -07:00
Mikayla Maki e110495dc9 Improved performance of terminal rendering further 2022-09-01 11:43:27 -07:00
Mikayla Maki e0beda8ad7 Made code actions themeable 2022-08-31 20:35:42 -07:00
K Simmons 5232222991 Fix some drag and drop issues including the mouse cursor not being locked to pointer, tooltips being incorrect when a dragged tab is used, and some subscription leaks from panes 2022-08-26 15:43:15 -07:00
K Simmons 4080b5b7f3 Drag and drop tabs working. all known bugs fixed 2022-08-25 11:14:24 -07:00
K Simmons 556c688562 Change dragged tab styling 2022-08-23 18:02:01 -07:00
K Simmons f2328c2f23 minor rustfmt fix 2022-08-11 11:35:11 -07:00
Antonio Scandurra df8d387b35 Make project panel more compact
This ensures more deeply-nested entries can be displayed without
needing to show scrollbars. Adding scrollbars introduces UX issues
when creating/renaming files because there are two scroll layers:
the outer project panel AND the editor.

Sublime Text and Atom dodged this issue by not displaying an inline
editor and showing it as a modal instead. VS Code shows the editor
inline but has a much more compact visualization. I think we should
copy VS Code.
2022-08-05 16:34:26 +02:00
Mikayla Maki 7f255e6ec0 Added icons to context menu 2022-08-03 16:47:41 -07:00
Mikayla Maki 13847a011a Merge main into branch 2022-08-02 09:25:52 -07:00
Max BrunsfeldandKeith Simmons 50a7931d8a Restore lack of bottom border on active tab
Co-authored-by: Keith Simmons <keith@zed.dev>
2022-07-26 14:20:29 -07:00
Nate Butler 96c88b9aaa Rebalance text and icon color usage...
...to better differentiate between primary, secondary and muted.
2022-07-26 15:53:48 -04:00
Keith Simmons cf1b62de8f Merge pull request #1414 from zed-industries/fix-theme-issues
Fix tab bar themes
2022-07-26 11:55:17 -07:00
Mikayla Maki 9919f813f0 fixed 2022-07-25 16:08:31 -07:00
Antonio Scandurra 47fce17ff8 Merge branch 'main' into ime-support-2 2022-07-25 10:47:49 +02:00
Nate Butler 56fc43bb45 WIP for keith 2022-07-22 17:28:58 -04:00
Mikayla Maki ae5e4ce659 Merge pull request #1393 from zed-industries/graceful-exit
Polishing the terminal
2022-07-22 13:59:13 -07:00
Keith Simmons d8ac0cf838 Merge pull request #1378 from zed-industries/diagnostics-popover
Diagnostics Popover
2022-07-22 11:12:56 -07:00
Antonio Scandurra bfa490c35d Merge branch 'main' into ime-support-2 2022-07-22 16:03:38 +02:00
Max Brunsfeld 1ac16da8e8 Add simple IME handling to the terminal 2022-07-21 21:32:58 -07:00
K Simmons ba17408e36 Minor naming improvements and revert empty pane background color change 2022-07-21 14:56:17 -07:00
K Simmons e43451b8be tweak diagnostic popover colors 2022-07-20 19:02:33 -07:00
K Simmons ed91cee43d working diagnostic popover. Also renamed GoToNextDiagnostic to GoToDiagnostic and adjusted it's action to jump to the popover's diagnostic if it is visible 2022-07-20 19:02:33 -07:00
K Simmons b31b867200 Address some issues where panes don't get focused properly, make the focused pane more obvious, and prevent splitting of the pane with no items 2022-07-20 18:52:32 -07:00
Max Brunsfeld bda456a5d1 Start work on new text input handling in Editor 2022-07-20 16:45:27 -07:00
Mikayla Maki b7d962d8d1 Finished bel, moving on to title 2022-07-20 10:04:06 -07:00
Nate Butler 8142842adb Regenerate package-lock.json 2022-07-19 20:12:50 -04:00
Nate Butler 958a9bd730 Merge branch 'main' into theme-improvements 2022-07-19 20:12:02 -04:00
Nate Butler ec9b508e4f Update package-lock.json 2022-07-19 20:09:28 -04:00