diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-01-13 11:27:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 11:27:07 +0100 |
| commit | 4a27ceea0d99b036ca607e05714cef15689d7c26 (patch) | |
| tree | 22c0148718a82082bdb196c5e867697f514cc541 /zellij-utils/src/plugin_api/action.proto | |
| parent | docs(CONTRIBUTING): Describe rust toolchain versioning policy (#4585) (diff) | |
| download | sl0ppij-4a27ceea0d99b036ca607e05714cef15689d7c26.tar.gz sl0ppij-4a27ceea0d99b036ca607e05714cef15689d7c26.tar.xz sl0ppij-4a27ceea0d99b036ca607e05714cef15689d7c26.zip | |
Layout manager (#4601)
* ad plugin override_layout command
* watch available layouts and report to plugin thread
* Event::AvailableLayoutInfo
* save layout command
* refactor save_layout
* fix api and permissions
* delete_layout API command
* edit layout in place API
* edit layout response through api
* propagate layout parsing errors
* generate random name plugin api
* dump stringified layout API
* synchronicity dump_session_layout and include LayoutMetadata in sync response
* parse_layout plugin api
* fix: default to default layout dir in plugin api
* rename_layout plugin command API
* initial implementation of multi-tab override
* apply to multiple tabs
* allow applying to only the active tab
* add tab/pane names to layout parsing metadata
* indicate is_builtin_plugin in PaneMetadata
* get_layout_dir plugin API command
* consolidate (and fix) is_builtin_plugin logic
* fix bad ret
* allow dumping the layout for just a specific tab in the session
* get focused pane and tab sync api
* color last substring variants
* add plugin
* update assets
* fix tests
* add e2e tests for new plugin apis
* update ui with new shortcut
* rustfmt
* docs(changelog): add PR
Diffstat (limited to 'zellij-utils/src/plugin_api/action.proto')
| -rw-r--r-- | zellij-utils/src/plugin_api/action.proto | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/zellij-utils/src/plugin_api/action.proto b/zellij-utils/src/plugin_api/action.proto index de8ef44f..6b899b48 100644 --- a/zellij-utils/src/plugin_api/action.proto +++ b/zellij-utils/src/plugin_api/action.proto @@ -162,14 +162,20 @@ message NewTabPayload { optional UnblockCondition first_pane_unblock_condition = 9; } +message TabLayoutInfo { + uint32 tab_index = 1; + optional string tab_name = 2; + TiledPaneLayout tiled_layout = 3; + repeated FloatingPaneLayout floating_layouts = 4; + repeated SwapTiledLayout swap_tiled_layouts = 5; + repeated SwapFloatingLayout swap_floating_layouts = 6; +} + message OverrideLayoutPayload { - optional TiledPaneLayout tiled_layout = 1; - repeated FloatingPaneLayout floating_layouts = 2; - repeated SwapTiledLayout swap_tiled_layouts = 3; - repeated SwapFloatingLayout swap_floating_layouts = 4; - optional string tab_name = 5; - bool retain_existing_terminal_panes = 10; - bool retain_existing_plugin_panes = 11; + repeated TabLayoutInfo tabs = 1; + bool retain_existing_terminal_panes = 2; + bool retain_existing_plugin_panes = 3; + bool apply_only_to_active_tab = 4; } message Action { |
