Commit log

246b699 Remove NodeRuntime static & add fake implementation for tests (#2934)

Click to expand commit body
Release Notes:

- N/A

Julia created

8d672f5 Remove NodeRuntime static & add fake implementation for tests

Julia created

ce62173 Rename `Document` to `Span`

Antonio Scandurra created

de0f53b Ensure `SemanticIndex::search` waits for indexing to complete

Antonio Scandurra created

c802680 Clip ranges returned by `SemanticIndex::search`

Click to expand commit body
The files may have changed since the last time they were parsed, so the
ranges returned by `SemanticIndex::search` may be out of bounds.

Antonio Scandurra created

de77e56 Checkpoint

Nathan Sobo created

a3039ad Add list items for scroll testing

Nate Butler created

85aedf9 WIP: Icons not yet rendering

Nathan Sobo created

6cb9cf7 Mark placeholder SVGs

Nate Butler created

1ea0d50 Ignore `cargo-target`

Nate Butler created

7f85780 Add fraction sizes for tailwind lengths

Nate Butler created

9272e93 Add operation for opening channel notes in channel-based calls (#2933)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

5a9c76e Fix hoverable elements moving on hover

Nathan Sobo created

477f4dd Continue `collab_panel`

Nate Butler created

653d497 Add operation for opening channel notes in channel based calls

Joseph T. Lyons created

0695e8d Work on sample `collab_panel` story in the storybook

Click to expand commit body
Co-Authored-By: Nathan Sobo <1789+nathansobo@users.noreply.github.com>

Nate Butler and Nathan Sobo created

e08c0fc Checkpoint

Nathan Sobo created

ec5ff20 Implement clearing stale channel buffer participants on server restart

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

Max Brunsfeld and Mikayla created

9ec7569 Checkpoint

Nathan Sobo created

49af287 Eager background indexing (#2928)

Click to expand commit body
This PR ships a series of optimizations for the semantic search engine.
Mostly focused on removing invalid states, optimizing requests to
OpenAI, and reducing token usage.

Release Notes (Preview-Only):

- Added eager incremental indexing in the background on a debounce.
- Added a local embeddings cache for reducing redundant calls to OpenAI.
- Moved to an Embeddings Queue model which ensures optimal batch sizes
at the token level, and atomic file & document writes.
- Adjusted OpenAI Embedding API requests to use provided backoff delays
during Rate Limiting.
- Removed flush races between parsing files step and embedding queue
steps.
- Moved truncation to parsing step reducing the probability that OpenAI
encounters bad data.

Kyle Caverly created

0307cb8 Start sketching a collab panel in storybook

Click to expand commit body
Co-Authored-By: Nate Butler <nate@zed.dev>

Nathan Sobo and Nate Butler created

c2c0461 vim S (#2929)

Click to expand commit body
Release Notes:
- vim: Add `S` to substitute line ([#1897](https://github.com/zed-industries/community/issues/1897)).

Conrad Irwin created

27143e2 Split ContextMenu actions (#2931)

Click to expand commit body
This should have no user-visible impact.

For vim `.` to repeat it's important that actions are replayable.
Currently editor::MoveDown *sometimes* moves the cursor down, and
*sometimes* selects the next completion.

For replay we need to be able to separate the two.

Conrad Irwin created

95b72a7 Re-index project when a worktree is registered

Click to expand commit body
Co-Authored-By: Kyle Caverly <kyle@zed.dev>

Antonio Scandurra and Kyle Caverly created

3c70b12 Simplify `SemanticIndex::index_project`

Click to expand commit body
Co-Authored-By: Kyle Caverly <kyle@zed.dev>

Antonio Scandurra and Kyle Caverly created

4855063 Fix cropped search filters (#2932)

Click to expand commit body
Because of the way we set up tools that add rows inside the toolbar it
is complicated to tighten up the spacing inside the toolbar.

This PR just reverts the changes I made previously. We'll need to
properly add rows below the toolbar instead of rendering search inside
of it to have non-equal height tools be able to descend from it.

Release Notes:

- Preview – Fixed an issue where search filters were partially cut off
in the UI.

Nate Butler created

e2479a7 Fix cropped search filters

Nate Butler created

6b1dc63 Retrieve embeddings based on pending files

Click to expand commit body
Co-Authored-By: Kyle Caverly <kyle@zed.dev>

Antonio Scandurra and Kyle Caverly created

7b5a41d Move retrieval of embeddings from the db into `reindex_changed_files`

Click to expand commit body
Co-Authored-By: Kyle Caverly <kyle@zed.dev>

Antonio Scandurra and Kyle Caverly created

d4cff68 :art:

Antonio Scandurra created

42976b6 Add LSP logs clear button (#2913)

Click to expand commit body
LSP logs tend to accumulate and hinder performance (e.g. search is
slower over 20 MB of json files).
Add a way to clear them.

Release Notes:

- N/A

Kirill Bulatov created

56db21d Split ContextMenu actions

Click to expand commit body
This should have no user-visible impact.

For vim `.` to repeat it's important that actions are replayable.
Currently editor::MoveDown *sometimes* moves the cursor down, and
*sometimes* selects the next completion.

For replay we need to be able to separate the two.

Conrad Irwin created

55dd0b1 Use consistent naming

Conrad Irwin created

3a7b551 Fix tests with no neovim

Conrad Irwin created

6827ddf Start work on refreshing channel buffer collaborators on server restart

Max Brunsfeld created

e6babce Broadcast new peer ids for rejoined channel collaborators

Max Brunsfeld created

d7e4cb4 executor: timers must be used

Max Brunsfeld created

d370c72 Start work on rejoining channel buffers

Max Brunsfeld created

8dbc0fe update pragma settings for improved database performance

KCaverly created

da16167 Fix find_{,preceding}boundary to work on buffer text (#2912)

Click to expand commit body
Fixes movement::find_boundary to work on the buffer, not on display
points.

The user-visible impact is that the "until end of word" commands now
correctly go to the end of a soft-wrapped word (instead of to the first
character of the wrapped line).

It also fixes a bug where the callback passed to these methods was
called with the content of inlay hints.

[[PR Description]]

Release Notes:

- fix finding end of word on soft-wrapped lines

Conrad Irwin created

af12977 vim: Add `S` to substitute line

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

Conrad Irwin created

aa7b65b Merge branch 'main' into vim-softwrap-word

Conrad Irwin created

0e41c6c Fix accidental visual selection on scroll (#2927)

Click to expand commit body
Release Notes:

- vim: Fix bug where scrolling vertically would sometimes enter visual
mode

Conrad Irwin created

6d79496 Fix accidental visual selection on scroll

Click to expand commit body
As part of this fix partial page distance calculations to more closely
match vim.

Conrad Irwin created

54235f4 updated embeddings background delay to 5 minutes

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

KCaverly and Max created

e86964e optimize insert file in vector database

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

KCaverly and Max created

2fa9c03 Merge remote-tracking branch 'origin' into storybook

Nathan Sobo created

6275c56 Fix warnings for a clean build

Nathan Sobo created

524533c flush embeddings queue when no files are parsed for 250 milliseconds

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

KCaverly and Antonio created

c4db914 move embeddings queue to use single hashmap for all changed paths

Click to expand commit body
Co-authored-by: Antonio <me@as-cii.com>

KCaverly and Antonio created