Commit Graph
31406 Commits
Author SHA1 Message Date
Julia 2704b92d2e zed1: Cancel completion resolution when new list (#3389)
Release Notes:

- Fixed a bug where Zed would continue to request documentation for
completion lists which were stale or no longer visible.
2023-11-22 14:23:09 -05:00
Julia efb2de7ae8 Update copilot when we are the last task 2023-11-22 14:03:43 -05:00
Antonio Scandurra e0ca0d17b7 Fix positioning editor2's context menu when scrolling up/down (#3388)
Release Notes:

- N/A
2023-11-22 19:56:36 +01:00
Piotr Osiewicz 6f30cfcf9b Fix warnings in unimplemented function 2023-11-22 19:24:38 +01:00
Piotr Osiewicz f6e2e425dd Add dummy call handler for tests 2023-11-22 19:23:58 +01:00
Nathan Sobo d50a688a33 Reorganize element-related traits 2023-11-22 11:19:43 -07:00
JuliaandMax Brunsfeld a63dda8205 zed1: Cancel completion resolution when new list
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-11-22 13:16:52 -05:00
Joseph T. Lyons 58ebecc8c7 collab 0.29.0 2023-11-22 13:05:29 -05:00
Antonio Scandurra 496e54b117 Correctly swap position of context menu 2023-11-22 19:02:44 +01:00
Joseph T. Lyons ecd1b1f519 v0.115.x dev 2023-11-22 12:57:32 -05:00
Marshall Bowers f940e0e565 Use children for ListItems 2023-11-22 12:44:51 -05:00
Marshall Bowers 9223a86e67 Simplify ContextMenu by not storing list components 2023-11-22 12:41:29 -05:00
Marshall Bowers c109cec0cf Comment out todo!() to fix panic when opening context menus 2023-11-22 12:41:06 -05:00
Antonio Scandurra 08a47a644c Fix drawing uniform list elements when scrolling 2023-11-22 18:32:02 +01:00
Kirill Bulatov 966e5254e0 Use a git file icon for toggle gitignored search option 2023-11-22 19:09:10 +02:00
Kirill Bulatov a06008a691 Output non-ignored files first 2023-11-22 19:03:27 +02:00
Antonio Scandurra b2fa7da14d Track scroll in editor's context menu 2023-11-22 17:58:00 +01:00
Antonio Scandurra f2ec8d37e8 Use interactivity's base style for UniformList 2023-11-22 17:50:34 +01:00
Antonio Scandurra 878700a72a Initial autocomplete support for editor2 (#3383)
Release Notes:

- N/A
2023-11-22 16:02:37 +01:00
Kirill Bulatov 1aa37bafa5 If enabled, search in ignored files during project search 2023-11-22 16:41:02 +02:00
Antonio Scandurra 9a8ba5cabe Don't perform wrapping in completions 2023-11-22 14:23:09 +01:00
Antonio Scandurra 79f45f1a47 Round up line width 2023-11-22 14:01:22 +01:00
Antonio Scandurra b2f147463a Avoid holding borrow to editor while painting child elements 2023-11-22 11:40:38 +01:00
Joseph T. LyonsandMikayla 11e4035f48 WIP
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 22:32:07 -05:00
Mikayla Maki af749c90df Update main.rs 2023-11-21 18:14:14 -08:00
Mikaylaandnathan 0ddfa1a3f5 Fix a few identity mixups in GPUI
co-authored-by: nathan <nathan@zed.dev>
2023-11-21 17:12:32 -08:00
Piotr Osiewicz d2b3b8fc78 Move CallFactory into AppState
Fix crash caused by double borrow of window handle
2023-11-21 22:04:02 +01:00
Mikayla e8bee31c8e Fix no window showing up on startup
co-authored-by: Marshall <marshall@zed.dev>
2023-11-21 12:45:25 -08:00
Mikayla a11500cd55 WIP 2023-11-21 12:40:00 -08:00
Piotr Osiewicz 106007dd0a Finish up decoupling workspace from call 2023-11-21 20:51:53 +01:00
Marshall Bowers 53a2bca4c9 Fix storybook (#3379)
This PR fixes storybook and gets it back into a compiling and running
state.

Release Notes:

- N/A
2023-11-21 14:28:00 -05:00
Piotr Osiewicz 6307d2e3f0 Move CallHandler impl into call2 2023-11-21 20:18:35 +01:00
Piotr Osiewicz 073adabad3 Start decoupling workspace and call crates 2023-11-21 19:57:24 +01:00
Nate Butler c53696e520 UI refinements + Popover (#3377)
[[PR Description]]

- Update default ui_font_size
- Update toolbar style
- Start on ui::Popover

Release Notes:

- N/A
2023-11-21 13:49:10 -05:00
Marshall BowersandNate Butler df13ae0875 Extract Story into separate story crate (#3378)
This PR extracts the `Story` component into a separate `story` crate so
that it can be shared among various crates that define stories.

Release Notes:

- N/A

---------

Co-authored-by: Nate Butler <iamnbutler@gmail.com>
2023-11-21 13:42:00 -05:00
Nate ButlerandMarshall Bowers c90b78cab7 Update popover doc
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-21 12:43:56 -05:00
Nate ButlerandMarshall Bowers 22d2820e3c Correctly position popover aside, add list item states
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-21 12:40:48 -05:00
Nate ButlerandMarshall Bowers be94d1498f Allow popover to take an aside
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-21 12:26:10 -05:00
Nate Butler ceb715d7fa Start on popover 2023-11-21 12:10:06 -05:00
Marshall Bowers 198626cc5e ui2: Get component stories compiling again (#3376)
This PR gets the component stories defined in `ui2` compiling again.

Release Notes:

- N/A
2023-11-21 12:06:25 -05:00
Nate Butler 7d1f2beaa7 Document InteractionState 2023-11-21 11:51:15 -05:00
Antonio Scandurra bdb99a4466 Merge branch 'main' into editor2-autocomplete
# Conflicts:
#	crates/editor2/src/editor.rs
2023-11-21 17:43:09 +01:00
Nate Butler 7a4e518879 Update toolbar.rs 2023-11-21 11:06:27 -05:00
Marshall Bowers 027f2eaefd Fix panic when opening settings in zed2 (#3375)
This PR fixes a panic that occurs when opening the settings in zed2.

We store the `ThemeRegistry` as a global without wrapping it in an
`Arc`, so we need to retrieve it the same way.

Release Notes:

- N/A
2023-11-21 10:58:52 -05:00
Nate Butler 91c6a6513f Remove stories mod until it is re-enabled 2023-11-21 01:36:35 -05:00
Nate Butler 7d2f068492 Update elevation 2023-11-21 01:23:47 -05:00
Nate Butler 374d4b9557 TextColor -> Color 2023-11-21 01:05:29 -05:00
Nate Butler 1a2abb4f00 Add Shape enum to avatar component, refactor UITextSize to styles/typography.rs 2023-11-21 00:59:29 -05:00
Nate Butler 48d7cfeebf Clean out UI 2023-11-21 00:44:51 -05:00
Piotr Osiewicz c75fa798f7 Merge remote-tracking branch 'origin/callback-handles' into search2 2023-11-21 01:16:21 +01:00