Antonio Scandurra
9ffdf0e105
WIP
2023-10-13 19:06:03 +02:00
Antonio Scandurra
672a393d94
Checkpoint
2023-10-13 19:06:03 +02:00
Piotr Osiewicz
5c749a5db2
Piotr/z 651 vue support ( #3123 )
...
Release Notes:
- Added Vue language support.
2023-10-13 18:58:59 +02:00
Marshall Bowers
8682453432
Wire up call controls in the TitleBar
2023-10-13 12:46:35 -04:00
Marshall Bowers
825a5847d3
Change TitleBar to a view
2023-10-13 12:21:51 -04:00
Nate Butler
609b5cf032
Refactor button rendering to use ThemeColor instead of direct theme calls
2023-10-13 11:47:13 -04:00
Nate Butler
e3f0686725
Add example NotificationToast to workspace
2023-10-13 11:47:05 -04:00
Nate Butler
db85834ef5
Fix toast contents not filling container
2023-10-13 11:46:48 -04:00
Nate Butler and Marshall Bowers
6df4c0fdec
Hook up buttons in NotificationToast
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-10-13 11:03:59 -04:00
Nate Butler and Marshall Bowers
bc94f0bef4
Add missing derive Element
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-10-13 10:47:39 -04:00
Nate Butler
3e1065baa7
Update NotificationToast implementation and use in Workspace component
2023-10-13 10:35:30 -04:00
Nate Butler
ac2fbc3aa9
Refactor NotificationToast structure to include primary and secondary actions
2023-10-13 10:20:26 -04:00
Nate Butler
7da092eb3f
Add notification toast component and remove ToastVariant from toast.rs
2023-10-13 10:05:50 -04:00
Kirill Bulatov
bec711c4a9
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
77a851998e
Update diagnostics indicator when diagnostics are udpated
2023-10-13 12:13:18 +03:00
Kirill Bulatov
afe20e5748
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
9810e8dd26
Remove zed -> ... -> semantic_index -> zed Cargo dependency cycle
2023-10-13 10:27:08 +03:00
Conrad Irwin
19446801b3
Update get_channel_participant_details to include guests
2023-10-12 21:36:21 -06:00
Conrad Irwin
d21a3f1fdd
Rename members to participants in db crate
2023-10-12 20:42:42 -06:00
Julia
8985fca6a9
Add setting to disable completion docs
2023-10-12 22:08:47 -04:00
Conrad Irwin
ca7a6064a8
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
cbb05fe9a8
Whooooops
2023-10-12 21:00:31 -04:00
Max Brunsfeld
6f3ea55c7a
Remove old contact request notification mechanism, use notification instead
2023-10-12 17:42:32 -07:00
Max Brunsfeld
be1b3b38d5
Make notification db representation more flexible
2023-10-12 17:42:32 -07:00
Max Brunsfeld
2eb3c45b7f
Set up notification store for integration tests
2023-10-12 17:42:30 -07:00
Max Brunsfeld
9dc14dcb54
Set RUST_LOG to info by default in zed-local script
2023-10-12 17:41:09 -07:00
Max Brunsfeld
1d0710a937
Fix use statement order
2023-10-12 17:41:09 -07:00
Max Brunsfeld
7d663b7290
Start work on notification panel
2023-10-12 17:41:09 -07:00
Max Brunsfeld
a033f0ac42
Add notification doc comments
2023-10-12 17:41:09 -07:00
Max Brunsfeld
3fd65b596a
Start work on storing notifications in the database
2023-10-12 17:41:07 -07:00
Julia
bcfc3a8d6a
Eagerly attempt to resolve missing completion documentation
2023-10-12 19:28:17 -04:00
Marshall Bowers
d94c9f8e6c
Restore elevation docs
2023-10-12 18:18:44 -04:00
Marshall Bowers
65db5f3d09
Merge branch 'main' into gpui2
2023-10-12 17:43:05 -04:00
Marshall Bowers
2270279119
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
Marshall Bowers
0bf430cb42
Restore click events on Buttons using on_mouse_down
2023-10-12 16:56:48 -04:00
Marshall Bowers
283621b099
Use Workspace::view to construct the view
2023-10-12 16:52:32 -04:00
Marshall Bowers
d415df92f3
Remove global WorkspaceState
2023-10-12 16:23:10 -04:00
Julia
4c0091df7a
Unbork markdown parse test by making links match
2023-10-12 16:18:54 -04:00
Max Brunsfeld
29536c0453
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
Marshall Bowers
8a345090f3
Fix toggling of left panel
2023-10-12 16:12:09 -04:00
Marshall Bowers
4e13532e95
Hold the story view in the StoryWrapper
2023-10-12 16:11:59 -04:00
Marshall Bowers
dae6dd992b
Render stories as Views
2023-10-12 16:06:54 -04:00
Marshall Bowers
eaea42087f
Remove debug logging in Element derive macro
2023-10-12 15:52:42 -04:00
Marshall Bowers
05c9edfc05
Remove hacky children
2023-10-12 15:50:09 -04:00
Marshall Bowers
1febf92edf
Use new children approach for Toolbar
2023-10-12 15:47:26 -04:00
Max Brunsfeld
7d5430ab5c
Mark channel notes as disconnected immediately upon explicitly signing out
2023-10-12 12:39:02 -07:00
Max Brunsfeld
f40f6d70c6
Replace disconnected channel notes views when re-opening the notes
2023-10-12 12:38:23 -07:00
Marshall Bowers
0deca06e79
Use new children approach for Panes and Toasts
2023-10-12 15:37:50 -04:00
Nathan Sobo
6460abd29c
Checkpoint
2023-10-12 13:27:46 -06:00
Mikayla
76321cddd4
Add channel visibility columns and protos
2023-10-12 12:21:41 -07:00