Commit Graph
705 Commits
Author SHA1 Message Date
Mikayla Maki 942d23fb17 Hyperlink clicking is working 2022-09-18 23:33:06 -07:00
Mikayla Maki da2c461ce3 WIP hyperlinks 2022-09-16 19:35:18 -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
Mikayla Maki 4c45fa206c Implemented cell for mouse pointer 2022-09-14 15:41:55 -07:00
Kay Simmons 2b68c3b129 Merge pull request #1614 from zed-industries/dock
Dock
2022-09-14 12:40:59 -07:00
K Simmons 780bc02ed6 Fix mouse scroll in terminal items 2022-09-13 17:37:24 -07: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
Mikayla Maki 2f9f1aa725 Added tests for alt->meta behavior 2022-09-13 09:39:29 -07:00
Mikayla Maki 6bea4fafe2 added alt as meta setting 2022-09-12 23:22:55 -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 d87b6d68cf WIP dock split button and default item 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 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 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
Mikayla Maki 9d1b42fca5 removed test proc info, put fix in wezterm, just need to link them together now 2022-09-02 23:15:12 -07:00
Mikayla Maki 21167f9132 WIP fixing arguments in title bug, need to validate fix, add to wezterm, push to our copy, refresh our cargo, and make a PR for wezterm. TODO: Learn how to do c-style buffer munging. 2022-09-02 19:48:34 -07:00
Mikayla Maki 8da8ea6b86 Fixed terminal title showing program, WIP showing exe arguments 2022-09-02 18:22:53 -07:00
Mikayla Maki f4d200c507 Began program manager, made terminal modals per-window 2022-09-02 16:45:58 -07:00
Mikayla Maki 5a9562128c Merge branch 'terminal-scrolling-sensitivity' into terminal-polishing 2022-09-02 15:48:49 -07:00
Mikayla Maki 28acba62de Polished scrolling significantly 2022-09-02 15:47:35 -07:00
Mikayla Maki 79d5f653bc Sketched out program manager API 2022-09-01 20:07:30 -07:00
Mikayla Maki 4db7cb0853 fix shift-enter 2022-09-01 17:56:22 -07:00
K SimmonsandMikayla Maki 0e4d9a9d57 Add process info to terminal so that we can show the active process in the terminal tab title
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-09-01 17:46:11 -07:00
Max BrunsfeldandKeith Simmons 5e35b1b694 Avoid subtraction underflow when searching terminal
Co-authored-by: Keith Simmons <keith@zed.dev>
2022-09-01 14:06:16 -07:00
Mikayla Maki 4e3db12e8e Finished terminal search 2022-09-01 13:45:46 -07:00
Mikayla Maki 8e7c44bbf9 Added cursor I-Beam 2022-09-01 11:55:15 -07:00
Mikayla Maki e110495dc9 Improved performance of terminal rendering further 2022-09-01 11:43:27 -07:00
Mikayla Maki fec938bc4a ?? 2022-08-31 18:27:25 -07:00
Mikayla Maki 45da742ada Terminal implements important half of search protocol 2022-08-31 17:41:53 -07:00
Mikayla Maki 87588e07cc Search rendering and basic regex stuff complete 2022-08-31 16:17:46 -07:00
Mikayla Maki cc4aa81662 search stuff 2022-08-31 16:17:46 -07:00
Mikayla Maki f9393b7d74 Checkpoint commit, almost have the initial search research done. Don't forget to remove test keymap 2022-08-31 16:17:46 -07:00
Mikayla Maki 1f4cc69927 restore modal terminal 2022-08-31 13:06:15 -07:00
K Simmons c6536db256 Merge branch 'main' into drag-and-drop 2022-08-25 16:32:11 -07:00
Mikayla Maki 937317d46b finished drag and scrolling 2022-08-23 15:26:08 -07:00
Mikayla Maki b2debf13fe fixed scrolling and dragging now 2022-08-23 14:42:29 -07:00
Mikayla Maki e08054ac3e Added scroll-to-edge. 2022-08-22 18:24:58 -07:00
K Simmons 53b15fa06c Merge branch 'main' into drag-and-drop 2022-08-22 17:24:36 -07:00
K Simmons 7f2a133555 Merge branch 'main' into drag-and-drop 2022-08-22 17:18:29 -07:00
Mikayla Maki d4445afd16 Renamed all the terminal files 2022-08-22 16:49:01 -07:00
K Simmons e6440715f9 fixed merge errors 2022-08-22 16:16:39 -07:00