diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-03-27 19:19:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 19:19:34 +0200 |
commit | 341f9eb8c8771a59b2e4d238ba49ba88c3720d6d (patch) | |
tree | 51205536dd0789efb770dbe0095af7210a60eed3 /zellij-utils/src/errors.rs | |
parent | 7b609b053f3aaf466258e12be53d57614c8884c7 (diff) |
feat(plugins): async plugin loading (#2327)
* work
* refactor(plugins): break down start plugin async function
* work
* loading messages
* nice ui
* floating panes and error handling
* cleanups and conflicting plugin/direction
* find exact pane when relayouting
* fix plugin pane titles
* kill loading tasks on exit
* refactor: move stuff around
* style(fmt): rustfmt
* various fixes and refactors
Diffstat (limited to 'zellij-utils/src/errors.rs')
-rw-r--r-- | zellij-utils/src/errors.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs index f1522c1de..8a0f63317 100644 --- a/zellij-utils/src/errors.rs +++ b/zellij-utils/src/errors.rs @@ -324,6 +324,11 @@ pub enum ScreenContext { PreviousSwapLayout, NextSwapLayout, QueryTabNames, + NewTiledPluginPane, + NewFloatingPluginPane, + AddPlugin, + UpdatePluginLoadingStage, + ProgressPluginLoadingOffset, } /// Stack call representations corresponding to the different types of [`PtyInstruction`]s. @@ -354,6 +359,7 @@ pub enum PluginContext { AddClient, RemoveClient, NewTab, + ApplyCachedEvents, } /// Stack call representations corresponding to the different types of [`ClientInstruction`]s. @@ -399,6 +405,8 @@ pub enum PtyWriteContext { #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] pub enum BackgroundJobContext { DisplayPaneError, + AnimatePluginLoading, + StopPluginLoadingAnimation, Exit, } |