Piotr Osiewicz
6d1ca22f57
Merge branch 'main' into project_search_design
2023-08-12 21:57:21 +02:00
Mikayla
d55c1ad81e
Merge branch 'main' into collab-panel
2023-08-12 12:44:22 -07:00
Nathan Sobo
56ba5b7edb
Wire up per corner radii for quad
...
Still need to expose this in the styling layer and allow images
to have per corner radii.
2023-08-12 10:40:23 -06:00
Piotr Osiewicz
625ac1c1ed
chore: use Cow instead of String for tooltips ( #2838 )
...
A QoL change to align `Tooltip` with other elements like `Label`
Release Notes:
- N/A
2023-08-11 15:29:55 +02:00
Mikayla
01e25201fb
Merge branch 'main' into collab-panel
2023-08-10 10:04:01 -07:00
Nathan Sobo
bb9591415f
WIP
2023-08-10 10:26:48 -06:00
Kirill Bulatov
c957038f74
Restore shutdown behavior
2023-08-09 23:39:21 +03:00
Mikayla
8b73737072
Merge branch 'main' into collab-panel
2023-08-09 10:37:22 -07:00
Piotr Osiewicz
a5f96dade0
Merge branch 'main' into project_search_design
2023-08-09 12:30:48 +02:00
Nathan Sobo
ba8c733d80
Merge remote-tracking branch 'origin/main' into paint-context
2023-08-08 18:27:16 -06:00
Nathan Sobo
7416197a6e
Return window handles from WeakItemHandle
2023-08-08 11:39:56 -06:00
Nathan Sobo
79da4b18a4
Move more window methods off AsyncAppContext
2023-08-08 11:38:07 -06:00
Nathan Sobo
11c1e225a0
Remove AsyncAppContext::remove_window
2023-08-08 11:22:43 -06:00
Nathan Sobo
f01d3b87e0
Remove more window id usage
2023-08-08 11:20:09 -06:00
Nathan Sobo
e293985af9
Work with window handles instead of ids in drag code
2023-08-08 11:14:02 -06:00
Nathan Sobo
c843749cb0
Store an AnyWindowHandle in WindowContext
2023-08-08 11:08:37 -06:00
Nathan Sobo
8a187b0b25
Move window-related methods from TestAppContext to AnyWindowHandle
2023-08-07 20:23:04 -06:00
Nathan Sobo
d72e27a4c2
Move activation simulation to AnyWindowHandle
2023-08-07 19:45:43 -06:00
Nathan Sobo
ce33bd19e5
Get compiling
2023-08-07 19:08:58 -06:00
Mikayla and max
8a7d078eaf
Add settings for removing the assistant and collaboration panel buttons
...
Add a not-logged-in state to the collaboration panel
co-authored-by: max <max@zed.dev >
2023-08-07 16:27:47 -07:00
Mikayla
f267c1358b
Fix modal click throughs and adjust height for channel modal
2023-08-07 13:39:05 -07:00
Nathan Sobo
cfdd299f81
WIP
2023-08-07 13:54:47 -06:00
Max Brunsfeld
d51cac5ab2
Merge branch 'main' into collab-panel
2023-08-07 11:50:40 -07:00
Nathan Sobo
d1e01ba625
WIP
2023-08-06 12:45:31 -06:00
Nathan Sobo
40f28de681
Don't refcount window handles
2023-08-03 17:11:47 -06:00
Nathan Sobo
aaa63b400b
WIP
2023-08-03 17:03:39 -06:00
Piotr Osiewicz and Kyle
39b85d556c
Clean up compiler warnings
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-03 16:12:08 +02:00
Piotr Osiewicz and Kyle
c23dbfe986
Remove reference to pane from a toolbar.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-03 16:09:26 +02:00
Piotr Osiewicz and Kyle
79b822e96c
Move navigation buttons to the tab bar.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-03 16:05:24 +02:00
KCaverly
599c7e814c
catch up with main
2023-08-02 16:48:11 -04:00
Nathan Sobo
680c0185e4
Get tests compiling returning WindowHandle<V: View> from add_window
2023-08-02 14:05:03 -06:00
Mikayla Maki and max
c9a92422bd
Add remove channel method
...
Move test client fields into appstate and fix tests
Co-authored-by: max <max@zed.dev >
2023-08-01 16:06:27 -07:00
Max Brunsfeld
87da14ff8c
Start work on displaying channels and invites in collab panel
2023-07-31 18:00:14 -07:00
Mikayla Maki and nate
7593602273
Add channels panel with stubbed out information
...
co-authored-by: nate <nate@zed.dev >
2023-07-28 13:21:39 -07:00
Mikayla Maki
783832d41d
feat(workspace): add action for closing inactive editors on all panes ( #2771 )
...
using zed more and more to develop zed itself I'm finding some small qol
features missing, this is one of them
I'm very used to open two or three splits, and sometimes I want to close
everything except for the active editor, but that wasn't supported, as
the `pane::CloseInactiveItems` action only closes inactive items on the
active pane
so I've implemented it really quick, although I'm not sure it's the
right way to do this
note: I really don't like the default keybinding I've set it to, I have
this action bound to `cmd-shift-w` on all editors, but in zed is taken,
so I chose something that's free but without thinking too much about it
Release Notes:
- Added action for closing inactive editors from all panes
2023-07-27 18:11:11 -07:00
Mikayla Maki
a2b1f57305
Fix warning
2023-07-27 18:00:33 -07:00
Mikayla Maki
ec042e0c14
Rework close_inactive_items to await all tasks
...
Update action name to be more accurate
2023-07-27 17:58:48 -07:00
Piotr Osiewicz
138da2d934
Make row_count of toolbaritem dynamic (WIP).
...
Move result count to the left hand side.
2023-07-27 16:03:26 +02:00
Mikayla Maki
a3a03211e5
Simple cascading split ( #2790 )
...
This PR cascades the split resizing to adjacent splits, if the current
split has already hit the minimum size. This PR also adds support for
detecting the end of a drag event to GPUI, via a bool on the dispatched
drag.
Release Notes:
- Made split resizing more flexible
2023-07-26 09:49:27 -07:00
Mikayla Maki
ff392442a5
Remove placeholders
2023-07-26 09:37:52 -07:00
Conrad Irwin
44f4f14010
Add a mode indicator for vim ( #2763 )
...
Release Notes:
- vim: add a mode indicator
([#409 ](https://github.com/zed-industries/community/issues/409 ))
Now updated screenshots with @iamnbutler
<img width="1043" alt="Screenshot 2023-07-25 at 11 11 57"
src="https://github.com/zed-industries/zed/assets/94272/8301479a-8b58-42d8-81a1-bc40e1e0a4df ">
<img width="1043" alt="Screenshot 2023-07-25 at 11 12 00"
src="https://github.com/zed-industries/zed/assets/94272/89c3b8bd-9cbc-4fd7-ad10-dac5538ed3a3 ">
<img width="1043" alt="Screenshot 2023-07-25 at 11 12 12"
src="https://github.com/zed-industries/zed/assets/94272/adc87fe3-a720-4779-853b-df9443407046 ">
2023-07-25 20:18:23 -06:00
Nathan Sobo
d43ef7e00b
Pass PaintContext to Element::paint
...
I want to use this on another branch, but it's a sweeping change,
so this prepares the ground for it. This can always be reverted if
it doesn't work out.
2023-07-25 17:32:31 -06:00
Conrad Irwin and Nate Butler
8fd9cba675
Update status bar theming
...
Co-Authored-By: Nate Butler <iamnbutler@gmail.com >
2023-07-25 11:06:41 -06:00
Conrad Irwin
b45bbd6bd4
Better method ordering
2023-07-24 09:57:51 -06:00
Conrad Irwin
1fccc35107
Refactor mode indicator to remove itself
...
One of the problems we had is that the status_bar shows a gap between
items, and we want to not add an additional gap for an invisible status
indicator.
2023-07-24 09:51:54 -06:00
Mikayla Maki
c2df957496
Implement cascading resize algorithm
2023-07-24 08:04:46 -07:00
Mikayla Maki
d06a2775b8
Add drag end events
...
Fix left dragging cascade
WIP: Implement right dragging, WIP: use drag end events to set and reset state around initial flex orientation
2023-07-23 13:28:30 -07:00
Mikayla Maki
499599ab50
WIP: cascade split resizes
2023-07-23 01:20:25 -07:00
Mikayla Maki
5541447694
Refactor resize handle code to be amenable to cascading resizes
2023-07-22 21:48:45 -07:00
Kirill Bulatov
58c3c412d1
Focus project panel on directory select
2023-07-23 00:12:25 +03:00