Commit log

2c56030 Allow sharing projects

Click to expand commit body
Co-authored-by: Nathan <nathan@zed.dev>

Max Brunsfeld and Nathan created

63667ec Start bringing back the current call section of the collab panel

Click to expand commit body
Co-authored-by: Nathan <nathan@zed.dev>

Max Brunsfeld and Nathan created

13bb165 action dispatch target (#3494)

Click to expand commit body
- Ensure the candidate keybinding matches the correct context
- Fix context key matching
- I was soooo close
- Dispatch actions on focused node

[[PR Description]]

Release Notes:

- (Added|Fixed|Improved) ...
([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/<public_issue_number_if_exists>)).

Conrad Irwin created

1c9b984 Remove cx param

Conrad Irwin created

7db0a9e Draw border under tabs

Nate Butler created

fc16e45 Fix double border

Nate Butler created

c82fea3 Dispatch actions on focused node

Click to expand commit body
Allows us to implement context menu matching nicely

Conrad Irwin created

5bdaf0e Work on light theme, update tab

Nate Butler created

c10d8a8 Fix cursor styles not displaying properly (#3493)

Click to expand commit body
This PR fixes an issue where an element with a cursor style set would
not update the cursor when hovering over it.

Previously the cursor style would only appear by interacting with the
element in some way, for instance, by clicking on the element or by
having a `.hover` with some other style being applied.

Release Notes:

- N/A

Marshall Bowers created

7977317 I was soooo close

Conrad Irwin created

2c2e514 Fix context key matching

Click to expand commit body
* You need to check all layers of the context stack
* When in command, the context should be based on where focus was (to
  match `available_actions`.

Conrad Irwin created

059959a Zed2 outline view (#3490)

Click to expand commit body
Release Notes:

- N/A

Julia created

3627ff8 Ensure the candidate keybinding matches the correct context

Marshall Bowers created

9a2fd18 Avoid panic with outline highlight ranges

Click to expand commit body
Previously we were using a function in `editor` to combine syntax
highlighting and fuzzy match positions, it would operate on the full
text as put into the label. However we now have a method `ranges` on
`StringMatch` itself which operates on just the match text.

The outline view has some pretty specific behavior around path/normal
matches and how they are highlighted. So let's just give the match the
full text before it leaves the search function so it can freely index

Julia created

4cb4033 Merge branch 'main' into editor2_tests

Marshall Bowers created

b212aab Add support for copying diagnostic messages to the clipboard (#3489)

Click to expand commit body
This PR adds support for copying diagnostics messages to the clipboard.

This was already working, but we were missing implementations
clipboard-related methods in the `TestPlatform` that were causing the
tests to fail when the copying functionality was added.

Release Notes:

- N/A

Marshall Bowers created

584a3a7 Add temp nightly icon (#3488)

Click to expand commit body
[[PR Description]]

This will get updated – I need to get the template derek used for the
new preview icon. Sorry for the jank in advance.

Release Notes:

- N/A

Nate Butler created

63213b5 Add temp nightly icon

Nate Butler created

4a5f703 Diagnostics style 2 (#3483)

Click to expand commit body
[[PR Description]]

Merge past diagnostic multibuffer style work + some extras

Release Notes:

- N/A

Marshall Bowers created

a3e4559 Fix git test compilation

Piotr Osiewicz created

26c797c Format code

Marshall Bowers created

fb352af Merge branch 'main' into diagnostics-style-2

Marshall Bowers created

4f40295 Style Grab Bag (#3487)

Click to expand commit body
[[PR Description]]

- Add pane empty state
- Ensure tab bar doesn't resize when a tab is added
- Make ButtonLike respect the style of a disabled button
- Add additional cursors to gpui2

Release Notes:

- N/A

Nate Butler created

e928ed4 Mark copy button as incomplete

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

23626aa Update diagnostic style

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

5ab6874 zed2: Port outline view

Julia created

4ee4e4e Fix ci error – Copy to clipboard isn't implemented in tests

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

7a0aa1e Clean up ButtonLike

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

b6ed3b2 Remove debug

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

50fe683 Fix typos

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

b5924d6 Add simulate_window_resize.

Click to expand commit body
Fixes up tests for movement in editor/scrolling.

Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

80ae640 Add additional cursors to gpui2

Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>

Nate Butler and Marshall Bowers created

0af0c55 Update toolbar left tool group

Nate Butler created

68d309e Fix disparity between editor2 and edito1 wrt copilot completions.

Click to expand commit body
Fixes test test_copilot.

Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

fd2f1c2 Fix up copilot2 test

Click to expand commit body
Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

2108ddf Defer activating Subscriptions that are invoked as a part of an effect.

Click to expand commit body
Fixes test test_edit_events.

Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

ee23fa4 Disable instance handshake in dev builds (#3485)

Click to expand commit body
It feels like every week or two someone hits this and is confused about
why the app isn't launch, been meaning to disable this in dev builds for
a while. This does mean that it'll be possible to hit the local DB lock
panic in a dev build if you run it multiple times but that is so rare
that it seems preferable

Release Notes:

- N/A

Julia created

118c9b5 Ensure disabled buttons don't have interaction styles

Nate Butler created

b9a917f Fix up condition not checking the condition at the start.

Click to expand commit body
Co-authored-by: Antonio <antonio@zed.dev>

Piotr Osiewicz and Antonio created

7dc22fe Prevent tab bar from growing in height when a tab is added

Nate Butler created

24b0892 Revert "fix display map tests"

Click to expand commit body
This reverts commit 0f7fc8c1a03eaec347df101ada66f28aefa3162a.

Piotr Osiewicz created

dfe4fc4 Disable instance handshake in dev builds

Julia created

11c1625 Update empty pane state

Nate Butler created

ff734d4 uncomment and augment mouse_context_menu tests

Piotr Osiewicz created

3b1a065 inlay hints: Relax the test condition.

Click to expand commit body
We've investigated another spurious failure, this time with test_multiple_excerpts_large_multibuffer; sadly it didn't really get us anywhere, so for now we're relaxing an assert.

Co-authored-by: Kirill <kirill@zed.dev>

Piotr Osiewicz and Kirill created

b3e741b Fix up test_highlighted_ranges

Click to expand commit body
Returned highlights were okay, but the test was trying to normalize the output by sorting the highlights by color. The ordering is different between gpui1 Color and gpui2 Hsla.

Piotr Osiewicz created

1a5f6f6 Uncomment & fix up test_transpose

Piotr Osiewicz created

0f7fc8c fix display map tests

Click to expand commit body
These tests failed due to an indefinite hang in buffer.condition in the following code:
\`\`\`rust
    let buffer = cx
        .add_model(|cx| Buffer::new(0, cx.model_id() as u64, text).with_language(language, cx));
    buffer.condition(cx, |buf, _| !buf.is_parsing()).await;
`\`\`
In both gpui1 and gpui2 \`.with_language\` spawns a task that notifies the context once it's done. The \`condition\` waits for notifications to be raised. The gist of the problem was that in gpui2, the spawned task was scheduled straight away, so we never really saw the notification with \`condition\`, causing us to wait indefinitely. This is probably a difference in test between schedulers in gpui1 and gpui2, but I kind of sidestepped the issue by spawning a condition before firing off a parsing task with \`set_language\`.

Piotr Osiewicz created

9ffe78d Fix up random wrap map test

Piotr Osiewicz created

45230dc Log project path that was no open due to no project entry found

Kirill Bulatov created