New multi workspace (#47795)
It's happeningggggg Release Notes: - Changed the Agent Panel so that the Active Thread is restored on restart. --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Anthony Eid <anthony@zed.dev> Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Co-authored-by: Richard Feldman <richard@zed.dev> Co-authored-by: Zed Zippy <234243425+zed-zippy[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
11acd9602d
commit
5b79f60ead
89 files changed
+6654
-1936
No files matched your search
@@ -287,7 +287,7 @@ mod tests {
|
||||
use serde_json::json;
|
||||
use settings::Settings;
|
||||
use theme::{self, ThemeSettings};
|
||||
use workspace::{self, AppState};
|
||||
use workspace::{self, AppState, MultiWorkspace};
|
||||
use zed_actions::settings_profile_selector;
|
||||
|
||||
async fn init_test(
|
||||
@@ -320,8 +320,11 @@ mod tests {
|
||||
|
||||
let fs = FakeFs::new(cx.executor());
|
||||
let project = Project::test(fs, ["/test".as_ref()], cx).await;
|
||||
let (workspace, cx) =
|
||||
cx.add_window_view(|window, cx| Workspace::test_new(project.clone(), window, cx));
|
||||
let window = cx.add_window(|window, cx| MultiWorkspace::test_new(project, window, cx));
|
||||
let cx = VisualTestContext::from_window(*window, cx).into_mut();
|
||||
let workspace = window
|
||||
.read_with(cx, |mw, _| mw.workspace().clone())
|
||||
.unwrap();
|
||||
|
||||
cx.update(|_, cx| {
|
||||
assert!(!cx.has_global::<ActiveSettingsProfileName>());
|
||||
|
||||
Reference in new issue
Block a user