Nathan Sobo
51d1d92d66
Attempt to return impl Element from render. 3 errors.
2024-01-01 14:23:02 +01:00
Kirill Bulatov
1096eeff3a
Add a horizontal separator between history and query file finder matches
2023-12-23 22:33:52 +02:00
Piotr Osiewicz
25a5eda76f
picker: Reintroduce headers and footers ( #3786 )
...
Update VCS menu to match Zed1.
<img width="444" alt="image"
src="https://github.com/zed-industries/zed/assets/24362066/6cb27510-f501-46bc-862f-1fb78006b77c ">
Release Notes:
- N/A
2023-12-22 18:10:59 +01:00
Marshall Bowers
2659b2744a
Add vertical padding to the picker empty state ( #3774 )
...
This PR adds vertical padding to the picker's empty state.
This matches the styles added in #3769 .
Release Notes:
- N/A
2023-12-21 23:41:24 -05:00
Marshall Bowers
4fb12cb348
Add vertical padding to the picker entry list ( #3769 )
...
This PR adds vertical padding to the list of picker entries.
This prevents us from ending up with entries squished against the edges
of the picker.
Release Notes:
- N/A
2023-12-21 22:36:15 -05:00
Marshall Bowers
e2c36633ea
Align Picker
editor with entries ( #3765 )
...
This PR re-aligns the `Picker` editor with the entries after the changes
in #3764 .
Release Notes:
- N/A
2023-12-21 17:03:57 -05:00
Marshall Bowers
71a222abcb
Use sparse spacing for ListItem
s in Picker
s
2023-12-21 16:33:41 -05:00
Marshall Bowers
dc09dbc98c
Use a ListItem
as the empty state for Picker
s
2023-12-21 16:17:04 -05:00
Max Brunsfeld
1c3698ae20
Implement channel modal
...
Co-authored-by: Nathan <nathan@zed.dev>
2023-12-19 12:02:35 -08:00
Marshall Bowers
a3bab25792
Style contact finder ( #3717 )
...
This PR styles the contact finder.
<img width="598" alt="Screenshot 2023-12-19 at 12 59 00 PM"
src="https://github.com/zed-industries/zed/assets/1486634/ca9d9345-bf27-4256-aabc-6017a0c4d217 ">
Release Notes:
- N/A
2023-12-19 13:16:14 -05:00
Conrad Irwin
426d298173
Port project_symbols ( #3634 )
...
Release Notes:
- N/A
2023-12-13 14:13:25 -07:00
Marshall Bowers
ee509e043d
Rework ListItem
and ListHeader
to use slot-based APIs ( #3635 )
...
This PR reworks the `ListItem` and `ListHeader` components to use
slot-based APIs, making them less opinionated about their contents.
Splitting this out of the collab UI styling PR so we can land it to
avoid conflicts.
Co-authored-by: Nate <nate@zed.dev>
Release Notes:
- N/A
2023-12-13 16:08:31 -05:00
Conrad Irwin
9ff73d3a0a
Port project_symbols
2023-12-13 13:43:39 -07:00
Piotr Osiewicz
a71365a1d3
collab_ui: Wire up project picker
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-12-13 17:56:49 +01:00
Max Brunsfeld
a579713a45
Allow dragging and dropping tabs
...
Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-12-12 15:07:03 -08:00
Nate Butler
b5c790ed29
WIP update picker style
2023-12-06 11:01:22 -05:00
Conrad Irwin
859f2d2862
Get ChannelModal opening
2023-12-02 00:57:41 -07:00
Conrad Irwin
35481e2c79
Move padding on uniform list inside the scrollable area
2023-11-29 10:05:31 -07:00
Mikayla
a41c857855
Merge branch 'main' into welcome2
2023-11-28 15:38:51 -08:00
Mikayla
d927c2f497
Implement all but the UI
2023-11-28 15:18:19 -08:00
Conrad Irwin
75891e83f3
Fix mouse events when element is occluded ( #3417 )
...
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
2023-11-28 15:57:22 -07:00
Marshall Bowers
63bd4ac999
Allow render_match
to return an Option
to represent no matches
2023-11-28 10:33:13 -05:00
Conrad Irwin
ca0dcf741f
Use layers to correct mouse event handling too
2023-11-28 00:07:26 -07:00
Conrad Irwin
107c3d7f67
Fix esc in command palette
...
Also: add editor.register_action
2023-11-27 14:32:22 -07:00
Nathan Sobo
c23f17ee0b
Reorganize element-related traits
2023-11-22 11:19:43 -07:00
Nate Butler
453aa5ffd7
TextColor
-> Color
2023-11-21 01:05:29 -05:00
Mikayla
2c4d83c9af
WIP
...
co-authored-by: conrad <conrad@zed.dev>
co-authored-by: Nathan <nathan@zed.dev>
2023-11-20 14:46:01 -08:00
Conrad Irwin
0798cfd58c
Merge branch 'main' into derive-element-redux
2023-11-20 09:15:38 -07:00
Nathan Sobo
33cd6f520a
Clean compile with redesigned element traits
2023-11-18 21:51:47 -07:00
Julia
3655a96e54
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:32:35 -05:00
Julia
f4eb219c75
Get diagnostics view almost building in the zed2 world
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-11-17 16:32:35 -05:00
Conrad Irwin
2d1d75f482
+ManagedView
...
And some games with rust traits
2023-11-16 23:02:10 -07:00
Mikayla
7f72df6dcf
Merge branch 'main' into element-types
2023-11-14 15:49:10 -08:00
Conrad Irwin
80b7f75d24
Merge branch 'main' into file_finder
2023-11-14 13:34:25 -07:00
Conrad Irwin
3a4c5aa440
Implement FileFinder
2023-11-14 13:34:14 -07:00
Conrad Irwin
37d0b8424c
Merge branch 'main' into element-types
2023-11-14 12:10:26 -07:00
Marshall Bowers
76c15229c1
Combine LabelColor
and IconColor
into TextColor
2023-11-14 13:48:01 -05:00
Conrad Irwin
f4ccff7b72
TEMP
2023-11-14 11:03:55 -07:00
Nathan Sobo
364e3e7de5
Merge remote-tracking branch 'origin/main' into element-types
2023-11-14 01:55:58 -07:00
Nathan Sobo
c6e8a097a3
Rename back to div
2023-11-14 01:41:55 -07:00
Nathan Sobo
27fb381cca
Checkpoint
2023-11-14 01:15:48 -07:00
Conrad Irwin
ad017a5df5
Allow clicking on commands in the command palette
2023-11-13 21:42:27 -07:00
Conrad Irwin
abdaa3105b
Update command matches faster
2023-11-13 18:21:08 -07:00
Conrad Irwin
f464d69ff8
Merge branch 'main' into dispatch-tree
2023-11-13 13:21:57 -07:00
Conrad Irwin
7e7b065535
Fix on_action on focusable
...
We were accidentally dropping the key context
2023-11-13 12:48:36 -07:00
Nate Butler
8432b713cc
Resolve errors
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-13 13:16:05 -05:00
Nate Butler
f6c54b8043
Redine command palette style
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>
2023-11-13 13:13:40 -05:00
Nate Butler
800ad1d3dc
Update command palette style
2023-11-12 22:13:54 -05:00
Nathan Sobo
7eaba8fabc
WIP
2023-11-10 14:47:45 -07:00
Nate Butler
6bdb6e486e
Refactor command palette, picker and code action styles.
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-10 16:13:25 -05:00