Commit log
960ef71
Add a context menu to the project panel (#3393)
Click to expand commit body
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
Max Brunsfeld
created
2 years ago
3e2c517
Add `Disableable` trait (#3439)
Click to expand commit body
This PR adds a new `Disableable` trait to use for elements that are
capable of being disabled.
Release Notes:
- N/A
Marshall Bowers
created
2 years ago
dbfc7d3
Merge branch 'main' into project-panel-context-menu
Max Brunsfeld
created
2 years ago
c23a610
Move padding on uniform list inside the scrollable area (#3437)
Click to expand commit body
Release Notes:
- N/A
Conrad Irwin
created
2 years ago
233aac5
Make DismissEvent a unit struct
Click to expand commit body
Co-authored-by: Conrad <conrad@zed.dev>
Max Brunsfeld
and
Conrad
created
2 years ago
043cef8
Remove unneeded wrapping `div`s in `ListItem` left content (#3438)
Click to expand commit body
This PR removes some unneeded wrapping `div`s around the left content in
`ListItem`s.
Release Notes:
- N/A
Marshall Bowers
created
2 years ago
ac34229
Add keyboard control over context menus
Click to expand commit body
Co-authored-by: Conrad <conrad@zed.dev>
Max Brunsfeld
and
Conrad
created
2 years ago
912c30c
Remove unneeded `.clone`s
Marshall Bowers
created
2 years ago
97e6fd2
Remove unneeded wrapping divs in `ListItem` left content
Marshall Bowers
created
2 years ago
a8bf083
Button2 – Part1 (#3420)
Click to expand commit body
## 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>
Nate Butler
and
Marshall Bowers
created
2 years ago
Antonio Scandurra
created
2 years ago
35481e2
Move padding on uniform list inside the scrollable area
Conrad Irwin
created
2 years ago
5d59108
Inviting/Responding/Creating Channels... etc. (#3433)
Click to expand commit body
Release Notes:
- n/a
Conrad Irwin
created
2 years ago
Joseph T. Lyons
created
2 years ago
a62c484
Make prettier more robust to offline work and errors (#3434)
Click to expand commit body
Refactors prettier support:
* moves away prettier-related code into a separate module, makes
prettier installation & start phases more type-restricted
* ensures prettier installation and start attempts are capped with a
fixed attempts amount: after it's exceeded, no further attempts to
install and/or start prettier area made
* improves default prettier management, by correctly preserving its
plugin set between (re) installations and always installing the prettier
server part
* slightly improves prettier logging
Release Notes:
- N/A
Kirill Bulatov
created
2 years ago
d921532
Log prettier installation start & success
Kirill Bulatov
created
2 years ago
Kirill Bulatov
created
2 years ago
Kirill Bulatov
created
2 years ago
Kirill Bulatov
created
2 years ago
f1314af
Simplify default prettier installation function
Kirill Bulatov
created
2 years ago
96f6b89
Clear failed installation task when error threshold gets exceeded
Kirill Bulatov
created
2 years ago
acd1aec
Properly determine default prettier plugins to install
Kirill Bulatov
created
2 years ago
64259e4
Properly increment installation attempts
Kirill Bulatov
created
2 years ago
43d28cc
Ignore `initialized` LSP request in prettier wrapper
Kirill Bulatov
created
2 years ago
465e53e
Always install default prettier
Kirill Bulatov
created
2 years ago
46ac82f
Do not attempt to run default prettier if it's not installed yet
Kirill Bulatov
created
2 years ago
938f253
Always write prettier server file
Kirill Bulatov
created
2 years ago
eab3476
Split prettier code off to a separate module
Kirill Bulatov
created
2 years ago
e7e5675
Limit prettier installation and start attempts
Kirill Bulatov
created
2 years ago
c288c6e
Use enum variants for prettier installation and startup phases
Kirill Bulatov
created
2 years ago
d010f5f
Exctract the common code
Kirill Bulatov
created
2 years ago
5fbc60d
Inviting/Responding/Creating Channels... etc.
Conrad Irwin
created
2 years ago
396ecef
use the right click event for buttons (#3432)
Click to expand commit body
Previously we used mouse down
Release Notes:
- N/A
Conrad Irwin
created
2 years ago
0d4839b
use the right click event for buttons
Conrad Irwin
created
2 years ago
e36c7dd
Remove ID hack in `ListItem` (#3431)
Click to expand commit body
This PR removes the ID hack in `ListItem`, since the underlying issue
was fixed in #3430.
Release Notes:
- N/A
Marshall Bowers
created
2 years ago
9e7a90a
Fix stateful elements in Components (#3430)
Click to expand commit body
No more wrapper divs for buttons
Release Notes:
- N/A
Conrad Irwin
created
2 years ago
db5ded0
Remove useless method
Click to expand commit body
We need to move state from layout to paint in any case
Conrad Irwin
created
2 years ago
8d1518d
Fix stateful elements in Components
Click to expand commit body
Previously a component assumed its element was stateless, this was
incorrect!
Conrad Irwin
created
2 years ago
77acba9
Right-align key bindings in context menus
Click to expand commit body
Remove extra div in `List` that prevented list items from
filling the available space.
Co-authored-by: Marshall <marshall@zed.dev>
Max Brunsfeld
and
Marshall
created
2 years ago
fbe4402
Restore welcome page (#3429)
Click to expand commit body
Also restores the theme selector and base keymap selector. This does not
include a UI port.
Release Notes:
- N/A
Mikayla Maki
created
2 years ago
6bf7ad7
Show action key bindings in context menus
Max Brunsfeld
created
2 years ago
7677998
Channel joining (#3428)
Click to expand commit body
- Remove debugging
- Basic channel joining!
[[PR Description]]
Release Notes:
- N/A
Conrad Irwin
created
2 years ago
60ce75c
Togglable channels, the greatest since sliced bread
Conrad Irwin
created
2 years ago
a41c857
Merge branch 'main' into welcome2
Mikayla
created
2 years ago
ed8e62c
Restore welcome page and several pickers
Mikayla
created
2 years ago
4c2348e
Fix tests, notify errors
Conrad Irwin
created
2 years ago
d927c2f
Implement all but the UI
Mikayla
created
2 years ago
bcf449d
Add a basic context menu to the project panel
Max Brunsfeld
created
2 years ago
af3fa4e
Basic channel joining!
Conrad Irwin
created
2 years ago
75891e8
Fix mouse events when element is occluded (#3417)
Click to expand commit body
This commit adds a depth map to the frame so we can find the "top most"
opaque layer by stacking order for a given point.
This lets us determine whether the element being hovered was part of the
given layer in the previous frame, which fixes the hover issue.
Still to do:
* [ ] Fix up mouse events too (I tried this, but it's not working yet,
and I want to understand why)
Release Notes:
- N/A
Conrad Irwin
created
2 years ago
Page 63 of 363