Commit Graph
25009 Commits
Author SHA1 Message Date
Max Brunsfeld d480074555 Fix bugs in handling mutual following
* Propagate all of leader's views to a new follower, even if those views
  were originally created by that follower.
* Propagate active view changes to followers, even if the active view is
  following that follower.
* Avoid redundant active view updates on the client.
2023-10-05 13:28:46 -07:00
Mikayla 320f369536 Improve chat rendering 2023-10-05 11:58:41 -07:00
Joseph T. Lyons d610107a97 Add session id (#3090)
Release Notes:

- N/A
2023-10-05 14:57:08 -04:00
Joseph T. Lyons 39a973c815 Add session id 2023-10-05 14:50:48 -04:00
Mikayla 5db6722eee Fix bug where chat text wouldn't wrap to width 2023-10-05 11:06:29 -07:00
Conrad Irwin fc0addd05a Clear SelectionGoal on input (#3089)
Release Notes:

- `up` and `down` now go to the correct place after inserting
2023-10-05 09:57:36 -06:00
Antonio Scandurra 5e5ad520a0 Checkpoint! 2023-10-05 09:34:54 -06:00
Conrad Irwin f1dc4708ff Clear SelectionGoal on input 2023-10-05 09:02:52 -06:00
Antonio Scandurra b132d72e2f Checkpoint 2023-10-05 17:00:37 +02:00
KCaverly 133450eeb9 moved status to icon with additional information in tooltip 2023-10-05 16:49:25 +03:00
Antonio Scandurra 98b889a546 Checkpoint 2023-10-05 15:34:57 +02:00
Antonio Scandurra c5ebcf3e94 WIP 2023-10-05 15:30:47 +02:00
Antonio Scandurra e9c65342df Use content mask for quad as well 2023-10-05 12:11:28 +02:00
KCaverly 4506756333 added initial working status in inline assistant prompt 2023-10-05 13:01:11 +03:00
Antonio Scandurra 254c4c8e25 Checkpoint 2023-10-05 10:59:50 +02:00
Antonio Scandurra 6fa2ea97b3 Draw only once on next frame callbacks 2023-10-05 10:57:16 +02:00
Nathan Sobo 58f8749d6b Checkpoint 2023-10-05 00:13:17 -06:00
Nathan Sobo d22701ce3c Checkpoint 2023-10-05 00:08:45 -06:00
Nathan Sobo d75afe1a1b Checkpoint 2023-10-04 23:59:21 -06:00
Nathan Sobo c186196f82 Checkpoint 2023-10-04 23:03:00 -06:00
Nathan Sobo 77137009a4 Checkpoint: Fix a crash 2023-10-04 22:59:01 -06:00
Nathan Sobo 3b3839fb06 Checkpoint 2023-10-04 20:35:24 -06:00
Mikayla 4dbb78ea12 Create markdown text element and add to channel chat 2023-10-04 17:47:30 -07:00
Marshall Bowers 3bbcbbc98b Add .when to Elements 2023-10-04 18:33:28 -04:00
Marshall Bowers d5f06f2558 Add List component 2023-10-04 18:25:43 -04:00
Mikayla Maki da13e9dd92 Remove old code from notes icon click handler (#3085)
Release Notes:

- Fix clicking the notes icon when people are in the channel (preview
only)
2023-10-04 15:15:25 -07:00
Mikayla Maki fb81b2278a 107 channel touch ups (#3087)
Release Notes:

- Add user avatars to channel chat messages
- Group messages by sender
- Fix visual bugs in new chat and note buttons
2023-10-04 15:14:39 -07:00
Max Brunsfeld 707f3ec403 collab 0.23.1 2023-10-04 15:12:17 -07:00
Max Brunsfeld e2fcc2a7f1 Ensure chat messages are retrieved in order of id (#3086)
Also, remove logic for implicitly marking chat messages as observed when
they are fetched. I think this is unnecessary, because the client always
explicitly acknowledges messages when they are shown.

Release Notes:

- Fixed a bug where chat messages were shown out of order (preview only)
2023-10-04 15:10:49 -07:00
Mikaylaandconrad 9b2dee6983 Fix hit boxes and hover styles for new buttons
co-authored-by: conrad <conrad.irwin@gmail.com>
2023-10-04 14:44:50 -07:00
Max Brunsfeld 1967d3cddb Ensure chat messages are retrieved in order of id 2023-10-04 14:43:53 -07:00
Conrad Irwin b21014bc05 Fix panic in increment (#3084)
Release Notes:

- Fixes a panic in vim when incrementing a non-number.
2023-10-04 15:39:24 -06:00
Conrad Irwin 68ef59a6d0 save tweaks (#3031)
- use SaveAll instead of Save
- TODO: fix where closing a multi-buffer gives a confusing save prompt
2023-10-04 15:38:07 -06:00
Marshall Bowers 68f23a51cf Merge branch 'gpui2' into marshall/gpui2-playground 2023-10-04 17:32:21 -04:00
Mikayla 8c16b13329 Adjust channel rendering to group related messages 2023-10-04 14:29:08 -07:00
Conrad Irwin 4b4694c13a Remove old code from notes icon click handler 2023-10-04 15:18:26 -06:00
Conrad Irwin b3ed440e5c Fix panic in increment 2023-10-04 15:13:01 -06:00
Nathan Sobo 4c77d5f5aa Checkpoint 2023-10-04 15:08:04 -06:00
Nathan Sobo 5878871562 Checkpoint 2023-10-04 15:05:04 -06:00
Mikayla be2d6dc1af Add image avatars to channel messages 2023-10-04 14:04:02 -07:00
Conrad Irwin 5d651fbdce Fix renaming (#3083)
Release Notes:

- Fix bugs arising from saving an untitled buffer
2023-10-04 14:50:31 -06:00
Conrad IrwinandMikayla Maki c125da4c8d Fix tracking newly saved buffers
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-10-04 14:44:21 -06:00
Nathan Sobo 37411d1d29 Checkpoint 2023-10-04 13:43:21 -06:00
Marshall Bowers 496cdff634 Add Avatar element 2023-10-04 15:34:14 -04:00
Joseph T. Lyons 0c4b4276f2 collab 0.23.0 2023-10-04 15:01:38 -04:00
Joseph T. Lyons ed781497fa v0.108.x dev 2023-10-04 15:00:53 -04:00
Mikayla Maki 2c7d15852e Show when a channel resource changes (#3074)
This PR adds a mechanism for notifying the client when a channel note
has been edited or a message has been changed.

TODO: 
- [x] Fix infinite loop when opening the chat panel
- [x] Switch to client-side ack model of observation detection
- [x] Add client-side-only change detection (e.g. for when a channel
note is open locally but not focused)
- [x] Review implementation / query performance.
- [x] Fix lack of ACK on restart for channel buffers
- [x] remove channel note opening on click
- [x] Fix channel messages sent while chat channel is in the background
not showing the channel as changed.

Release Notes:

- N/A
2023-10-04 11:57:33 -07:00
Mikaylaandmax 2417284d20 Add an RPC handler for channel buffer acks
co-authored-by: max <max@zed.dev>
2023-10-04 11:47:13 -07:00
15eb760874 Changed the on-click behavior of joining a channel to not open the chat, and only open 1 project instead of all projects
Co-authored-by: conrad <conrad.irwin@gmail.com>
Co-authored-by: max <max@zed.dev>
2023-10-04 11:46:08 -07:00
Antonio Scandurra 39636b40f3 WIP 2023-10-04 20:09:55 +02:00