diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-04 15:31:14 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-04 16:51:10 +0300 |
| commit | 15cab964f3494b77159caaea289e17e1596e0720 (patch) | |
| tree | d9614056c26b0d148771a464fc2eb0f0cabc60a2 /src/app/worktrees.rs | |
| parent | b78a8a5c565e66e7e5ba9a06d9cb7f3a771fc4b0 (diff) | |
feat: emit layout update events for runtime layout changes
Diffstat (limited to 'src/app/worktrees.rs')
| -rw-r--r-- | src/app/worktrees.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/worktrees.rs b/src/app/worktrees.rs index 05e088b2..ecaa01a4 100644 --- a/src/app/worktrees.rs +++ b/src/app/worktrees.rs @@ -1085,6 +1085,7 @@ mod tests { crate::api::schema::EventKind::WorkspaceCreated, crate::api::schema::EventKind::TabCreated, crate::api::schema::EventKind::PaneCreated, + crate::api::schema::EventKind::LayoutUpdated, ] ); shutdown_test_runtimes(&mut app); @@ -1104,6 +1105,7 @@ mod tests { vec![ crate::api::schema::EventKind::TabCreated, crate::api::schema::EventKind::PaneCreated, + crate::api::schema::EventKind::LayoutUpdated, ] ); shutdown_test_runtimes(&mut app); @@ -1292,6 +1294,7 @@ mod tests { crate::api::schema::EventKind::WorkspaceCreated, crate::api::schema::EventKind::TabCreated, crate::api::schema::EventKind::PaneCreated, + crate::api::schema::EventKind::LayoutUpdated, crate::api::schema::EventKind::WorktreeOpened, ] ); @@ -1339,6 +1342,7 @@ mod tests { crate::api::schema::EventKind::WorkspaceCreated, crate::api::schema::EventKind::TabCreated, crate::api::schema::EventKind::PaneCreated, + crate::api::schema::EventKind::LayoutUpdated, crate::api::schema::EventKind::WorktreeOpened, ] ); @@ -1626,6 +1630,7 @@ mod tests { crate::api::schema::EventKind::WorkspaceCreated, crate::api::schema::EventKind::TabCreated, crate::api::schema::EventKind::PaneCreated, + crate::api::schema::EventKind::LayoutUpdated, crate::api::schema::EventKind::WorktreeOpened, ] ); @@ -1749,6 +1754,7 @@ mod tests { crate::api::schema::EventKind::WorkspaceCreated, crate::api::schema::EventKind::TabCreated, crate::api::schema::EventKind::PaneCreated, + crate::api::schema::EventKind::LayoutUpdated, crate::api::schema::EventKind::WorktreeCreated, ] ); |
