Commit Graph
31406 Commits
Author SHA1 Message Date
Nathan Sobo e70336c4e4 Checkpoint 2023-11-13 22:51:44 -07:00
Nathan Sobo e39081c034 Checkpoint 2023-11-13 22:42:19 -07:00
Nathan Sobo a84bddd24c Checkpoint 2023-11-13 22:28:33 -07:00
Nathan Sobo f59207d5b5 Checkpoint 2023-11-13 22:22:09 -07:00
Nathan Sobo 3637cfd097 Checkpoint 2023-11-13 22:02:05 -07:00
Conrad Irwin 0bbd5b0775 Allow clicking on commands in the command palette 2023-11-13 21:42:27 -07:00
Conrad Irwin 5d10015212 Fix elevation on go_to_line2 2023-11-13 21:42:04 -07:00
Conrad Irwin 223abf15d4 Fix SingleLine editor font size 2023-11-13 21:41:41 -07:00
Nathan Sobo 08263e156a Checkpoint 2023-11-13 21:40:02 -07:00
Conrad Irwin bb2477eb42 Add Text::styled() and use it in command palette
Prevents jumping while typing
2023-11-13 19:53:55 -07:00
Nathan Sobo 298e4b6e7e Checkpoint 2023-11-13 19:23:07 -07:00
Nathan Sobo 2abcae44a1 WIP 2023-11-13 18:58:42 -07:00
Conrad Irwin bc20c70907 Fix action dispatching... 2023-11-13 18:56:59 -07:00
Conrad Irwin dba8da9a6b Update command matches faster 2023-11-13 18:21:08 -07:00
Nathan Sobo 566a79c9d7 WIP 2023-11-13 18:18:25 -07:00
Mikayla Maki b2f6bb6e51 Improve actions macros (#3292)
- `actions!` now uses `#[action]` on each struct to reduce duplication.
- The `#[action]` macro now works on unit structs.
- Renamed `menu::unused` to `menu::init` and added more explanation in
comments.

Release Notes:

- N/A
2023-11-13 17:14:56 -08:00
Mikayla 96d7b68670 Add test tag 2023-11-13 16:51:59 -08:00
Nate Butler 9624355db1 Allow a button to take a color 2023-11-13 19:46:15 -05:00
Mikayla 238a291e61 Fix broken tests and comment out remaining tests 2023-11-13 16:46:06 -08:00
Mikayla b83845913e Merge branch 'main' into editor-tests 2023-11-13 15:53:22 -08:00
Mikaylaandconrad a0ef21d91d WIP
co-authored-by: conrad <conrad.irwin@zed.dev>
2023-11-13 15:53:04 -08:00
Marshall Bowers bdeec3b434 Use "One Dark" as default theme 2023-11-13 18:44:17 -05:00
Nathan Sobo 326a01b042 Checkpoint 2023-11-13 16:40:29 -07:00
Marshall Bowers db0bfd17d0 Combine related conditions 2023-11-13 18:22:04 -05:00
Marshall Bowers 8e2a7b803f Merge branch 'main' into one-themes 2023-11-13 18:16:45 -05:00
Nate Butler 062e4fe6a0 Remove unused imports 2023-11-13 17:54:22 -05:00
Nate Butler ea8dc40ccf Reorganize theme2 crate (#3312)
[[PR Description]]

- Colocates defaults with their defs
- Organizes each style module into the `styles` subfolder
(`src/styles/players`, etc)
- Standardizes the use of `dark()` and `light()` throughout (ex:
`StatusColors::dark()`)
- Documents and extents StatusColors

Release Notes:

- N/A
2023-11-13 17:53:29 -05:00
Nate Butler a11ce4954e Start refining tab 2023-11-13 17:51:58 -05:00
Conrad Irwin 45966b2960 Add KeyBindings to CommandPalette 2023-11-13 15:40:49 -07:00
Nate Butler 98916f54d2 WIP 2023-11-13 17:38:44 -05:00
Nate Butler 70ff9b5fdd Add one syntax theme 2023-11-13 17:09:55 -05:00
Max Brunsfeld 10338d2dbe Merge branch 'main' into project-panel2 2023-11-13 13:39:13 -08:00
Conrad Irwin f553eae18f Fix test 2023-11-13 13:53:08 -07:00
Nate Butler f00f2ec9f8 Add one_dark theme 2023-11-13 15:48:05 -05:00
Nate Butler 8935763d3d Allow arrays of colors to be passed in 2023-11-13 15:47:57 -05:00
Nate Butler 2e78d9494a Add color converter util 2023-11-13 15:28:20 -05:00
Conrad Irwin 235edc51c8 Merge branch 'main' into dispatch-tree 2023-11-13 13:21:57 -07:00
Mikayla c0b2ecf405 Get editor tests compiling 2023-11-13 12:10:14 -08:00
Marshall Bowers 079616a622 Choose appropriate player colors based on theme appearance 2023-11-13 15:07:13 -05:00
Conrad Irwin 4e819cdbb1 Fix on_action on focusable
We were accidentally dropping the key context
2023-11-13 12:48:36 -07:00
8e12256eae Add delete, open file, and rename actions to the project panel
Co-authored-by: Julia <julia@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-13 11:38:47 -08:00
Piotr Osiewicz e722fa2ddf WIP: start search2 2023-11-13 20:38:37 +01:00
Max Brunsfeld ebc66872d2 Merge branch 'main' into project-panel2 2023-11-13 11:26:51 -08:00
53fc2028a8 Get some project panel actions working
Add styling for hovered and selected items

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Julia <julia@zed.dev>
2023-11-13 11:08:51 -08:00
Nate Butler b2c70dc203 Reorganize theme2 crate 2023-11-13 13:58:23 -05:00
c38707749f Get left, right, and bottom docks rendering in the right places in the workspace
Co-authored-by: Julia <julia@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-13 10:47:15 -08:00
Conrad Irwin dd1bc1f2de Better fix for multiple focuses in one frame 2023-11-13 11:32:05 -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
Mikayla 8dcdc67bd1 Merge branch 'main' into editor-tests 2023-11-13 09:54:02 -08:00