Commit log

40f1427 Show requests in contacts panel

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

e9d8cc9 Rename script to match others (dashes)

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

e3ee19b Wire up UI for requesting contacts and cancelling requests

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

e4f1952 WIP

Antonio Scandurra created

ca56b0d Forbid joining projects if users are not contacts

Antonio Scandurra created

95d29c4 Update contacts when peers join/leave and when project status changes

Antonio Scandurra created

3319e0a Implement contact rejection

Antonio Scandurra created

9b1b613 Fully test contact request acceptance

Click to expand commit body
* Be sure we send updates to multiple clients for the same user
* Be sure we send a full contacts update on initial connection

As part of this commit, I fixed an issue where we couldn't disconnect and reconnect in tests. The first disconnect would cause the I/O future to terminate asynchronously, which caused us to sign out even though the active connection didn't belong to that future. I added a guard to ensure that we only sign out if the I/O future is associated with the current connection.

Nathan Sobo created

5d20338 Get basic test of accepting a contact request passing

Nathan Sobo created

93dae88 WIP: Fix compile errors by commenting stuff out

Nathan Sobo created

4f06dca WIP: Update contacts based on deltas rather than snapshots

Nathan Sobo created

8a34254 Start work on RPC endpoints for dealing with contact requests

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

Max Brunsfeld and Nathan Sobo created

274c4c2 Implement persistence for contacts

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

Max Brunsfeld and Nathan Sobo created

989b82d Refactor `add_request_handler` to respond via a `Response` struct

Click to expand commit body
This also removes `add_sync_request_handler`.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

9555b93 Wait on `RECEIVE_TIMEOUT` in tests when testing disconnection

Click to expand commit body
We were waiting for 3 seconds, but the timeout had changed in the meantime,
making some iterations of the tests fail.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

44f37af Define data types for the new contacts model

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

Antonio Scandurra and Nathan Sobo created

95d848f Ensure `flex_float` works even when re-painting without layout

Click to expand commit body
Previously, we were mutating the remaining space stored on the layout
state, which would cause re-paints to always have a `remaining_space`
of 0 and therefore not align `flex_float` elements to the right/bottom.

Antonio Scandurra created

8445eaa Fix crash when emptying atlases

Click to expand commit body
Previously, when an atlas was emptied, we would move it into a different
vector: free_atlases. This removal could cause existing atlas ids to
refer to the wrong atlases.

Max Brunsfeld created

4620c7a Filter existing contacts when searching in the contacts panel

Max Brunsfeld created

ea81737 Allow fuzzy-search for potential contacts in the contacts panel

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

Max Brunsfeld and Nathan Sobo created

35fea43 Adjust fuzzy search to avoid filtering based on edit distance threshold

Max Brunsfeld created

439a5da 0.32.0

Max Brunsfeld created

342bdfc Render a user query editor in the contacts panel

Nathan Sobo created

6050e0e Add fuzzy_search_users to Db trait, PostgresDb

Nathan Sobo created

079e514 Merge pull request #948 from zed-industries/project-browser-refinements

Click to expand commit body
Add commands for manipulating files in the project panel

Antonio Scandurra created

76ad563 Fix memory leak of `ProjectPanel`

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

Antonio Scandurra and Nathan Sobo created

2e9bdfb Improve delete prompt in project browser

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

Antonio Scandurra and Nathan Sobo created

6021ab1 Clear project browser editor even if an operation fails

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

Antonio Scandurra and Nathan Sobo created

954fabe Don't hide sidebar when hitting `cmd-1`

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

Antonio Scandurra and Nathan Sobo created

2e6cf20 When opening items via project panel, only focus them on double-click

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

Antonio Scandurra and Nathan Sobo created

61346f7 WIP

Antonio Scandurra created

6b22c47 Introduce guest file creation in randomized collaboration test

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

Antonio Scandurra and Nathan Sobo created

6212f2f Wait for remote worktree to catch up with host before mutating entries

Click to expand commit body
This ensures that entries don't randomly re-appear on remote worktrees
due to observing an update too late. In fact, it ensures that the remote
worktree has the same starting state of the host before preemptively applying
the fs operation locally.

Antonio Scandurra created

ecb847a Fix bugs in `FakeFs::{remove_dir,rename}`

Antonio Scandurra created

4b1c46f Allow deleting entries from the project panel

Max Brunsfeld created

509ede0 Allow guests to create directories

Max Brunsfeld created

40e0f10 Allow creating directories from the project panel

Max Brunsfeld created

a2c22a5 Prevent eager snapshot mutations from being clobbered by background updates

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

Max Brunsfeld and Nathan Sobo created

821dff0 Keep showing edited filename in project panel while edit is in-progress

Max Brunsfeld created

ff3cf3c Bump protocol version number

Max Brunsfeld created

438e4e7 Allow guests to rename stuff

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created

470d693 Rename entries via the project to prepare for guest support

Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

657ea26 Allow guests to create files from the project panel

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

Max Brunsfeld and Nathan Sobo created

8291b81 Update snapshot atomically when processing FS events

Max Brunsfeld created

0ff39f1 Select new files in the project panel after creating them

Max Brunsfeld created

a197669 Rename entry atomically in LocalWorktree::rename

Max Brunsfeld created

8fdc5c9 Improve the appearance of project panel filename editor

Click to expand commit body
* Always layout single-line editors with a fixed height
* Preserve directory chevron when editing folder names
* Allow theming the filename editor

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

333b4aa Implement Rename command in project panel

Max Brunsfeld created

a217e2e Implement basic AddFile command in project panel

Max Brunsfeld created

d449208 Abstract more local project setup inside Project::test helper

Max Brunsfeld created