Commit Graph
25009 Commits
Author SHA1 Message Date
Nathan Sobo 99411b8c25 Add capture example to GPUI
Added a linker arg to the GPUI build script. Not sure if we'll want to bake
this into GPUI or do it via another crate, but this is convenient for
exploration for now.
2022-09-13 14:10:13 +02:00
Mikayla Maki 6bea4fafe2 added alt as meta setting 2022-09-12 23:22:55 -07:00
Mikayla Maki fa5fc91f35 WIP began changing key modifiers 2022-09-12 22:40:35 -07: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
Mikayla Maki c2b5feb6f8 Started to make the dock better, major issue's resizing child elements 2022-09-12 14:53:26 -07:00
K Simmons acfa904c70 WIP working on resizable dock 2022-09-12 14:24:57 -07:00
K Simmons 7672731bde Fix some pane button issues 2022-09-11 15:52:09 -07:00
K SimmonsandMikayla Maki a3c0435170 Move workspace overlay elements into an actual overlay in order to get proper stacking context depths
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:34:12 -07:00
K SimmonsandMikayla Maki 7816d96dc1 Permanent fix to repeat MouseRegion Tag failure in Workspace
Polish tab bar buttons

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-11 15:34:10 -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
K Simmons d87b6d68cf WIP dock split button and default item 2022-09-11 15:31:44 -07:00
Mikayla Maki 09daa7082b In progress, working on building out the dock UI experience 2022-09-11 15:31:44 -07:00
Mikayla Maki 49fb1ebc06 Initial explorations into docks 2022-09-11 15:31:44 -07:00
Mikayla Maki f98405c0c8 Start moving terminal modal into dock UI 2022-09-11 15:31:44 -07:00
K Simmons d57643f81a Merge pull request #1621 from zed-industries/editor-context-menu-fix
Make MouseRegion Click handlers, also handle Down events by default.
2022-09-11 15:22:24 -07:00
K Simmons 8efe0e0dd1 Make MouseRegion Click handlers, also handle Down events by default. 2022-09-11 14:19:35 -07:00
Mikayla Maki f575518cdb Update workspace.rs 2022-09-09 17:36:25 -07:00
Mikayla Maki 44f7eed301 Merge pull request #1620 from zed-industries/temp-fix-to-beachball
Patch for beachball on disconnected overlay
2022-09-09 17:33:29 -07:00
Mikayla Maki 4d2265d91b Patch for beachball on disconnected overlay, permanent fix to MouseRegion API is a part of the Dock PR.
Co-Authored-By: Keith <keith@zed.dev>
2022-09-09 17:32:31 -07:00
Mikayla Maki 72e09030d7 Merge pull request #1618 from zed-industries/add-dock-icons
Add dock icons
2022-09-08 16:57:18 -07:00
Mikayla Maki efd80f7048 Merge pull request #1619 from zed-industries/experimental-themes
Internal themes
2022-09-08 16:45:47 -07:00
Mikayla Maki 02fcdbff4c Update README.md 2022-09-08 16:45:34 -07:00
Mikayla Maki 5fcbc2cbe6 Fixed keymap file 2022-09-08 16:42:00 -07:00
Mikayla Maki fda2640a16 Added internal keymaps as well, just for the hell of it 2022-09-08 16:37:04 -07:00
Mikayla Maki 0d589a5c9d Update README.md 2022-09-08 16:31:21 -07:00
Mikayla Maki 47f75f3f96 Removed github username check, added settings file 2022-09-08 16:27:46 -07:00
Mikayla Maki 7218ab7c0c Update README.md 2022-09-08 16:01:26 -07:00
Mikayla Maki 98bb195ffb Removed test theme files 2022-09-08 15:53:56 -07:00
Mikayla Maki 97b12863bd Removed stray compiled theme files 2022-09-08 15:51:39 -07:00
Mikayla Maki 08be69255a Added experimental themes flag 2022-09-08 15:47:27 -07:00
Mikayla Maki c5344552c5 Finished internal themes 2022-09-08 15:06:08 -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 5ea48d9181 Added internal flag that checks the last logged in user 2022-09-08 13:31:04 -07:00
Nate Butler 60587b6a7d Add diff icon 2022-09-08 16:14:43 -04:00
Nate Butler a19ecf69a2 Add dock icons 2022-09-08 16:14:32 -04:00
K Simmons 0b43aab331 Merge pull request #1613 from zed-industries/breadcrumbs-refactoring
Terminal Breadcrumbs
2022-09-06 16:28:00 -07:00
K SimmonsandMikayla Maki a8473e2186 Introduced ItemEvent and to_item_events function to Item trait which converts the Item's events into a standard ItemEvent similar to how SearchableItems work.
Add breadcrumb_location and breadcrumbs functions to item trait which handles rendering of the breadcrumb elements
Change breadcrumb toolbar to use these new functions rather than having hard coded breadcrumb logic
Add breadcrumb support to the terminal tabs

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-06 16:05:36 -07:00
K Simmons 0f810877d4 WIP pull breadcrumb rendering out into item trait 2022-09-06 14:39:58 -07:00
Mikayla Maki 456b315bb3 Merge pull request #1606 from zed-industries/terminal-finishing
Terminal finishing
2022-09-06 10:41:40 -07:00
Mikayla Maki 37c4df881b updated wez term dependency 2022-09-06 10:33:40 -07:00
Mikayla Maki c07022d6c4 Merge pull request #1603 from zed-industries/terminal-polishing
Terminal Polishing
2022-09-06 09:31:39 -07:00
Mikayla Maki 082ad65add Problem with alacritty's handling of selections when the terminal resizes 2022-09-03 20:52:40 -07:00
Mikayla Maki aada47583f Fixed tiny resize bug 2022-09-03 19:59:56 -07:00
Mikayla Maki 756d561afd Improved formatting of tab title 2022-09-03 14:45:45 -07:00
Mikayla Maki c2e14c114e fixed tab content crash, discovered a giant nest of new issues re: resizing 2022-09-03 14:23:49 -07:00
Mikayla Maki 64114e2d63 Fixed search to read entire back buffer 2022-09-03 13:54:18 -07:00
Mikayla Maki dd7fb7a471 Fixed the easy search bugs 2022-09-03 13:46:36 -07:00
Mikayla Maki be8be7b0e4 Changed bel to use dirty indicator, took away the 'has new content' indicator 2022-09-02 23:23:33 -07:00