334f246
Include every user in their own list of contacts
Max Brunsfeld created
334f246
Include every user in their own list of contacts
Max Brunsfeld created
68de51b
Fix multiple cursors inserting repeated text in multibuffers
Keith Simmons created
6c57fcf
Merge pull request #968 from zed-industries/vim-visual-mode
Vim visual mode
Keith Simmons created
dc46583
Round sidebar panels' widths to whole numbers of pixels
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
de9a7b1
Give the contact panel's filter editor some placeholder text
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
14ec3c8
Clear contact panel filter editor on escape
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
b33cbcc
Improve layout of contact panel rows
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
3f1640a
Fix up assertion errors in set_eq and visual tests
Keith Simmons created
37c921f
Initial visual mode
Keith Simmons created
2cf9659
Style the buttons in the contact panel and contact finder
Co-authored-by: Nathan Sobo <nathan@zed.dev> Co-authored-by: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld , Nathan Sobo , and Antonio Scandurra created
a121576
WIP
Antonio Scandurra created
6c3e3c8
Eliminate flicker when contact status is pending
We do this by using a bullet. When we have animations, a spinner would be better. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
b003381
Make user fuzzy search case-insensitive
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
93688cb
Fix bug when determining contact status
Users are sorted by login but we were binary-searching them by id. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
d4e6ab4
Seed first users from GitHub when running script/seed-db --github-users
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
f81edb8
Pull out contact finder as a picker
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
b721f00
Start on contact finder modal
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
eef99f0
Make flex elements fill available space when they contain a float
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
12783a5
Prevent users from fuzzy searching and adding themselves as contacts
Antonio Scandurra created
0958051
Start on adding icon for requesting contacts
Antonio Scandurra created
52c36d3
Maintain online status in contacts panel
Antonio Scandurra created
4e9924c
Filter out empty projects in contacts panel
Nathan Sobo created
ef868ff
Fix test after changing fuzzy matching for empty queries
Nathan Sobo created
3dee656
Avoid panic when language server is dropped before being initialized in tests
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
45b6a9d
Avoid sending a GetUsers request for an emptly list of user ids
We don't actually need to return the users at this time. We just call this for its side effect. Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
b8aba09
Wait until contacts have been cleared when disconnecting
Also, use an mpsc for UpdateContacts messages, not a watch, since the messages now represent changes instead of snapshots. Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
2a2698b
Remove stray printing in contacts panel
Max Brunsfeld created
0533a0b
Allow users to remove contact relationships that they initiated
Max Brunsfeld created
054d697
Remove remaining code associated with .zed.toml files
Max Brunsfeld created
d7cba73
Decrement pending_contact_requests even if a request fails
Max Brunsfeld created
2aec4ff
Pick files directly from the Fs in simulate_host
Previously, the list of all existing files was maintained separately, but it was not updated when a guest created a file.
Max Brunsfeld created
3d6db90
Update a user's contacts when they connect; fix test failures
The test failure we fixed doesn't seem directly related to the contact update. Maybe it just caused a failure to occur earlier than it would have in the sequence of seeds. We fixed the test failure by responding to a user joining the project while holding the lock on the Store. This ensures that we don't send messages related to the project to that user until they've had a chance to setup event handlers after receiving the response. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
40f1427
Show requests in contacts panel
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
e9d8cc9
Rename script to match others (dashes)
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
e3ee19b
Wire up UI for requesting contacts and cancelling requests
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
* 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
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
274c4c2
Implement persistence for contacts
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
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
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
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
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
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