ZIm/crates/text/src
Antonio Scandurra 8944af7406
Lay the groundwork for collaborating on assistant panel (#13991)
This pull request introduces collaboration for the assistant panel by
turning `Context` into a CRDT. `ContextStore` is responsible for sending
and applying operations, as well as synchronizing missed changes while
the connection was lost.

Contexts are shared on a per-project basis, and only the host can share
them for now. Shared contexts can be accessed via the `History` tab in
the assistant panel.

<img width="1819" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/c7ae46d2-cde3-4b03-b74a-6e9b1555c154">


Please note that this doesn't implement following yet, which is
scheduled for a subsequent pull request.

Release Notes:

- N/A
2024-07-10 17:36:22 +02:00
..
anchor.rs Introduce Editor::insert_flaps and Editor::remove_flaps (#12096) 2024-05-21 20:23:37 +02:00
locator.rs Add documentation to many core editor types (#7919) 2024-02-17 09:03:05 -07:00
network.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
operation_queue.rs One big cleanup pass of clippy lints 2022-08-10 16:51:01 -07:00
patch.rs One big cleanup pass of clippy lints 2022-08-10 16:51:01 -07:00
selection.rs Remove headers from prompt library picker (#12889) 2024-06-11 15:59:30 +02:00
subscription.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
tests.rs Speed up is_dirty and has_conflict (#11946) 2024-05-16 18:36:20 -07:00
text.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
undo_map.rs Remove local timestamps from CRDT operations 2023-08-31 16:23:06 -07:00