Commit Graph
49 Commits
Author SHA1 Message Date
Nate Butler 1fbeca9451 WIP update picker style 2023-12-06 11:01:22 -05:00
Conrad Irwin 0b142a2b3b Get ChannelModal opening 2023-12-02 00:57:41 -07:00
Conrad Irwin bfc31aa692 Move padding on uniform list inside the scrollable area 2023-11-29 10:05:31 -07:00
Mikayla d6a5f8a3aa Merge branch 'main' into welcome2 2023-11-28 15:38:51 -08:00
Mikayla 4f97c7c98c Implement all but the UI 2023-11-28 15:18:19 -08:00
Conrad Irwin 0e2bb68b2c 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 c9a97782c9 Allow render_match to return an Option to represent no matches 2023-11-28 10:33:13 -05:00
Conrad Irwin d1cdd512bd Use layers to correct mouse event handling too 2023-11-28 00:07:26 -07:00
Conrad Irwin 54793808a6 Fix esc in command palette
Also: add editor.register_action
2023-11-27 14:32:22 -07:00
Nathan Sobo d50a688a33 Reorganize element-related traits 2023-11-22 11:19:43 -07:00
Nate Butler 374d4b9557 TextColor -> Color 2023-11-21 01:05:29 -05:00
42dfefd738 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 16cca67638 Merge branch 'main' into derive-element-redux 2023-11-20 09:15:38 -07:00
Nathan Sobo 42badd5d25 Clean compile with redesigned element traits 2023-11-18 21:51:47 -07:00
Julia 9a986fc6ab Merge branch 'main' into unborked-git-zed2-diagnostics-view 2023-11-17 16:32:35 -05:00
JuliaandNathan Sobo 77947a8b50 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 b5a55a978e +ManagedView
And some games with rust traits
2023-11-16 23:02:10 -07:00
Mikayla 7d62f43366 Merge branch 'main' into element-types 2023-11-14 15:49:10 -08:00
Conrad Irwin b6ff6ac017 Merge branch 'main' into file_finder 2023-11-14 13:34:25 -07:00
Conrad Irwin 6060e59cf7 Implement FileFinder 2023-11-14 13:34:14 -07:00
Conrad Irwin 8f1a3dd175 Merge branch 'main' into element-types 2023-11-14 12:10:26 -07:00
Marshall Bowers beae52db00 Combine LabelColor and IconColor into TextColor 2023-11-14 13:48:01 -05:00
Conrad Irwin 344f78a171 TEMP 2023-11-14 11:03:55 -07:00
Nathan Sobo 7d1a6a81df Merge remote-tracking branch 'origin/main' into element-types 2023-11-14 01:55:58 -07:00
Nathan Sobo 4df524687e Rename back to div 2023-11-14 01:41:55 -07:00
Nathan Sobo 14d5584205 Checkpoint 2023-11-14 01:15:48 -07:00
Conrad Irwin 0bbd5b0775 Allow clicking on commands in the command palette 2023-11-13 21:42:27 -07:00
Conrad Irwin dba8da9a6b Update command matches faster 2023-11-13 18:21:08 -07:00
Conrad Irwin 235edc51c8 Merge branch 'main' into dispatch-tree 2023-11-13 13:21:57 -07:00
Conrad Irwin 4e819cdbb1 Fix on_action on focusable
We were accidentally dropping the key context
2023-11-13 12:48:36 -07:00
Nate ButlerandMarshall Bowers c13a82fabf Resolve errors
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-13 13:16:05 -05:00
3f549377da 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 13a8138462 Update command palette style 2023-11-12 22:13:54 -05:00
Nathan Sobo a3ec1048fd WIP 2023-11-10 14:47:45 -07:00
Nate ButlerandMarshall Bowers abf4debc13 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
Conrad Irwin 8b5d37ffa4 Tidy up 2023-11-09 20:58:35 -07:00
Conrad Irwin f02f75bc86 Make command dispatching work 2023-11-09 15:14:23 -07:00
Max Brunsfeld 69c61fb1f4 Implement basic fuzzy filtering in picker 2023-11-07 17:24:04 -08:00
Max BrunsfeldandMarshall ac738e2a04 Get actions + focus working on picker, now that it's a view
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-07 13:48:32 -08:00
b66074ae98 Start work on adding a filter editor to the picker
Implement picker as a view instead of as a component

Co-authored-by: Mikayla <mikayla@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-07 13:37:10 -08:00
Max BrunsfeldandMikayla 35d7a7d70a 🎨
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-07 13:03:36 -08:00
Max BrunsfeldandMikayla c2528fd1ca Rename List -> UniformList
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-07 11:00:53 -08:00
Max BrunsfeldandMikayla dee951c7f8 Remove commented-out code in picker2
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-07 10:53:59 -08:00
Max BrunsfeldandMikayla 841f18e13d Implement list scroll tracking
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-07 10:45:38 -08:00
Max BrunsfeldandMikayla e4fdf9d1b2 Implement picker actions
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-07 09:46:41 -08:00
490c08a10a wip: picker
co-authored-by: nathan <nathan@zed.dev>
co-authored-by: max <max@zed.dev>
2023-11-06 17:09:38 -08:00
Mikayla bb23480495 Checkpoint 2023-11-06 15:11:22 -08:00
Mikayla 97ee77c3f8 Checkpoint 2023-11-06 14:26:10 -08:00
Mikayla b83856e669 Snapshot for kirill 2023-11-06 12:33:20 -08:00