Commit Graph
16629 Commits
Author SHA1 Message Date
Marshall Bowers f09df31480 Emit doc strings for custom value setters 2023-10-17 16:01:36 -04:00
Antonio Scandurra a8697df9e3 Checkpoint 2023-10-17 21:54:28 +02:00
Marshall Bowers 6f30d6b4d0 Add placeholder doc strings for style prefixes 2023-10-17 15:53:54 -04:00
Joseph T. Lyons 13c7bbbac6 Shorten GitHub release message 2023-10-17 15:47:17 -04:00
Conrad Irwin cc390ba862 Start writing role to database (#3120)
Scaffolding for guest members in channels

Release notes:
- You can now set channels to "public" which will allow anyone to join
and become a member. In a future release guests joining public channels
will have reduced permissions.
2023-10-17 13:40:58 -06:00
Antonio Scandurra 61490fbaa8 Checkpoint 2023-10-17 21:40:24 +02:00
Antonio Scandurra 4ce7f059c3 Checkpoint 2023-10-17 21:37:09 +02:00
Conrad Irwin 04a28fe831 Fix lint errors 2023-10-17 13:32:08 -06:00
Conrad Irwin 1c5e07f4a2 update sidebar for public channels 2023-10-17 13:30:09 -06:00
Antonio Scandurra deb0e57c49 Checkpoint 2023-10-17 21:11:52 +02:00
Kyle Caverly 2795091f0c Introduce Context Retrieval in Inline Assistant (#3097)
This PR introduces a new Inline Assistant feature "Retrieve Context", to
dynamically fill the content in your generation prompt based on relevant
results returned from the Semantic Search for the Prompt.

Release Notes:

- Introduce "Retrieve Context" button in Inline Assistant
2023-10-17 15:04:36 -04:00
Kirill Bulatov c380d437c6 Cap every language server logs (#3134)
* on opening a language server's logs, a new editor for server logs is
now created from `\n`-joined `VecDeque` elements instead of a buffer, as
before
* every `VecDeque` entry is a log line we receiver out of stderr or LSP
server, and their general amount is capped with `let
MAX_STORED_LOG_ENTRIES: usize = 2000;`
* currently opened editor with logs (`Editor::multi_line`) keeps getting
log lines appended and may get over this cap, but only last stored 2000
entries will be restored on reopen
* similarly, cap rpc message logs

Release Notes:

- Improved memory usage by storing less language LSP server and rpc logs
2023-10-17 21:51:21 +03:00
Kirill Bulatov a95cce9a60 Reduce max log lines, clean log buffers better 2023-10-17 21:47:21 +03:00
Kirill Bulatov 08af830fd7 Do not create buffers for rpc logs 2023-10-17 21:43:34 +03:00
Kirill Bulatov c872c86c4a Remove another needless log buffer 2023-10-17 21:43:34 +03:00
Kirill Bulatov ba5c188630 Update editor with current buffer logs 2023-10-17 21:43:34 +03:00
Kirill Bulatov 5a4161d293 Do not detach subscriptions 2023-10-17 21:43:34 +03:00
Kirill Bulatov 33296802fb Add a rough prototype 2023-10-17 21:43:34 +03:00
Max Brunsfeld 52834dbf21 Add notifications integration test 2023-10-17 11:21:38 -07:00
Nate Butler 8db389313b Add link & public icons 2023-10-17 13:34:51 -04:00
Max Brunsfeld f2d36a47ae Generalize notifications' actor id to entity id
This way, we can retrieve channel invite notifications when
responding to the invites.
2023-10-17 10:34:50 -07:00
Piotr Osiewicz 31241f48be workspace: Do not scan for .gitignore files if a .git directory is encountered along the way (#3135)
Partially fixes zed-industries/community#575

This PR will see one more fix to the case I've spotted while working on
this: namely, if a project has several nested repositories, e.g for a
structure:
/a
/a/.git/
/a/.gitignore
/a/b/
/a/b/.git/
/a/b/.gitignore

/b/ should not account for a's .gitignore at all - which is sort of
similar to the fix in commit #c416fbb, but for the paths in the project.

The release note is kinda bad, I'll try to reword it too.
- [ ] Improve release note.
- [x] Address the same bug for project files.

Release Notes:
- Fixed .gitignore files beyond the first .git directory being respected
by the worktree (zed-industries/community#575).
2023-10-17 18:56:03 +02:00
Antonio Scandurra 19c1a54fea WIP 2023-10-17 18:45:01 +02:00
Antonio Scandurra 850d43c1e8 WIP 2023-10-17 18:37:53 +02:00
Conrad Irwin 5b39fc8123 Temporarily join public channels as a member 2023-10-17 10:29:43 -06:00
Antonio Scandurra ec368c8102 WIP 2023-10-17 18:28:58 +02:00
Conrad Irwin 3412becfc5 Fix some tests 2023-10-17 10:15:20 -06:00
Max Brunsfeld f225039d36 Display invite response buttons inline in notification panel 2023-10-17 09:12:55 -07:00
Conrad Irwin 2456c077f6 Fix channel test ordering 2023-10-17 10:01:31 -06:00
KCaverly ad92fe49c7 implement initial concept of prompt chain 2023-10-17 11:58:45 -04:00
Conrad Irwin 9cc55f895c Merge branch 'main' into guests 2023-10-17 09:54:17 -06:00
Conrad Irwin 851701cb6f Fix get_most_public_ancestor 2023-10-17 09:41:34 -06:00
Antonio Scandurra c04171abf6 WIP 2023-10-17 13:32:49 +02:00
Antonio Scandurra 488d08b43c WIP 2023-10-17 12:46:50 +02:00
Mikayla 465d726bd4 Minor adjustments 2023-10-17 03:05:01 -07:00
Antonio Scandurra 18abb068b1 Checkpoint 2023-10-17 11:35:48 +02:00
Antonio Scandurra cec5280013 Checkpoint 2023-10-17 11:31:13 +02:00
Mikayla Maki adabf0107f Update IDs on interactive elements in LSP log viewer (#3133)
This PR fixes a panic in the LSP log viewer when rendering the popover
UI. This did not ship to preview or stable, and so does not require a
release note.

Release Notes:

- N/A
2023-10-17 02:27:37 -07:00
Mikayla Maki fd03915f85 Adjust chat to allow channel admins to delete all messages (#3132)
As it says on the tin

Release Notes:

- Changed chat permissions so that admins of a channel can delete any
message in a channel.
2023-10-17 02:24:14 -07:00
Mikayla a81484f13f Update IDs on interactive elements in LSP log viewer 2023-10-17 02:22:34 -07:00
Antonio Scandurra c126ff10a7 Checkpoint 2023-10-17 11:21:02 +02:00
Antonio Scandurra bb348c1353 Checkpoint 2023-10-17 11:20:11 +02:00
Mikayla 162f625716 Adjust chat permisisons to allow deletion for channel admins 2023-10-17 02:16:17 -07:00
Antonio Scandurra fb1e7eef6b Checkpoint 2023-10-17 11:08:48 +02:00
Antonio Scandurra ac5b32c491 Checkpoint 2023-10-17 10:14:22 +02:00
Antonio Scandurra b526fc070d Merge branch 'gpui2-text-wrap' into gpui2 2023-10-17 09:03:16 +02:00
Antonio Scandurra 88ae4679d1 Checkpoint 2023-10-17 09:03:01 +02:00
Antonio Scandurra 9e7a579365 Checkpoint 2023-10-17 08:57:20 +02:00
Antonio Scandurra b040ae8d4d Checkpoint 2023-10-17 08:52:26 +02:00
Antonio Scandurra c6e20aed9b Checkpoint 2023-10-17 08:32:33 +02:00