refactor: replace shell with root view wrapping app content
Rust / build (macos-latest, stable) (push) Waiting to run
Rust / build (ubuntu-latest, stable) (push) Waiting to run
Rust / build (windows-latest, stable) (push) Waiting to run

This commit is contained in:
2026-11-22 21:45:09 +07:00
parent 531493008e
commit ccaa48a112
17 changed files with 259 additions and 284 deletions
+2 -16
View File
@@ -96,14 +96,7 @@ pub fn open_primary<P, F>(
P: Panel + 'static,
F: Fn(&mut Window, &mut App) -> Entity<P> + 'static,
{
open_slot(
PanelSlot::Main,
workspace,
id,
build,
window,
cx,
);
open_slot(PanelSlot::Main, workspace, id, build, window, cx);
}
/// Opens a detail panel beside the main panel, reusing it when it is already cached.
@@ -117,12 +110,5 @@ pub fn open_detail<P, F>(
P: Panel + 'static,
F: Fn(&mut Window, &mut App) -> Entity<P> + 'static,
{
open_slot(
PanelSlot::Detail,
workspace,
id,
build,
window,
cx,
);
open_slot(PanelSlot::Detail, workspace, id, build, window, cx);
}