Max Brunsfeld
0b8f9067ff
Implement highlighting of go-to-definition links
2023-11-29 14:30:31 -08:00
Max Brunsfeld
9451bd605d
Implement completion-resolution in editor2
...
Enable the completion tests in editor2.
2023-11-29 14:20:47 -08:00
Max Brunsfeld
2bd428102b
Use pointer cursor style for clickable ranges in InteractiveText
2023-11-29 12:42:09 -08:00
Max Brunsfeld
fc2251e7ed
Implement SelectionsCollection::select_anchor_ranges
2023-11-29 12:41:22 -08:00
Nate Butler
3c05d57e6a
Style hover popover
2023-11-29 14:56:23 -05:00
Marshall Bowers
e77846d2dc
Rework Toggle
into Toggleable
and ToggleState
2023-11-29 14:33:52 -05:00
Marshall Bowers
6f5cc0af94
Rework Disclosure
component
2023-11-29 14:07:48 -05:00
Marshall Bowers
c7b79c9aef
Remove unnecessary constructor and Clone
derives
2023-11-29 13:38:05 -05:00
Marshall Bowers
390b0d8d56
Reorganize list components
2023-11-29 13:34:50 -05:00
Max Brunsfeld
960ef7116d
Add a context menu to the project panel ( #3393 )
...
This PR adds a context menu to the project panel in Zed2.
* [x] Allow the context menu to extend outside of the project panel's
bounds
* [x] Add keyboard shortcuts to the context menu
* [x] Dismiss the context menu
* [x] when running an action
* [x] when changing selection in the project panel
Release Notes:
NA
2023-11-29 10:04:41 -08:00
Marshall Bowers
3e2c517dd1
Add Disableable
trait ( #3439 )
...
This PR adds a new `Disableable` trait to use for elements that are
capable of being disabled.
Release Notes:
- N/A
2023-11-29 13:01:26 -05:00
Max Brunsfeld
dbfc7d3555
Merge branch 'main' into project-panel-context-menu
2023-11-29 09:45:31 -08:00
Conrad Irwin
c23a610d52
Move padding on uniform list inside the scrollable area ( #3437 )
...
Release Notes:
- N/A
2023-11-29 10:43:04 -07:00
Max Brunsfeld
233aac5573
Make DismissEvent a unit struct
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-29 09:42:54 -08:00
Marshall Bowers
043cef89eb
Remove unneeded wrapping div
s in ListItem
left content ( #3438 )
...
This PR removes some unneeded wrapping `div`s around the left content in
`ListItem`s.
Release Notes:
- N/A
2023-11-29 12:40:35 -05:00
Max Brunsfeld
ac34229118
Add keyboard control over context menus
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-29 09:39:20 -08:00
Marshall Bowers
912c30c05b
Remove unneeded .clone
s
2023-11-29 12:35:39 -05:00
Marshall Bowers
97e6fd295a
Remove unneeded wrapping divs in ListItem
left content
2023-11-29 12:29:48 -05:00
Nate Butler
a8bf0834e6
Button2 – Part1 ( #3420 )
...
## TODO
- [x] Remove `InteractionState`
- [ ] `Selectable` should use `Selection` instead of a boolean
- [x] Clean out ui2 prelude
- [ ] Build out button2 button types
- [ ] Port old buttons
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-29 12:23:09 -05:00
Conrad Irwin
35481e2c79
Move padding on uniform list inside the scrollable area
2023-11-29 10:05:31 -07:00
Conrad Irwin
5d59108b97
Inviting/Responding/Creating Channels... etc. ( #3433 )
...
Release Notes:
- n/a
2023-11-29 09:29:25 -07:00
Joseph T. Lyons
f735f5287e
v0.116.x dev
2023-11-29 11:08:32 -05:00
Kirill Bulatov
d92153218c
Log prettier installation start & success
2023-11-29 13:44:19 +02:00
Kirill Bulatov
3e3b64bb1c
Fix the tests
2023-11-29 12:10:41 +02:00
Kirill Bulatov
3796e7eecb
Port to gpui2
2023-11-29 11:52:26 +02:00
Kirill Bulatov
6e44f53ea1
Style fixes
2023-11-29 11:33:29 +02:00
Kirill Bulatov
f1314afe35
Simplify default prettier installation function
2023-11-29 10:58:22 +02:00
Kirill Bulatov
96f6b89508
Clear failed installation task when error threshold gets exceeded
2023-11-29 10:58:22 +02:00
Kirill Bulatov
acd1aec862
Properly determine default prettier plugins to install
2023-11-29 10:58:22 +02:00
Kirill Bulatov
64259e4a0b
Properly increment installation attempts
2023-11-29 10:58:22 +02:00
Kirill Bulatov
43d28cc0c1
Ignore initialized
LSP request in prettier wrapper
2023-11-29 10:58:22 +02:00
Kirill Bulatov
465e53ef41
Always install default prettier
2023-11-29 10:58:22 +02:00
Kirill Bulatov
46ac82f498
Do not attempt to run default prettier if it's not installed yet
2023-11-29 10:58:22 +02:00
Kirill Bulatov
938f2531c4
Always write prettier server file
2023-11-29 10:58:22 +02:00
Kirill Bulatov
eab3476304
Split prettier code off to a separate module
2023-11-29 10:58:22 +02:00
Kirill Bulatov
e7e56757dc
Limit prettier installation and start attempts
2023-11-29 10:58:22 +02:00
Kirill Bulatov
c288c6eaf9
Use enum variants for prettier installation and startup phases
2023-11-29 10:58:22 +02:00
Kirill Bulatov
d010f5f98d
Exctract the common code
2023-11-29 10:58:22 +02:00
Conrad Irwin
5fbc60d8da
Inviting/Responding/Creating Channels... etc.
2023-11-28 22:47:04 -07:00
Conrad Irwin
0d4839b973
use the right click event for buttons
2023-11-28 21:14:48 -07:00
Marshall Bowers
e36c7dd301
Remove ID hack in ListItem
( #3431 )
...
This PR removes the ID hack in `ListItem`, since the underlying issue
was fixed in #3430 .
Release Notes:
- N/A
2023-11-28 23:11:29 -05:00
Conrad Irwin
db5ded0252
Remove useless method
...
We need to move state from layout to paint in any case
2023-11-28 20:53:46 -07:00
Conrad Irwin
8d1518d70c
Fix stateful elements in Components
...
Previously a component assumed its element was stateless, this was
incorrect!
2023-11-28 20:47:11 -07:00
Max Brunsfeld
77acba9e4c
Right-align key bindings in context menus
...
Remove extra div in `List` that prevented list items from
filling the available space.
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-28 17:23:49 -08:00
Mikayla Maki
fbe440250e
Restore welcome page ( #3429 )
...
Also restores the theme selector and base keymap selector. This does not
include a UI port.
Release Notes:
- N/A
2023-11-28 16:34:41 -08:00
Max Brunsfeld
6bf7ad71eb
Show action key bindings in context menus
2023-11-28 16:07:42 -08:00
Conrad Irwin
7677998470
Channel joining ( #3428 )
...
- Remove debugging
- Basic channel joining!
[[PR Description]]
Release Notes:
- N/A
2023-11-28 17:00:21 -07:00
Conrad Irwin
60ce75c34a
Togglable channels, the greatest since sliced bread
2023-11-28 16:52:12 -07:00
Mikayla
a41c857855
Merge branch 'main' into welcome2
2023-11-28 15:38:51 -08:00
Mikayla
ed8e62cd18
Restore welcome page and several pickers
2023-11-28 15:25:28 -08:00