Antonio Scandurra
1f47ff85de
Move more window-specific methods from AppContext to WindowContext
2023-04-14 10:29:35 +02:00
Nathan Sobo
d5629c7183
WIP
2023-04-12 12:38:26 -06:00
Nathan Sobo
169d6bf675
WIP
2023-04-12 12:22:26 -06:00
Nathan Sobo
f5a86aecdc
WIP
2023-04-12 12:13:35 -06:00
Nathan Sobo
d8eb1ac343
WIP
2023-04-12 10:07:17 -06:00
Antonio Scandurra
5f04261450
WIP
2023-04-12 15:55:43 +02:00
Nathan Sobo
082bbe5e59
WIP
2023-04-11 21:56:37 -06:00
Nathan Sobo
ec73862972
WIP
2023-04-11 18:48:00 -06:00
Nathan Sobo
fabf89a1b1
WIP
2023-04-11 18:21:56 -06:00
Nathan Sobo
596940d986
WIP: Everything shredded
2023-04-10 16:10:32 -06:00
Nathan Sobo
45c1106140
Don't export platform::* from gpui
...
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
2023-04-07 11:45:53 -06:00
Nathan Sobo
5839c594d8
Fix formatting
2023-04-06 15:54:44 -06:00
Nathan Sobo
d937660683
Merge MutableAppContext into AppContext
...
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Joseph Lyons
1941ac77fa
Add close items to left and right
2023-04-06 03:33:38 -04:00
Julia
801aae5870
Prioritize displaying right statusbar items overtop left items if needed
2023-04-05 12:08:52 -04:00
Petros Amoiridis and Antonio Scandurra
0795172818
Do not drop the task
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2023-04-03 16:36:08 +03:00
Nathan Sobo
d26088c32a
Add downcast_ref to AnyViewHandle
...
I use unsafe code to transmute an AnyViewHandle to a ViewHandle<T> when
the type matches. Because ViewHandle<T> is repr(transparent) to the
wrapped AnyViewHandle, this is safe.
2023-04-02 16:10:16 -06:00
Nathan Sobo
b093ea74e6
Remove From trait for AnyViewHandle in favor of into_any method
...
I think it's more explicit.
2023-04-02 15:50:42 -06:00
Nathan Sobo
bf6d9cbd81
Wrap AnyWeak handles with their typed counterparts
2023-04-02 15:42:03 -06:00
Nathan Sobo
d0a267eaa4
Store AnyViewHandle inside ViewHandle and Deref to it
2023-04-02 14:59:55 -06:00
Mikayla Maki
5dc4eb7a71
Added erorr states and first-pass error handling to the copilot status bar item.
...
Added correct icons
Added a new 'Toast' action which allows other crates to easily pop toasts with an optional click action
2023-03-30 14:10:57 -07:00
Mikayla Maki
c2f6567042
Add status bar icon reflecting copilot state to Zed status bar
2023-03-29 21:31:33 -07:00
Mikayla Maki
2f5eecd9a7
Merge branch 'main' into copilot
2023-03-29 16:57:38 -07:00
Julia
a2fd047b18
Open symbol outline when clicking on editor breadcrumbs
2023-03-29 15:46:43 -04:00
Antonio Scandurra
ba4c257b50
Use the same serde version across the entire workspace
2023-03-28 09:42:00 -07:00
1205cd55ea
Add copilot crate
...
Refactor HTTP and github release downloading into util
Lazily download / upgrade the copilot LSP from Zed
Co-authored-by: Max <max@zed.dev >
Co-Authored-By: Antonio <antonio@zed.dev >
2023-03-28 09:41:59 -07:00
Max Brunsfeld
ec6934a139
Make 'new file' action open a window when there are no windows open
2023-03-27 16:05:00 -07:00
Max Brunsfeld
8e00ea4925
Merge branch 'main' into lsp-file-change-notifications
2023-03-24 08:52:43 -07:00
Petros Amoiridis and Antonio Scandurra
eb2d122bca
Introduce terminal button count
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
2023-03-22 16:13:58 +02:00
Max Brunsfeld
0964a3d49f
Move postage crate version specification to workspace Cargo.toml
2023-03-21 11:26:13 -07:00
Petros Amoiridis
f3abdd94f6
Merge pull request #2282 from zed-industries/petros/z-283-make-pop-up-positioning-consistent
...
Consistent pop-up menu positions
2023-03-20 17:55:40 +02:00
Petros Amoiridis and Julia
12bcf7cb54
Position pane new, split, and dock context menus
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-03-20 17:49:33 +02:00
Antonio Scandurra and Julia Risley
e2c6eaa335
Deserialize Theme directly into the heap to avoid stack overflow
...
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-03-17 15:58:52 +01:00
Max Brunsfeld
1b86129ae2
Close remote project windows when leaving a call
2023-03-15 15:24:58 -07:00
Antonio Scandurra
3ee1950d9d
Merge pull request #2274 from zed-industries/leave-on-quit
...
Leave room on quit
2023-03-13 18:08:01 +01:00
Antonio Scandurra and Max Brunsfeld
3c81933fbc
Leave room on quit
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-03-13 17:52:10 +01:00
Mikayla Maki
0d2e73bb61
Fix dock opening on collaboration
2023-03-13 09:36:45 -07:00
Petros Amoiridis
1315dc7079
Merge branch 'main' into joseph/z-226-add-terminal-popup-menu
2023-03-11 16:42:42 +02:00
Mikayla Maki
f5a78c7a3f
Fix the terminal icon button to only be active when a terminal is focused
2023-03-10 15:54:42 -08:00
Mikayla Maki
ccf4c95ae3
Merge pull request #2199 from zed-industries/welcome-experience
...
Welcome experience
2023-03-10 10:48:30 -08:00
Mikayla Maki
fc7798ba78
Stub out blank pane experience
2023-03-10 09:58:11 -08:00
Nate Butler and Mikayla Maki
5fdb77c32a
Update empty pane styling
...
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com >
2023-03-09 20:18:29 -05:00
Mikayla Maki
12a3dbc586
Add welcome to menu
...
remove debug
2023-03-09 15:38:28 -08:00
Mikayla Maki
710575e29d
Fix bug with wrong view ids being passed
2023-03-09 12:00:58 -08:00
Mikayla Maki
3519bf902a
re-add spaces removed by new setting
2023-03-09 00:45:05 -08:00
Mikayla Maki
12589db33f
Fix bug with action keybindings not being resolved
2023-03-08 18:11:11 -08:00
Mikayla Maki
877240d746
Add blank pane experience
2023-03-08 17:56:39 -08:00
Mikayla Maki
882b4dc768
Make the workspace always open the dock
2023-03-08 14:49:52 -08:00
Petros Amoiridis and Max Brunsfeld
eeee73783a
Give focus to the selected terminal
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2023-03-08 19:47:57 +02:00
Petros Amoiridis
fa09484ec0
Make pop up open on the side of the button
2023-03-08 11:00:30 +02:00