Commit log

fc78db3 Expand DAG tests to include more complex tree operations and removal behavior

Mikayla created

d5512fa Add channel linking operation

Mikayla created

aa9a9be Add channel moving test

Mikayla created

119d1c9 Reintroduce channel chat (#2945)

Click to expand commit body
### Todo

* [x] Add back chat functionality, connected to channels
* [x] Channels panel
* [x] channels with active calls take up two rows, facepile goes on the
second row
* [x] icons for note, phone, (maybe chat) appear on the right of channel
names
    * [x] clicking a channel opens the chat
    * [x] style
* [x] Chat panel
    * [ ] Render markdown in chat messages
    * [x] style
* [x] Hide unless user is staff or has `channels_alpha` feature flag.

Max Brunsfeld created

b8fd4f5 Restore user_group_16 icon

Max Brunsfeld created

3dba523 Update paths to moved icons

Max Brunsfeld created

6c3fd2a Merge branch 'main' into chat-again

Max Brunsfeld created

4c9100e Unify icons using multiple variants, remove all unused icons (#2974)

Click to expand commit body
There are around ~400 icons in the `assets/icons` folder, but in reality
including file icons we only use around 50. In a number of places we use
different variants of the same icon, even in different styles.

This PR unifies the icons we use, removes the duplicates, and cleans out
unused icons.

Release Notes:

- Made icons more consistent throughout the app.

Nate Butler created

b02bd9b Fix Y on last line with no trailing new line

Click to expand commit body
For zed-industries/community#2044

Conrad Irwin created

099969e Ensure the chat panel is fully feature flagged

Max Brunsfeld created

966da65 Fix notification close icon size

Nate Butler created

29cd00f Fix close tab icon size

Nate Butler created

24974ee Unify icons using multiple variants, remove all unused icons

Nate Butler created

0617bab Make cargo test -p gpui work (#2972)

Click to expand commit body
Fix from @maxbrunsfeld
https://zed-industries.slack.com/archives/C04S5TU0RSN/p1694722631644249

Conrad Irwin created

3eb2b75 vim: shift-d and shift-x in visual mode (#2973)

Click to expand commit body
Release Notes:

- vim: Support `shift-d` and `shift-x` to delete in visual mode

Conrad Irwin created

9ef7004 Add shift-d and shift-x as aliases for d and x in visual mode

Conrad Irwin created

3e01d78 Make cargo test -p gpui work

Conrad Irwin created

7c77baa Fix multi-character shortcuts with modifiers (#2968)

Click to expand commit body
This moves the IME shortcut handling over to the keystroke matcher so
that it
can not clear pending matches when trying out the IME equivalent.

Release Notes:

- vim: add `g s` / `g S` to show symbols in the current buffer /
workspace
- Fix multi-key shortcuts with modifiers (preview-only)

Conrad Irwin created

f4e40b3 Ignore .idea directory

Click to expand commit body
I'm testing RustRover

Joseph T. Lyons created

04bd107 add ndcg@k to evaluate metrics

KCaverly created

3a661c5 catchup with main

KCaverly created

c9863d6 Don't dismiss inline assistant when an error occurs (#2971)

Click to expand commit body
Release Notes:

- Fixed a bug that was preventing errors from being shown in the inline
assistant when it was still deployed. (preview-only)

Antonio Scandurra created

925da97 Don't dismiss inline assistant when an error occurs

Antonio Scandurra created

a1250b8 Include modified buffers in semantic search results (#2970)

Click to expand commit body
This pull request introduces an additional step to
`SemanticIndex::search_project` that includes the content of buffers
that are modified but haven't been saved yet. In most cases, the buffer
will contain a small portion of changed spans that are potentially not
included in the index. To reuse all the other spans that haven't
changed, we will query the database for embeddings by their digest. This
means we have to index spans by their digest, which means some penalty
when writing, but in our tests this didn't seem to make indexing much
slower.

Release Notes:

- Improved semantic search to include results from modified buffers.
(preview-only)

Antonio Scandurra created

ae85a52 Refactor semantic searching of modified buffers

Antonio Scandurra created

8d3c251 Rework inlay hover model (#2969)

Click to expand commit body
Fixes
```
thread 'main' panicked at 'byte index 2 is not a char boundary; it is inside '…' (bytes 0..3) of `…)`'
```
panics like
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1694535396473329

by reworking the inlay hover model:
* avoid storing "hardcoded" coordinates of hovered inlay labels (such as
`InlayOffset`), instead, remember `inlay_id` and apply required
highlights there when hint with the same id is handled
* add randomized tests on inlay highlights
* sped up inlay hint cache lookup by inlay_id

As a downside, background highlights are no long appearing on inlay
hints, but Zed does not receive any tooltips for inlays anyway (r-a does
not send them for some reason, other LSP seem to have no such feature?),
so it does not matter now.
Nontheless, if the logic for displaying hint pop-ups is present and
works for harcoded tooltips in r-a, only background highlight is missing
now.

Release Notes:

- Fixed inlay hint highlights causing panic for certain cases with
"large" characters

Kirill Bulatov created

8c1df5a Empty both hint cache storages correctly

Kirill Bulatov created

492e961 Bump protocol version

Max Brunsfeld created

6ce672f Add tooltips and actions for opening notes+call from chat

Click to expand commit body
No keyboard shortcut yet.

Max Brunsfeld created

b759711 Add buttons for opening channel notes and joining call, in chat panel header

Max Brunsfeld created

dd7c687 Style the chat panel further

Max Brunsfeld created

796bdd3 update searching in modified buffers to accomodate for excluded paths

KCaverly created

59269d4 Allow deleting chat messages

Max Brunsfeld created

89327eb Start styling the chat panel

Max Brunsfeld created

9d8c6a7 Merge branch 'main' into chat-again

Max Brunsfeld created

a1353b8 search_bar: Add toggle_replace_on_a_pane. (#2966)

Click to expand commit body
This allows users to add a keybind to ToggleReplace from Editor/Pane
contexts.

Release Notes:
- Fixed replace in buffer not reacting to keyboard shortcuts outside of
search bar<preview-only>.

Piotr Osiewicz created

e7b5880 Combine both text and inlay highlights in randomized tests

Kirill Bulatov created

877d67b Provide an admin REST API for use by zed.dev (#2962)

Click to expand commit body
We're using [PostgREST](https://hub.docker.com/r/postgrest/postgrest)

Todo:
* [x] Add instructions for installing postgrest to local development
docs
* [x] Deploy to staging
* [x] Deploy to production
* [x] Add DNS record for `admin-staging.zed.dev` pointing to the staging
db
* [x] Add a DNS record for `admin.zed.dev` pointing to the production db

Max Brunsfeld created

f9b7071 Store hints in the map, not the snapshot

Kirill Bulatov created

4667110 Fix multi-key shortcuts with modifiers

Click to expand commit body
To make this work we need to move the handling of multiple possible key
events into the keyboard shortcut system.

This was broken in #2957.

Conrad Irwin created

4e9f0ad Improve inlay hint cache lookup

Kirill Bulatov created

8ae3f79 Restructure inlay highlights data for proper access

Kirill Bulatov created

06555a4 vim: g s/S for outline/project symbols

Conrad Irwin created

9b901df small fix to rate status update (#2967)

Click to expand commit body
Small fix to update code for rate limiting status.

Release Notes (Preview only)
- Fixed update to only stop updating status, when the rate limit is
reset to None

Kyle Caverly created

8ff3e37 small fix to rate status update

KCaverly created

9b43acf Remove useless background highlights code

Kirill Bulatov created

396efec Uncomment the rest of the tests

Kirill Bulatov created

47e0535 Randomize inlay highlight range start

Kirill Bulatov created

129fb62 Consider offsets in inlay chunks

Kirill Bulatov created

a9de6c3 Properly handle inlay highlights in the InlayMap

Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>

Kirill Bulatov and Antonio Scandurra created