Commit log

c03dda1 fixed bug on absolute vs relative path

KCaverly created

6f1e988 updated embedding treesitter query for python

KCaverly created

7d634f6 updated vector_store to include extra context for semantic search modal

KCaverly created

4ab2b8b Restart LSP server on corresponding `initialization_options` change (#2690)

Click to expand commit body
Inlay hints depend on LSP server settings, but servers do not update the
initialization options and query hints with old settings.

Generally, we cannot know whether a certain option can be changed
without server restart, which the name of the options implies too, so be
on the safe side and restart the server.
Hints will update automatically after the server either sends a /refresh
request or reports its work progress end after startup.

Release Notes:

- Fixed LSP server not restarting after `initialization_options`
settings changes

Kirill Bulatov created

e6ec0af Remove redundant hint kind checks in tests

Kirill Bulatov created

fff6596 Restart LSP server on initialization options change

Kirill Bulatov created

e57f6f2 reindexing update to appropriately accomodate for buffer delay and persistent pending files list

KCaverly created

3ca0170 Z 1332/show search results in scrollbar (#2687)

Click to expand commit body
This PR adds highlighting of search results to the scrollbar.

Release Notes:

- Added highlighting of search results to the scrollbar.

Piotr Osiewicz created

a86b6c4 corrected batching order and managed for open ai embedding errors

KCaverly created

793eff1 Update scrollbar selection style

Nate Butler created

b4ed034 Filter out non-json files when loading conversations (#2688)

Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-2540/filter-out-non-conversation-files-from-the-assistant-history

Antonio Scandurra created

2c7e5e0 Clip find preceding boundary (#2689)

Click to expand commit body
Fixes inability to do `alt + left arrow` when an inlay with `Bias::Left`
is right to the left of the caret.

Release Notes:

- N/A

Kirill Bulatov created

11ae99f Add a test

Kirill Bulatov created

708852a Clip left when finding preceding (line) boundary

Click to expand commit body
This fixes an issue that was causing `alt-left` to not move the cursor
when it was located right after an inlay hint with a `Left` bias.

Antonio Scandurra created

348c93e Show inlay hints on startup for every language server with work events (#2686)

Click to expand commit body
Closes https://linear.app/zed-industries/issue/Z-2537/inlay-hint-issues

Language servers such as typescript-language-servers report a single
work event, ending right after server's startup.

Other servers might send more similar event, also during startup. The
rest of the events are diagnostic-related and we filter them out.

React on such events with /refresh-like hint update, that will check
only the visible part of the editor for hints and might be replaced by
other /refresh requests, if needed.

Release Notes:

- N/A

Kirill Bulatov created

5408275 Filter out non-json files when loading conversations

Antonio Scandurra created

3e245fe Save a flushing line instead of discarding it

Piotr Osiewicz created

5e7d9dc Add hunk merging

Piotr Osiewicz created

b66453e fixup! Do not render multiple hunks for the same line

Piotr Osiewicz created

0b0a161 Show inlay hints on startup for every language server with work events

Click to expand commit body
Language servers such as typescript-language-servers report a single
work event, ending right after server's startup.

Other servers might send more similar event, also during startup.
The rest of the events are diagnostic-related and we filter them out.

React on such events with /refresh-like hint update, that will check
only the visible part of the editor for hints and might be replaced by
other /refresh requests, if needed.

Kirill Bulatov created

492b849 Do not render multiple hunks for the same line

Piotr Osiewicz created

8ced7ab Merge branch 'main' into Z-1292/show_search_results_in_scrollbar

Piotr Osiewicz created

c298cf7 Use less padding for typescript parameter hints (#2684)

Click to expand commit body
Part of https://linear.app/zed-industries/issue/Z-2537/inlay-hint-issues

Release Notes:

- N/A

Kirill Bulatov created

1936bde Use less padding for typescript parameter hints

Kirill Bulatov created

dd66294 Fix panic when saved conversations directory changes (#2685)

Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-2542/deleting-assistant-conversations-with-zed-open-can-cause-a-crash

We were updating the view's state but missed a `notify`, which caused
the `UniformList` responsible for rendering the saved conversations to
panic when some files were deleted.

Release Notes:

- Fixed a crash that could happen when deleting a saved assistant
conversation from the filesystem.

Antonio Scandurra created

f6c96ec Fix panic when saved conversations directory changes

Click to expand commit body
We were updating the view's state but missed a `notify`, which caused
the `UniformList` responsible for rendering the saved conversations
to panic when some files were deleted.

Antonio Scandurra created

801f41e Move audio dependency to dev

Mikayla Maki created

8b8bafe Remove spurious audio depedency

Mikayla Maki created

594b6e8 collab 0.16.0

Mikayla Maki created

6a15ae9 v0.95.x dev

Joseph T. Lyons created

76873c5 Z-2276/Z-2275: Project & Branch switchers (#2662)

Click to expand commit body
This PR adds project and branch switchers in top left corner. 

Release Notes:
- Added a project & branch switcher under project name.

Nate Butler created

b80281e cargo fmt

Piotr Osiewicz created

1baa135 Update project & git menus to be Toggleable<Interactive<ContainedText>>

Click to expand commit body
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Nate Butler and Piotr Osiewicz created

afccf60 updated both embed and parsing tasks to be multi-threaded.

KCaverly created

de01fa1 Update collaboration sounds, add sounds to screensharing (#2679)

Click to expand commit body
Updates all collab sounds, add screen sharing sounds.

Release Notes:

- Improved collaboration sounds for joining and leaving a call, muting
and unmuting the mic.
- Added a sound when you start and stop screen sharing.

Nate Butler created

0e0d78d Do not render recent paths in toolbar's project switcher

Piotr Osiewicz created

ec47464 branch_list: Show match count on the right hand side of a header.

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

Piotr Osiewicz and Antonio created

85add26 Track regions instead of clicks.

Click to expand commit body
Get rid of superfluous params in RenderParams related to hover & click state.

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

Piotr Osiewicz and Antonio created

eff0ee3 enabled batching for embedding calls

KCaverly created

91a94d2 Simplify inlay map data (#2683)

Click to expand commit body
Current logic does not need to access inlays by id in O(1), future
dynamic hints would need to know which hint they hover at, but that will
be done using binary search over the position's anchor we hover on;
nothing else seems to need this HashMap in the near future.

Because of that removal, no need to store `InlayId` apart from the
`Inlay`, hence remove the `InlayProperties` struct entirely.
This allows to eliminate a few generics along the way.

Release Notes:

- N/A

Kirill Bulatov created

cc88bff Fix click-through behaviour of git panel

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

Piotr Osiewicz and Antonio created

d7f6b5e Remove InlayProperties

Kirill Bulatov created

6ba1c30 Simplify inlay map data

Kirill Bulatov created

8b3b1a6 fixup! Remove stacks from branch list header

Piotr Osiewicz created

64b77bf Remove stacks from branch list header

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

Piotr Osiewicz and Antonio created

5505ebf Support `assistant: quote selection` on multibuffers (#2682)

Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-2430/assistant-quote-selection-does-not-work-in-multi-buffer

Release Notes:

- Added support for invoking `assistant: quote selection` (`cmd->`) when
editing a multi-buffer.

Antonio Scandurra created

d5f0df9 Support `assistant: quote selection` on multibuffers

Antonio Scandurra created

1914037 Restore focus to previously focused view when dismissing a modal (#2680)

Click to expand commit body
Fixes
https://linear.app/zed-industries/issue/Z-2500/focus-is-moved-from-the-assistant-panel-when-opening-and-closing

Release Notes:

- Fixed a bug that caused modals (such as the command palette) to not
restore focus when dismissing them.

Antonio Scandurra created

03a00df Restore focus to previously focused view when dismissing a modal

Antonio Scandurra created

a8602b2 Add `Modal::has_focus` and introduce a `ModalHandle` trait object

Antonio Scandurra created