Conrad Irwin
5b39fc8123
Temporarily join public channels as a member
2023-10-17 10:29:43 -06:00
Conrad Irwin
3412becfc5
Fix some tests
2023-10-17 10:15:20 -06:00
Conrad Irwin
2456c077f6
Fix channel test ordering
2023-10-17 10:01:31 -06: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
Mikayla
465d726bd4
Minor adjustments
2023-10-17 03:05:01 -07: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
Mikayla
162f625716
Adjust chat permisisons to allow deletion for channel admins
2023-10-17 02:16:17 -07:00
Conrad Irwin
b168bded1d
New entitlements: ( #3118 )
...
Release Notes:
- Support Universal Links for Channel links
- Share credentials between Stable and Preview
2023-10-16 22:10:14 -06:00
Conrad Irwin
c12f0d2697
Provisioning profiles for stable and preview
2023-10-16 20:38:10 -06:00
Conrad Irwin
6ffbc3a0f5
Allow pasting ZED urls in the command palette in development
2023-10-16 20:03:44 -06:00
Conrad Irwin
2feb091961
Ensure that invitees do not have permissions
...
They have to accept the invite, (which joining the channel will do),
first.
2023-10-16 16:24:10 -06:00
Conrad Irwin
4e7b35c917
Make joining a channel as a guest always succeed
2023-10-16 15:14:13 -06:00
Joseph T. Lyons
247cdb1e1a
Fix telemetry-related crash on start up ( #3131 )
...
Fixes (hopefully)
[#2136 ](https://github.com/zed-industries/community/issues/2136 ).
Release Notes:
- N/A
2023-10-16 14:01:52 -04:00
Joseph T. Lyons
75fbf2ca78
Fix telemetry-related crash on start up
2023-10-16 13:07:07 -04:00
Piotr Osiewicz
cc335db9e0
editor/language: hoist out non-generic parts of edit functions. ( #3130 )
...
This reduces LLVM IR size of editor (that's one of the heaviest crates
to build) by almost 5%.
LLVM IR size of `editor` before this PR: 3280386
LLVM IR size with `editor::edit` changed: 3227092
LLVM IR size with `editor::edit` and `language::edit` changed: 3146807
Release Notes:
- N/A
2023-10-16 13:17:44 +02:00
Piotr Osiewicz
6f4008ebab
copilot: Propagate action if suggest_next is not possible. ( #3129 )
...
One of our users ran into an issue where typing "true quote" characters
(option-[ for „ and option-] for ‚) was not possible; I've narrowed it
down to a collision with Copilot's NextSuggestion and PreviousSuggestion
action default keybinds. I explicitly did not want to alter the key
bindings, so I've went with a more neutral fix - one that propagates the
keystroke if there's no Copilot action to be taken (user is not using
Copilot etc). Note however that typing true quotes while using a Copilot
is still not possible, as for that we'd have to change a keybind.
Fixes zed-industries/community#2072
Release Notes:
- Fixed Copilot's "Suggest next" and "Suggest previous" actions
colliding with true quotes key bindings (`option-[` and `option-]`). The
keystrokes are now propagated if there's no Copilot action to be taken
at cursor's position.
2023-10-15 17:27:36 +02:00
Conrad Irwin
f6f9b5c8cb
Wire through public access toggle
2023-10-13 16:59:30 -06:00
Conrad Irwin
f8fd77b83e
fix migration
2023-10-13 15:08:09 -06:00
Conrad Irwin
af11cc6cfd
show warnings by default
2023-10-13 15:07:49 -06:00
Conrad Irwin
e20bc87152
Add some sanity checks for new user channel graph
2023-10-13 14:30:20 -06:00
Conrad Irwin
bb408936e9
Ignore old admin column
2023-10-13 14:08:40 -06:00
Conrad Irwin
e050d168a7
Delete some old code, reame ChannelMembers -> Members
2023-10-13 13:39:46 -06:00
Conrad Irwin
9c6f5de551
Use new get_channel_descendants for delete
2023-10-13 13:17:19 -06:00
Conrad Irwin
a8e352a473
Rewrite get_user_channels with new permissions
2023-10-13 11:46:03 -06:00
Julia
2323fd17b0
Autocomplete docs ( #3126 )
...
Release Notes:
- Added documentation display for autocomplete items.
- Fixed autocomplete filtering blocking the Zed UI, causing hitches and
input delays with large completion lists.
- Fixed hover popup link not firing if the mouse moved a slight amount
while clicking.
- Added support for absolute path file links in hover popup and
autocomplete docs.
2023-10-13 13:26:45 -04:00
Piotr Osiewicz
bfbe4ae4b4
Piotr/z 651 vue support ( #3123 )
...
Release Notes:
- Added Vue language support.
2023-10-13 18:58:59 +02:00
Kirill Bulatov
16d9d77d88
Update diagnostics indicator when diagnostics are udpated ( #3128 )
...
Release Notes:
- Fixed diagnostics indicator not showing proper diagnostics count
2023-10-13 12:30:26 +03:00
Kirill Bulatov
803ab81eb6
Update diagnostics indicator when diagnostics are udpated
2023-10-13 12:13:18 +03:00
Kirill Bulatov
634202340b
Remove zed -> ... -> semantic_index -> zed Cargo dependency cycle ( #3127 )
...
rust-analyzer complains about a bunch of dependency cycles:
```
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> assistant(Idx::<CrateData>(35)), alternative path: assistant(Idx::<CrateData>(35)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> breadcrumbs(Idx::<CrateData>(88)), alternative path: breadcrumbs(Idx::<CrateData>(88)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> collab_ui(Idx::<CrateData>(129)), alternative path: collab_ui(Idx::<CrateData>(129)) -> feedback(Idx::<CrateData>(219)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> feedback(Idx::<CrateData>(219)), alternative path: feedback(Idx::<CrateData>(219)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> quick_action_bar(Idx::<CrateData>(480)), alternative path: quick_action_bar(Idx::<CrateData>(480)) -> assistant(Idx::<CrateData>(35)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> search(Idx::<CrateData>(553)), alternative path: search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> semantic_index(Idx::<CrateData>(556)), alternative path: semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> terminal_view(Idx::<CrateData>(643)), alternative path: terminal_view(Idx::<CrateData>(643)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> vim(Idx::<CrateData>(748)), alternative path: vim(Idx::<CrateData>(748)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> welcome(Idx::<CrateData>(775)), alternative path: welcome(Idx::<CrateData>(775)) -> vim(Idx::<CrateData>(748)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> assistant(Idx::<CrateData>(35)), alternative path: assistant(Idx::<CrateData>(35)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> breadcrumbs(Idx::<CrateData>(88)), alternative path: breadcrumbs(Idx::<CrateData>(88)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> collab_ui(Idx::<CrateData>(129)), alternative path: collab_ui(Idx::<CrateData>(129)) -> feedback(Idx::<CrateData>(219)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> feedback(Idx::<CrateData>(219)), alternative path: feedback(Idx::<CrateData>(219)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> quick_action_bar(Idx::<CrateData>(480)), alternative path: quick_action_bar(Idx::<CrateData>(480)) -> assistant(Idx::<CrateData>(35)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> search(Idx::<CrateData>(553)), alternative path: search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> semantic_index(Idx::<CrateData>(556)), alternative path: semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> terminal_view(Idx::<CrateData>(643)), alternative path: terminal_view(Idx::<CrateData>(643)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> vim(Idx::<CrateData>(748)), alternative path: vim(Idx::<CrateData>(748)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
stderr: [ERROR project_model::workspace] cyclic deps: zed(Idx::<CrateData>(791)) -> welcome(Idx::<CrateData>(775)), alternative path: welcome(Idx::<CrateData>(775)) -> vim(Idx::<CrateData>(748)) -> search(Idx::<CrateData>(553)) -> semantic_index(Idx::<CrateData>(556)) -> zed(Idx::<CrateData>(791))
```
so move the example into `zed` instead.
2023-10-13 10:35:35 +03:00
Kirill Bulatov
525ff6bf74
Remove zed -> ... -> semantic_index -> zed Cargo dependency cycle
2023-10-13 10:27:08 +03:00
Conrad Irwin
65a0ebf975
Update get_channel_participant_details to include guests
2023-10-12 21:36:21 -06:00
Conrad Irwin
da2b8082b3
Rename members to participants in db crate
2023-10-12 20:42:42 -06:00
Julia
ec4391b88e
Add setting to disable completion docs
2023-10-12 22:08:47 -04:00
Conrad Irwin
a7db2aa39d
Add check_is_channel_participant
...
Refactor permission checks to load ancestor permissions into memory
for all checks to make the different logics more explicit.
2023-10-12 19:59:50 -06:00
Julia
1c3ecc4ad2
Whooooops
2023-10-12 21:00:31 -04:00
Julia
c4fc9f7ed8
Eagerly attempt to resolve missing completion documentation
2023-10-12 19:28:17 -04:00
Marshall Bowers
45f3a98359
Remove old ui
and storybook
crates ( #3125 )
...
This PR deletes the old `ui` and `storybook` crates in favor of their
newer variants that we'll be landing to `main` in the near future.
### Motivation
These crates are based off the old version of GPUI 2 (the `gpui2`
crate).
At this point we have since transitioned to the new version of GPUI 2
(the `gpui3` crate, currently still on the `gpui2` branch).
Having both copies around is confusing, so the old ones are going the
way of the dinosaurs.
Release Notes:
- N/A
2023-10-12 17:40:20 -04:00
Julia
d23bb3b05d
Unbork markdown parse test by making links match
2023-10-12 16:18:54 -04:00
Max Brunsfeld
bac43ae38e
Fix panic when following due to disconnected channel notes views ( #3124 )
...
In addition to fixing a panic, this makes it slightly more convenient to
re-open disconnected channel notes views. I didn't make it automatic,
but it will at least replace the previous, disconnected view.
Release Notes:
- Fixed a crash that sometimes occurred when following someone with a
disconnected channel notes view open.
2023-10-12 13:16:58 -07:00
Max Brunsfeld
f5d6d7caca
Mark channel notes as disconnected immediately upon explicitly signing out
2023-10-12 12:39:02 -07:00
Max Brunsfeld
85fe11ff11
Replace disconnected channel notes views when re-opening the notes
2023-10-12 12:38:23 -07:00
Mikayla
78432d08ca
Add channel visibility columns and protos
2023-10-12 12:21:41 -07:00
Conrad Irwin
540436a1f9
Push role refactoring through RPC/client
2023-10-12 13:05:54 -06:00
Max Brunsfeld
2e5461ee4d
Exclude disconnected channel views from following messages
2023-10-12 11:55:39 -07:00
Julia
85332eacbd
Race completion filter w/completion request & make not block UI
2023-10-12 13:23:26 -04:00
Julia
4688a94a54
Allow file links in markdown & filter links a bit aggressively
2023-10-12 12:11:27 -04:00
Kirill Bulatov
a50977e0fd
Add prettier support ( #3122 )
2023-10-12 17:13:10 +03:00