Commit log

71c0b7d Add styles for user menu

Piotr Osiewicz created

a1343f0 vim: Fix code actions menu

Click to expand commit body
Fixes: zed-industries/community#1690

Conrad Irwin created

a9aa5e5 vim: Add ~ to change case

Click to expand commit body
Fixes: zed-industries/community#1410

Conrad Irwin created

77dc22b vim: Fix cursor restoration when undoing substitute

Conrad Irwin created

7392080 vim: shortcuts for tab navigation

Conrad Irwin created

02fc5dd vim: Fix scrolling

Click to expand commit body
After #2641 we noticed that scrolling didn't take a count parameter.

The PageDown/PageUp logic was also broken by an additional -1 (for both
vim mode and not).

Conrad Irwin created

a09c6b2 Add installation_id to panic events (#2642)

Click to expand commit body
We want to add installation_id to the panic events so that we can easily
know if multiple panics are coming from the same person or different
people. 5 panics from one person isn't as bad as 5 panics from 5 people.

[zed.dev pr](https://github.com/zed-industries/zed.dev/pull/343)

Release Notes:

- N/A

Joseph T. Lyons created

c0fb98c Factor out key name

Joseph T. Lyons created

8d1cc88 Merge branch 'main' into add-installation-id-to-panic-events

Joseph T. Lyons created

37814bc Fix incorrect ThemeAppearance (#2645)

Click to expand commit body
[[PR Description]]

When we updated the way themes were built it looks like we accidentally
gave `Atelier Forest Light` the wrong `ThemeAppearance`. This PR fixes
that.

Release Notes:

- Fixed the `Atelier Forest Light` theme, which was incorrectly set as a
dark theme.

Nate Butler created

0d3e75e Introduce the ability to load and save conversations with the assistant (#2623)

Click to expand commit body
Closes
https://linear.app/zed-industries/issue/Z-1890/save-assistant-conversations-to-the-filesystem
Closes
https://linear.app/zed-industries/issue/Z-2459/cycling-message-roles-on-the-last-empty-message-alters-the-message
Closes
https://linear.app/zed-industries/issue/Z-2460/cycling-role-in-an-empty-message-cycles-wrong-messages-role
Closes https://linear.app/zed-industries/issue/Z-2365/assistant-toolbar
Closes
https://linear.app/zed-industries/issue/Z-2461/always-insert-an-empty-message-at-the-end-of-the-conversation

Release Notes:

- You can now save conversations with the assistant to
`~/.config/zed/conversations` with `cmd-s`. Conversations are also
automatically saved as they are edited.

Antonio Scandurra created

4372316 Remove assistant panel zoom test

Click to expand commit body
The test was testing pretty straightforward logic, but for some strange reason
it was failing on CI (but passed locally). I think it's fine to delete it and
make progress, if zooming regresses we'll find out pretty quickly.

Antonio Scandurra created

1dc52c7 Fix incorrect ThemeAppearance

Nate Butler created

d46d3e6 Try fixing test on CI

Antonio Scandurra created

c3e8cae vim: indent/outdent

Click to expand commit body
Fixes: zed-industries/community#832

Conrad Irwin created

e77abbf Add hover state to assistant buttons

Antonio Scandurra created

723c8b9 Show quote selection button

Antonio Scandurra created

e723686 Shwo tooltips for assistant buttons

Antonio Scandurra created

f6edc68 picker: fix warnings

Piotr Osiewicz created

edc7f30 Add assistant icons to the toolbar

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

c5b3785 Revert "Panic in debug if global settings can't be deserialized from defaults"

Click to expand commit body
This reverts commit 7a051a0dcbafd467203bcaeec773c269abcd02cd.

Antonio Scandurra created

00e37bc Merge remote-tracking branch 'origin/main' into save-conversations

Antonio Scandurra created

9d4dd5c Insert empty user message when assisting with the current last message

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

92d7b6a Allow toggling back and forth between conversation list and editor

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

55f06dc Add headers and footers to file finder

Piotr Osiewicz created

a9b5c1d Remove unnecessary call to context.notify

Piotr Osiewicz created

3f4a06f Add an Element derive macro for building components out of other elements (#2643)

Click to expand commit body
To turn any struct into a composite element, you can implement a render
method with the following signature:

```rs
fn render<V: View>(&mut self, view: &mut V, cx: &mut ViewContext<V>) -> AnyElement<V>;
```

Then add #[derive(Element)] to the struct definition.

This will make it easier to introduce higher-level components that are
expressed in terms of other elements. Instead of calling functions that
return elements, we can now make any struct into an element fairly
easily. The advantage is that we can use method chaining to express
optional state on these components, and they blend in better with other
elements.

cc @mikayla-maki @osiewicz @iamnbutler 

Release Notes:

- N/A

Nathan Sobo created

bede668 Add a derive macro for Element

Click to expand commit body
To turn any struct into a composite element, you can implement a render method
with the following signature:

fn render<V: View>(&mut self, view: &mut V, cx: &mut ViewContext<V>) -> AnyElement<V>;

Then add #[derive(Element)] to the struct definition.

This will make it easier to introduce higher-level components that are expressed in
terms of other elements.

Nathan Sobo created

82bd5fb Fix main compilation

Kirill Bulatov created

7d065fa Add installation_id to panic events

Click to expand commit body
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

Joseph T. Lyons and Julia created

030984d Vim: substitute support (#2641)

Click to expand commit body
Release Notes:

- vim mode now supports `s` for substitute

Max Brunsfeld created

b0631e9 vim: Fix 1G (#2640)

Click to expand commit body
Before this change code could not distinguish between a user providing a
count of 1 and no count at all.

Fixes: zed-industries/community#710

Release Notes:

- 1G now correctly goes to the first line in vim mode
([710](zed-industries/community#710))

Max Brunsfeld created

91f87bb Scan any external/ignored directories needed for LSP watchers

Click to expand commit body
Also, don't include "external" files in project searches. Treat them
the same as ignored files.

Co-authored-by: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

27b74e9 Prune the set of expanded dir ids as entries are removed

Max Brunsfeld created

b22a183 Emit loaded events for lazily loaded paths in worktree

Max Brunsfeld created

4b52ff6 Add styles for button

Piotr Osiewicz created

6c67612 Fixed mic's state not being updated in titlebar if user mutes a mic via command palette

Piotr Osiewicz created

62786cd Add button

Piotr Osiewicz created

437e41f Add styles for microphone and speakers buttons

Piotr Osiewicz created

5c5d598 Insert new message right before the next valid one

Antonio Scandurra created

6c7271c Test serialization roundtrip

Antonio Scandurra created

c38bf2d Sort conversations in descending chronological order

Antonio Scandurra created

5ea5368 Re-enable buffer search in assistant

Antonio Scandurra created

ed88f52 Remove double constrained call

Antonio Scandurra created

6f0efec Merge remote-tracking branch 'origin/main' into save-conversations

Antonio Scandurra created

ff07d0c Fix `Conversation::messages_for_offsets` with empty message at the end

Antonio Scandurra created

9ad1ebf Fix project panel test helper

Max Brunsfeld created

ffb0a21 Fix randomized worktree test failures

Click to expand commit body
* Distinguish between unloaded and pending directories via separate entry kind.
* Scan directories before updating ignore statuses after fs events.

Max Brunsfeld created

926acd6 vim: substitute handles multibyte characters

Click to expand commit body
And is now in its own file

Conrad Irwin created

0cacf01 vim: Fix 1G

Click to expand commit body
Before this change code could not distinguish between a user providing a
count of 1 and no count at all.

Fixes: zed-industries/community#710

Conrad Irwin created