feat: add CLI Viewer Page with multi-pane layout and state management

- Implemented the CliViewerPage component for displaying CLI outputs in a configurable multi-pane layout.
- Integrated Zustand for state management, allowing for dynamic layout changes and tab management.
- Added layout options: single, split horizontal, split vertical, and 2x2 grid.
- Created viewerStore for managing layout, panes, and tabs, including actions for adding/removing panes and tabs.
- Added CoordinatorPage barrel export for easier imports.
This commit is contained in:
catlog22
2026-02-03 17:28:26 +08:00
parent b63e254f36
commit 37ba849e75
101 changed files with 10422 additions and 1145 deletions

View File

@@ -39,22 +39,16 @@ export default [
},
{
path: '/docs/docs',
component: ComponentCreator('/docs/docs', '7fe'),
component: ComponentCreator('/docs/docs', '942'),
routes: [
{
path: '/docs/docs',
component: ComponentCreator('/docs/docs', '830'),
component: ComponentCreator('/docs/docs', 'a90'),
routes: [
{
path: '/docs/docs',
component: ComponentCreator('/docs/docs', '77f'),
component: ComponentCreator('/docs/docs', 'c2e'),
routes: [
{
path: '/docs/docs/',
component: ComponentCreator('/docs/docs/', '2fa'),
exact: true,
sidebar: "docs"
},
{
path: '/docs/docs/commands/cli/cli-init',
component: ComponentCreator('/docs/docs/commands/cli/cli-init', 'c74'),
@@ -193,6 +187,12 @@ export default [
exact: true,
sidebar: "docs"
},
{
path: '/docs/docs/overview',
component: ComponentCreator('/docs/docs/overview', '7df'),
exact: true,
sidebar: "docs"
},
{
path: '/docs/docs/workflows/faq',
component: ComponentCreator('/docs/docs/workflows/faq', 'f47'),