@vibe-forge/client 0.11.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +6 -11
- package/dist/assets/{arc-De_WjPJ3.js → arc-CbOXL0l9.js} +1 -1
- package/dist/assets/{blockDiagram-c4efeb88-C4aR2zTE.js → blockDiagram-c4efeb88-CqxINvsS.js} +1 -1
- package/dist/assets/{c4Diagram-c83219d4-BZH3rq_m.js → c4Diagram-c83219d4-BKazU0hb.js} +1 -1
- package/dist/assets/channel-Dnopc5A6.js +1 -0
- package/dist/assets/{classDiagram-beda092f-BzJgBrIK.js → classDiagram-beda092f-fAFX5BpB.js} +1 -1
- package/dist/assets/{classDiagram-v2-2358418a-5ZtXcnT3.js → classDiagram-v2-2358418a-w1VkNGJj.js} +1 -1
- package/dist/assets/clone-sQthahUA.js +1 -0
- package/dist/assets/{createText-1719965b-DUVvEtmR.js → createText-1719965b-CEinakVP.js} +1 -1
- package/dist/assets/{cssMode-GoTNjuXX.js → cssMode-DPqRki4y.js} +1 -1
- package/dist/assets/{edges-96097737-Dd7m4Cvs.js → edges-96097737-Cb0F1_3K.js} +1 -1
- package/dist/assets/{erDiagram-0228fc6a-DxqFlG_f.js → erDiagram-0228fc6a-C-N2fx-J.js} +1 -1
- package/dist/assets/{flowDb-c6c81e3f-DU0C5kCI.js → flowDb-c6c81e3f-D1Xz_8Gf.js} +1 -1
- package/dist/assets/{flowDiagram-50d868cf-Di1uDa_X.js → flowDiagram-50d868cf-DyPSZyAj.js} +1 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-OazrdWQO.js +1 -0
- package/dist/assets/{flowchart-elk-definition-6af322e1-CwG8aty5.js → flowchart-elk-definition-6af322e1-Dr1DDXwE.js} +1 -1
- package/dist/assets/{freemarker2-j39cqTlI.js → freemarker2-C3DvPFaK.js} +1 -1
- package/dist/assets/{ganttDiagram-a2739b55-baO_lzL-.js → ganttDiagram-a2739b55-DmvY1GRj.js} +1 -1
- package/dist/assets/{gitGraphDiagram-82fe8481-COoHjYMf.js → gitGraphDiagram-82fe8481-CoXfPYYi.js} +1 -1
- package/dist/assets/{graph-KxESr4M5.js → graph-BkDQy7Qt.js} +1 -1
- package/dist/assets/{handlebars-BgjdZO8G.js → handlebars-BcTFdqjl.js} +1 -1
- package/dist/assets/{html-Ba7tYObe.js → html-Dg-O6XFr.js} +1 -1
- package/dist/assets/{htmlMode-Bztvbig1.js → htmlMode-B_wqYWvn.js} +1 -1
- package/dist/assets/{index-5325376f-BMTAx2mL.js → index-5325376f-kxPTR3_e.js} +1 -1
- package/dist/assets/index-o93dlo92.css +32 -0
- package/dist/assets/{index-Pm_kLJvG.js → index-wkhI4dr6.js} +350 -329
- package/dist/assets/{infoDiagram-8eee0895-CC74qbHY.js → infoDiagram-8eee0895-BEvqkwPI.js} +1 -1
- package/dist/assets/{javascript-C1e1cllX.js → javascript-DhlOH8_z.js} +1 -1
- package/dist/assets/{journeyDiagram-c64418c1-C4MyOdE6.js → journeyDiagram-c64418c1-gKtLYmmp.js} +1 -1
- package/dist/assets/{jsonMode-BC98AlvF.js → jsonMode-DxTbF9OD.js} +1 -1
- package/dist/assets/{layout-CxAyTlr7.js → layout-CDaZEk6E.js} +1 -1
- package/dist/assets/{line-DhaUfI71.js → line-DNRQu8iq.js} +1 -1
- package/dist/assets/{linear-MYukzldK.js → linear-Cph9Z6_j.js} +1 -1
- package/dist/assets/{liquid-DahfJEYl.js → liquid-ByZ6JgRG.js} +1 -1
- package/dist/assets/{lspLanguageFeatures-BWDJcswW.js → lspLanguageFeatures-DzvhkgnM.js} +1 -1
- package/dist/assets/{mdx-BELlF_FD.js → mdx-D8RGHTl6.js} +1 -1
- package/dist/assets/{mermaid.core-BrQnSGSY.js → mermaid.core-BgcryF__.js} +4 -4
- package/dist/assets/{mindmap-definition-8da855dc-B0FoxTiy.js → mindmap-definition-8da855dc-WrxK0FcB.js} +1 -1
- package/dist/assets/{pieDiagram-a8764435-Ddr2cjSL.js → pieDiagram-a8764435-VsZBsiQy.js} +1 -1
- package/dist/assets/{python--C9if_AD.js → python-CXVtk_cg.js} +1 -1
- package/dist/assets/{quadrantDiagram-1e28029f-BlEs7Mrl.js → quadrantDiagram-1e28029f-BVlgwOvU.js} +1 -1
- package/dist/assets/{razor-B9U9JxKn.js → razor-0tind7h2.js} +1 -1
- package/dist/assets/{requirementDiagram-08caed73-kEFOAu2v.js → requirementDiagram-08caed73-CpPMPoYp.js} +1 -1
- package/dist/assets/{sankeyDiagram-a04cb91d-BBghez8I.js → sankeyDiagram-a04cb91d-Cm5nnRmc.js} +1 -1
- package/dist/assets/{sequenceDiagram-c5b8d532-CJqgzdUE.js → sequenceDiagram-c5b8d532-DpMlJvJB.js} +1 -1
- package/dist/assets/{stateDiagram-1ecb1508-BER4XEI6.js → stateDiagram-1ecb1508-DU1zc7vq.js} +1 -1
- package/dist/assets/{stateDiagram-v2-c2b004d7-EBV2vSks.js → stateDiagram-v2-c2b004d7-D-0RgmAp.js} +1 -1
- package/dist/assets/{styles-b4e223ce-k0eswZsE.js → styles-b4e223ce-BSO-yNWV.js} +1 -1
- package/dist/assets/{styles-ca3715f6-Ckr7GA-0.js → styles-ca3715f6-CHnsn2Ro.js} +1 -1
- package/dist/assets/{styles-d45a18b0-C1bpSwV3.js → styles-d45a18b0-B-rVGjEq.js} +1 -1
- package/dist/assets/{svgDrawCommon-b86b1483-CDtKpGvy.js → svgDrawCommon-b86b1483-CA3Pl89f.js} +1 -1
- package/dist/assets/{timeline-definition-faaaa080-BeGR-vua.js → timeline-definition-faaaa080-BcihLR6s.js} +1 -1
- package/dist/assets/{tsMode-D_gJXIy3.js → tsMode-D9GGa5Ur.js} +1 -1
- package/dist/assets/{typescript-BoKcNXkN.js → typescript-BT9CK_EL.js} +1 -1
- package/dist/assets/{xml-DZvURlJ-.js → xml-DNO75J-T.js} +1 -1
- package/dist/assets/{xychartDiagram-f5964ef8-DxfeLuYV.js → xychartDiagram-f5964ef8-DJTwe32X.js} +1 -1
- package/dist/assets/{yaml-CTC8PAGY.js → yaml-7CVzhiP2.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +13 -10
- package/src/api/git.ts +12 -0
- package/src/api/sessions.ts +131 -4
- package/src/api/types.ts +2 -1
- package/src/api.ts +13 -0
- package/src/components/ArchiveView.scss +143 -54
- package/src/components/ArchiveView.tsx +181 -167
- package/src/components/CodeBlock.scss +5 -0
- package/src/components/ConfigView.scss +142 -31
- package/src/components/ConfigView.tsx +161 -86
- package/src/components/MarkdownContent.tsx +7 -0
- package/src/components/NavRail.scss +248 -0
- package/src/components/NavRail.tsx +80 -107
- package/src/components/NavRailCompact.tsx +107 -0
- package/src/components/NavRailCompactMoreSheet.tsx +141 -0
- package/src/components/ShortcutTooltip.tsx +4 -2
- package/src/components/Sidebar.scss +51 -0
- package/src/components/Sidebar.tsx +43 -16
- package/src/components/automation-view/RuleFormPanel.scss +40 -13
- package/src/components/automation-view/RuleSidebar.scss +73 -47
- package/src/components/automation-view/RuleSidebar.tsx +9 -13
- package/src/components/automation-view/RunHistoryPanel.scss +141 -13
- package/src/components/automation-view/RunHistoryPanel.tsx +203 -161
- package/src/components/automation-view/TaskList.scss +44 -13
- package/src/components/automation-view/TriggerList.scss +46 -14
- package/src/components/automation-view/index.scss +82 -10
- package/src/components/automation-view/index.tsx +108 -55
- package/src/components/benchmark-view/BenchmarkCasePanel.scss +36 -16
- package/src/components/benchmark-view/BenchmarkSidebar.scss +44 -22
- package/src/components/benchmark-view/BenchmarkSidebar.tsx +0 -6
- package/src/components/benchmark-view/BenchmarkView.scss +63 -20
- package/src/components/benchmark-view/index.tsx +71 -34
- package/src/components/chat/AGENTS.md +14 -2
- package/src/components/chat/ChatComposerCard.scss +77 -0
- package/src/components/chat/ChatComposerCard.tsx +59 -0
- package/src/components/chat/ChatHeader.scss +187 -0
- package/src/components/chat/ChatHeader.tsx +209 -57
- package/src/components/chat/ChatHistoryView.tsx +279 -52
- package/src/components/chat/ChatTimelineView.scss +94 -1
- package/src/components/chat/ChatTimelineView.tsx +42 -0
- package/src/components/chat/CurrentTodoList.scss +210 -200
- package/src/components/chat/CurrentTodoList.tsx +116 -48
- package/src/components/chat/NewSessionGuide.scss +139 -1
- package/src/components/chat/NewSessionGuide.tsx +57 -100
- package/src/components/chat/NewSessionGuideCompactPanel.tsx +130 -0
- package/src/components/chat/NewSessionGuideGrid.tsx +141 -0
- package/src/components/chat/QueuedMessagesCard.scss +195 -0
- package/src/components/chat/QueuedMessagesCard.tsx +170 -0
- package/src/components/chat/git-controls/BranchSwitcherDropdown.tsx +61 -56
- package/src/components/chat/git-controls/BranchSwitcherResults.tsx +167 -0
- package/src/components/chat/git-controls/BranchTreeEntries.tsx +99 -0
- package/src/components/chat/git-controls/ChatGitControls.scss +437 -5
- package/src/components/chat/git-controls/ChatGitControls.tsx +136 -109
- package/src/components/chat/git-controls/DraftGitControls.tsx +91 -0
- package/src/components/chat/git-controls/GitOperationsDropdown.tsx +10 -2
- package/src/components/chat/git-controls/GitWorktreeDropdown.tsx +301 -28
- package/src/components/chat/git-controls/git-branch-tree.ts +148 -0
- package/src/components/chat/git-controls/use-chat-draft-git-controls.ts +168 -0
- package/src/components/chat/git-controls/use-chat-git-controls.ts +76 -3
- package/src/components/chat/messages/MessageContextMenu.tsx +3 -1
- package/src/components/chat/messages/MessageItem.scss +78 -4
- package/src/components/chat/messages/MessageItem.tsx +47 -3
- package/src/components/chat/sender/@components/adapter-select/AdapterSelectControl.scss +23 -0
- package/src/components/chat/sender/@components/reference-actions/ReferenceActionsControl.scss +17 -0
- package/src/components/chat/sender/@components/reference-actions/ReferencePermissionActionsPopover.tsx +4 -1
- package/src/components/chat/sender/@components/sender-attachments/SenderAttachments.scss +167 -30
- package/src/components/chat/sender/@components/sender-attachments/SenderAttachments.tsx +95 -23
- package/src/components/chat/sender/@components/sender-body/SenderBody.tsx +10 -0
- package/src/components/chat/sender/@components/sender-interaction-panel/SenderInteractionPanel.scss +161 -45
- package/src/components/chat/sender/@components/sender-interaction-panel/SenderInteractionPanel.tsx +310 -71
- package/src/components/chat/sender/@components/sender-monaco-editor/SenderMonacoEditor.tsx +18 -0
- package/src/components/chat/sender/@components/sender-monaco-editor/use-sender-monaco-editor.ts +86 -9
- package/src/components/chat/sender/@components/sender-monaco-editor/use-sender-monaco-theme.ts +52 -3
- package/src/components/chat/sender/@components/sender-submit-action/SenderSubmitAction.scss +110 -1
- package/src/components/chat/sender/@components/sender-submit-action/SenderSubmitAction.tsx +137 -17
- package/src/components/chat/sender/@components/sender-toolbar/SenderSelectBase.scss +21 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderSelectShared.scss +21 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderToolbar.scss +63 -0
- package/src/components/chat/sender/@components/sender-toolbar/SenderToolbar.tsx +12 -6
- package/src/components/chat/sender/@core/build-sender-controller-result.ts +6 -0
- package/src/components/chat/sender/@core/build-sender-toolbar.ts +25 -2
- package/src/components/chat/sender/@core/create-sender-toolbar-handlers.ts +9 -2
- package/src/components/chat/sender/@core/get-sender-runtime-state.ts +1 -1
- package/src/components/chat/sender/@core/interaction-request.ts +2 -2
- package/src/components/chat/sender/@core/sender-toolbar-bindings.ts +28 -4
- package/src/components/chat/sender/@hooks/use-model-select-browser.tsx +4 -2
- package/src/components/chat/sender/@hooks/use-sender-controller.ts +56 -11
- package/src/components/chat/sender/@hooks/use-sender-keydown.ts +64 -0
- package/src/components/chat/sender/@hooks/use-sender-shortcuts.ts +16 -1
- package/src/components/chat/sender/@hooks/use-sender-submit.ts +16 -8
- package/src/components/chat/sender/@types/sender-props.ts +20 -3
- package/src/components/chat/sender/@types/sender-toolbar-types.ts +12 -1
- package/src/components/chat/sender/Sender.scss +4 -1
- package/src/components/chat/sender/Sender.tsx +3 -12
- package/src/components/chat/session-timeline-panel/EventList.scss +88 -0
- package/src/components/chat/session-timeline-panel/EventList.tsx +99 -47
- package/src/components/chat/session-timeline-panel/gantt.ts +23 -7
- package/src/components/chat/session-timeline-panel/git-graph.ts +6 -1
- package/src/components/chat/session-timeline-panel/index.scss +14 -1
- package/src/components/chat/session-timeline-panel/index.tsx +86 -10
- package/src/components/chat/session-timeline-panel/types.ts +4 -0
- package/src/components/chat/status-bar/ChatStatusBar.scss +27 -0
- package/src/components/chat/status-bar/ChatStatusBar.tsx +39 -0
- package/src/components/chat/terminal/ChatTerminalView.tsx +6 -0
- package/src/components/chat/tools/core/ToolCallBox.scss +19 -0
- package/src/components/chat/tools/core/ToolGroup.scss +32 -0
- package/src/components/chat/tools/task/components/TaskToolCard.scss +59 -1
- package/src/components/config/ConfigEditors.scss +20 -6
- package/src/components/config/ConfigFieldRow.scss +57 -17
- package/src/components/config/ConfigSectionForm.scss +10 -4
- package/src/components/config/ConfigSectionPanel.tsx +18 -11
- package/src/components/config/configSchema.ts +1 -0
- package/src/components/config/record-editors/RecordEditors.scss +42 -9
- package/src/components/dock-panel/DockPanel.scss +6 -2
- package/src/components/dock-panel/DockPanel.tsx +12 -16
- package/src/components/knowledge-base/KnowledgeBaseView.scss +180 -6
- package/src/components/knowledge-base/KnowledgeBaseView.tsx +98 -26
- package/src/components/knowledge-base/components/ActionButton.scss +4 -0
- package/src/components/knowledge-base/components/EmptyState.scss +5 -8
- package/src/components/knowledge-base/components/EntitiesTab.tsx +8 -2
- package/src/components/knowledge-base/components/EntityItem.scss +10 -3
- package/src/components/knowledge-base/components/FilterBar.scss +13 -2
- package/src/components/knowledge-base/components/FlowsTab.tsx +8 -2
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.scss +2 -23
- package/src/components/knowledge-base/components/KnowledgeBaseHeader.tsx +0 -5
- package/src/components/knowledge-base/components/KnowledgeList.scss +15 -6
- package/src/components/knowledge-base/components/LoadingState.scss +4 -0
- package/src/components/knowledge-base/components/RuleItem.scss +86 -0
- package/src/components/knowledge-base/components/RuleItem.tsx +2 -0
- package/src/components/knowledge-base/components/RulesTab.tsx +8 -2
- package/src/components/knowledge-base/components/SectionHeader.scss +3 -18
- package/src/components/knowledge-base/components/SectionHeader.tsx +3 -7
- package/src/components/knowledge-base/components/SkillsTab.tsx +8 -3
- package/src/components/knowledge-base/components/SpecItem.scss +16 -7
- package/src/components/layout/@hooks/use-mobile-sidebar-modal.ts +190 -0
- package/src/components/layout/AppShell.scss +106 -6
- package/src/components/layout/AppShell.tsx +118 -10
- package/src/components/layout/PageShell.scss +41 -0
- package/src/components/layout/PageShell.tsx +32 -0
- package/src/components/layout/mobile-sidebar-constants.ts +1 -0
- package/src/components/nav-rail-compact-config.ts +114 -0
- package/src/components/nav-rail-items.tsx +181 -0
- package/src/components/sidebar/SessionContextMenu.tsx +3 -1
- package/src/components/sidebar/SessionItem.scss +62 -0
- package/src/components/sidebar/SessionItem.tsx +97 -52
- package/src/components/sidebar/SessionList.tsx +6 -0
- package/src/components/sidebar/SidebarHeader.scss +49 -0
- package/src/components/sidebar/SidebarHeader.tsx +27 -5
- package/src/components/sidebar/SidebarHeaderBatchActions.tsx +8 -4
- package/src/components/sidebar/SidebarHeaderSearchActions.tsx +6 -3
- package/src/components/sidebar/SidebarUtilityFooter.tsx +69 -0
- package/src/components/workspace/ContextFilePicker.tsx +12 -4
- package/src/hooks/chat/chat-session-workspace-draft.ts +25 -0
- package/src/hooks/chat/session-view-cache.ts +4 -1
- package/src/hooks/chat/use-chat-adapter.ts +5 -1
- package/src/hooks/chat/use-chat-model-adapter-selection.tsx +5 -1
- package/src/hooks/chat/use-chat-scroll.ts +24 -7
- package/src/hooks/chat/use-chat-session-actions.ts +118 -6
- package/src/hooks/chat/use-chat-session-messages.ts +20 -1
- package/src/hooks/chat/use-chat-session.ts +2 -0
- package/src/hooks/use-responsive-layout.ts +115 -0
- package/src/main.tsx +8 -0
- package/src/resources/adapters.ts +15 -0
- package/src/resources/locales/en.json +84 -1
- package/src/resources/locales/zh.json +84 -1
- package/src/routes/ChatRoute.scss +152 -9
- package/src/routes/ChatRoute.tsx +31 -34
- package/src/store/index.ts +2 -0
- package/dist/assets/channel-BvERb8WU.js +0 -1
- package/dist/assets/clone-B9_0v-6Y.js +0 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-LpS8Kb00.js +0 -1
- package/dist/assets/index-C1oh0w9H.css +0 -32
- package/src/components/chat/ThinkingStatus.scss +0 -70
- package/src/components/chat/ThinkingStatus.tsx +0 -13
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
&__list {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
gap:
|
|
5
|
+
gap: 10px;
|
|
6
6
|
|
|
7
7
|
&--horizontal {
|
|
8
|
-
gap:
|
|
8
|
+
gap: 8px;
|
|
9
9
|
|
|
10
10
|
.automation-view__list-item {
|
|
11
11
|
flex: 0 0 360px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
&-scroll {
|
|
17
17
|
display: flex;
|
|
18
|
-
gap:
|
|
18
|
+
gap: 8px;
|
|
19
19
|
overflow-x: auto;
|
|
20
20
|
padding-bottom: 4px;
|
|
21
21
|
|
|
@@ -29,11 +29,17 @@
|
|
|
29
29
|
&__list-item {
|
|
30
30
|
position: relative;
|
|
31
31
|
border: 1px solid var(--border-color);
|
|
32
|
-
border-radius:
|
|
32
|
+
border-radius: 8px;
|
|
33
33
|
padding: 12px;
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
|
-
background: var(--
|
|
36
|
+
background: var(--bg-color);
|
|
37
|
+
transition: border-color .2s ease, background-color .2s ease;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__list-item:hover {
|
|
41
|
+
border-color: rgba(37, 99, 235, .18);
|
|
42
|
+
background: var(--tag-hover-bg);
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
&__list-header {
|
|
@@ -59,7 +65,7 @@
|
|
|
59
65
|
&__section-actions {
|
|
60
66
|
display: inline-flex;
|
|
61
67
|
align-items: center;
|
|
62
|
-
gap:
|
|
68
|
+
gap: 6px;
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
&__section-count {
|
|
@@ -90,9 +96,11 @@
|
|
|
90
96
|
display: inline-flex;
|
|
91
97
|
align-items: center;
|
|
92
98
|
justify-content: center;
|
|
93
|
-
width:
|
|
94
|
-
|
|
99
|
+
width: 28px;
|
|
100
|
+
min-width: 28px;
|
|
101
|
+
height: 28px;
|
|
95
102
|
padding: 0;
|
|
103
|
+
border-radius: 6px;
|
|
96
104
|
}
|
|
97
105
|
|
|
98
106
|
&__action-icon {
|
|
@@ -101,15 +109,16 @@
|
|
|
101
109
|
|
|
102
110
|
&__remove-button {
|
|
103
111
|
position: absolute;
|
|
104
|
-
top:
|
|
105
|
-
right:
|
|
106
|
-
width:
|
|
107
|
-
|
|
112
|
+
top: 6px;
|
|
113
|
+
right: 6px;
|
|
114
|
+
width: 28px;
|
|
115
|
+
min-width: 28px;
|
|
116
|
+
height: 28px;
|
|
108
117
|
padding: 0;
|
|
109
118
|
display: inline-flex;
|
|
110
119
|
align-items: center;
|
|
111
120
|
justify-content: center;
|
|
112
|
-
border-radius:
|
|
121
|
+
border-radius: 6px;
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
&__task-index {
|
|
@@ -123,4 +132,26 @@
|
|
|
123
132
|
&__task-index-icon {
|
|
124
133
|
font-size: 14px;
|
|
125
134
|
}
|
|
135
|
+
|
|
136
|
+
&__list-item .ant-form-item {
|
|
137
|
+
margin-bottom: 10px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&__list-item .ant-form-item:last-child {
|
|
141
|
+
margin-bottom: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&__list-item .ant-input,
|
|
145
|
+
&__list-item .ant-input-affix-wrapper,
|
|
146
|
+
&__list-item .ant-input-number,
|
|
147
|
+
&__list-item .ant-select-selector {
|
|
148
|
+
border-radius: 6px !important;
|
|
149
|
+
background: var(--sub-bg-color);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&__list-item .ant-input,
|
|
153
|
+
&__list-item .ant-input-affix-wrapper,
|
|
154
|
+
&__list-item .ant-select-selector {
|
|
155
|
+
min-height: 30px;
|
|
156
|
+
}
|
|
126
157
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
&__list {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
gap:
|
|
5
|
+
gap: 10px;
|
|
6
6
|
|
|
7
7
|
&--horizontal {
|
|
8
|
-
gap:
|
|
8
|
+
gap: 8px;
|
|
9
9
|
|
|
10
10
|
.automation-view__list-item {
|
|
11
11
|
flex: 0 0 360px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
&-scroll {
|
|
17
17
|
display: flex;
|
|
18
|
-
gap:
|
|
18
|
+
gap: 8px;
|
|
19
19
|
overflow-x: auto;
|
|
20
20
|
padding-bottom: 4px;
|
|
21
21
|
|
|
@@ -29,11 +29,17 @@
|
|
|
29
29
|
&__list-item {
|
|
30
30
|
position: relative;
|
|
31
31
|
border: 1px solid var(--border-color);
|
|
32
|
-
border-radius:
|
|
32
|
+
border-radius: 8px;
|
|
33
33
|
padding: 12px;
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
|
-
background: var(--
|
|
36
|
+
background: var(--bg-color);
|
|
37
|
+
transition: border-color .2s ease, background-color .2s ease;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__list-item:hover {
|
|
41
|
+
border-color: rgba(37, 99, 235, .18);
|
|
42
|
+
background: var(--tag-hover-bg);
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
&__list-header {
|
|
@@ -59,7 +65,7 @@
|
|
|
59
65
|
&__section-actions {
|
|
60
66
|
display: inline-flex;
|
|
61
67
|
align-items: center;
|
|
62
|
-
gap:
|
|
68
|
+
gap: 6px;
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
&__section-count {
|
|
@@ -90,9 +96,11 @@
|
|
|
90
96
|
display: inline-flex;
|
|
91
97
|
align-items: center;
|
|
92
98
|
justify-content: center;
|
|
93
|
-
width:
|
|
94
|
-
|
|
99
|
+
width: 28px;
|
|
100
|
+
min-width: 28px;
|
|
101
|
+
height: 28px;
|
|
95
102
|
padding: 0;
|
|
103
|
+
border-radius: 6px;
|
|
96
104
|
}
|
|
97
105
|
|
|
98
106
|
&__action-icon {
|
|
@@ -101,15 +109,16 @@
|
|
|
101
109
|
|
|
102
110
|
&__remove-button {
|
|
103
111
|
position: absolute;
|
|
104
|
-
top:
|
|
105
|
-
right:
|
|
106
|
-
width:
|
|
107
|
-
|
|
112
|
+
top: 6px;
|
|
113
|
+
right: 6px;
|
|
114
|
+
width: 28px;
|
|
115
|
+
min-width: 28px;
|
|
116
|
+
height: 28px;
|
|
108
117
|
padding: 0;
|
|
109
118
|
display: inline-flex;
|
|
110
119
|
align-items: center;
|
|
111
120
|
justify-content: center;
|
|
112
|
-
border-radius:
|
|
121
|
+
border-radius: 6px;
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
&__input-number {
|
|
@@ -146,11 +155,34 @@
|
|
|
146
155
|
gap: 8px;
|
|
147
156
|
padding: 8px 12px;
|
|
148
157
|
border-radius: 8px;
|
|
149
|
-
|
|
158
|
+
border: 1px solid var(--border-color);
|
|
159
|
+
background: var(--sub-bg-color);
|
|
150
160
|
color: var(--sub-text-color);
|
|
151
161
|
}
|
|
152
162
|
|
|
153
163
|
&__webhook-label {
|
|
154
164
|
font-size: 12px;
|
|
155
165
|
}
|
|
166
|
+
|
|
167
|
+
&__list-item .ant-form-item {
|
|
168
|
+
margin-bottom: 10px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&__list-item .ant-form-item:last-child {
|
|
172
|
+
margin-bottom: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&__list-item .ant-input,
|
|
176
|
+
&__list-item .ant-input-affix-wrapper,
|
|
177
|
+
&__list-item .ant-input-number,
|
|
178
|
+
&__list-item .ant-select-selector {
|
|
179
|
+
border-radius: 6px !important;
|
|
180
|
+
background: var(--sub-bg-color);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__list-item .ant-input,
|
|
184
|
+
&__list-item .ant-input-affix-wrapper,
|
|
185
|
+
&__list-item .ant-select-selector {
|
|
186
|
+
min-height: 30px;
|
|
187
|
+
}
|
|
156
188
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
.automation-view {
|
|
2
|
+
&__body {
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
gap: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__mobile-switcher-shell {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
2
12
|
display: flex;
|
|
3
13
|
height: 100%;
|
|
4
|
-
padding: 24px;
|
|
5
14
|
overflow: hidden;
|
|
6
15
|
|
|
7
16
|
.ant-form-item {
|
|
@@ -9,22 +18,85 @@
|
|
|
9
18
|
}
|
|
10
19
|
|
|
11
20
|
&__left {
|
|
12
|
-
width:
|
|
13
|
-
min-width:
|
|
21
|
+
width: var(--subpage-secondary-panel-width);
|
|
22
|
+
min-width: var(--subpage-secondary-panel-width);
|
|
23
|
+
max-width: var(--subpage-secondary-panel-width);
|
|
14
24
|
display: flex;
|
|
15
25
|
flex-direction: column;
|
|
16
26
|
overflow: hidden;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
&__divider {
|
|
20
|
-
width: 1px;
|
|
21
|
-
background: var(--border-color);
|
|
22
|
-
margin: 0 24px;
|
|
27
|
+
background: var(--sub-bg-color);
|
|
23
28
|
}
|
|
24
29
|
|
|
25
30
|
&__right {
|
|
26
31
|
flex: 1;
|
|
27
32
|
overflow: hidden;
|
|
28
|
-
|
|
33
|
+
min-width: 0;
|
|
34
|
+
margin: var(--subpage-content-card-gap);
|
|
35
|
+
margin-left: 0;
|
|
36
|
+
padding: 10px 12px 12px;
|
|
37
|
+
border-radius: var(--subpage-content-card-radius);
|
|
38
|
+
background: var(--subpage-content-card-bg);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (max-width: 1100px) {
|
|
43
|
+
.automation-view {
|
|
44
|
+
&__body {
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__left {
|
|
49
|
+
width: 100%;
|
|
50
|
+
min-width: 0;
|
|
51
|
+
max-height: 360px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__right {
|
|
55
|
+
margin-top: 0;
|
|
56
|
+
margin-left: var(--subpage-content-card-gap);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (max-width: 960px) {
|
|
62
|
+
.automation-view--compact {
|
|
63
|
+
.automation-view__body {
|
|
64
|
+
gap: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.automation-view__mobile-switcher-shell {
|
|
68
|
+
display: block;
|
|
69
|
+
padding: 12px;
|
|
70
|
+
padding-bottom: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.automation-view__mobile-switcher {
|
|
74
|
+
width: 100%;
|
|
75
|
+
|
|
76
|
+
.ant-segmented-group {
|
|
77
|
+
gap: 4px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ant-segmented-item {
|
|
81
|
+
min-height: 32px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.automation-view__left,
|
|
86
|
+
.automation-view__right {
|
|
87
|
+
width: auto;
|
|
88
|
+
min-width: 0;
|
|
89
|
+
max-width: none;
|
|
90
|
+
max-height: none;
|
|
91
|
+
margin: 12px;
|
|
92
|
+
margin-top: 12px;
|
|
93
|
+
border-radius: var(--subpage-content-card-radius);
|
|
94
|
+
background: var(--subpage-content-card-bg);
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.automation-view__right {
|
|
99
|
+
padding: 12px;
|
|
100
|
+
}
|
|
29
101
|
}
|
|
30
102
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.scss'
|
|
2
2
|
|
|
3
|
-
import { App } from 'antd'
|
|
3
|
+
import { App, Segmented } from 'antd'
|
|
4
4
|
import React, { useCallback, useEffect, useMemo, useState } from 'react'
|
|
5
5
|
import { useTranslation } from 'react-i18next'
|
|
6
6
|
import { useNavigate } from 'react-router-dom'
|
|
@@ -16,6 +16,8 @@ import {
|
|
|
16
16
|
runAutomationRule,
|
|
17
17
|
updateAutomationRule
|
|
18
18
|
} from '#~/api.js'
|
|
19
|
+
import { PageShell } from '#~/components/layout/PageShell'
|
|
20
|
+
import { useResponsiveLayout } from '#~/hooks/use-responsive-layout'
|
|
19
21
|
import { useQueryParams } from '#~/hooks/useQueryParams.js'
|
|
20
22
|
|
|
21
23
|
import { RuleFormPanel } from './RuleFormPanel.js'
|
|
@@ -36,6 +38,7 @@ interface AutomationQueryParams extends Record<string, string> {
|
|
|
36
38
|
export function AutomationView() {
|
|
37
39
|
const { t } = useTranslation()
|
|
38
40
|
const { message } = App.useApp()
|
|
41
|
+
const { isCompactLayout, isTouchInteraction } = useResponsiveLayout()
|
|
39
42
|
const navigate = useNavigate()
|
|
40
43
|
const { data, mutate } = useSWR<{ rules: AutomationRule[] }>(
|
|
41
44
|
'/api/automation/rules',
|
|
@@ -44,6 +47,8 @@ export function AutomationView() {
|
|
|
44
47
|
const rules = data?.rules ?? []
|
|
45
48
|
const [panelMode, setPanelMode] = useState<PanelMode>('view')
|
|
46
49
|
const [submitting, setSubmitting] = useState(false)
|
|
50
|
+
const [mobilePanel, setMobilePanel] = useState<'rules' | 'details'>('rules')
|
|
51
|
+
const isCompactView = isCompactLayout || isTouchInteraction
|
|
47
52
|
|
|
48
53
|
const { values, update } = useQueryParams<AutomationQueryParams>({
|
|
49
54
|
keys: ['rule', 'q', 'runQ', 'status', 'time', 'sort'],
|
|
@@ -89,23 +94,50 @@ export function AutomationView() {
|
|
|
89
94
|
}
|
|
90
95
|
}, [rules, update, values.rule])
|
|
91
96
|
|
|
97
|
+
useEffect(() => {
|
|
98
|
+
if (!isCompactView) return
|
|
99
|
+
if (panelMode !== 'view') {
|
|
100
|
+
setMobilePanel('details')
|
|
101
|
+
return
|
|
102
|
+
}
|
|
103
|
+
if (selectedRuleId == null) {
|
|
104
|
+
setMobilePanel('rules')
|
|
105
|
+
}
|
|
106
|
+
}, [isCompactView, panelMode, selectedRuleId])
|
|
107
|
+
|
|
92
108
|
const handleSelectRule = useCallback((ruleId: string) => {
|
|
93
109
|
setPanelMode('view')
|
|
94
110
|
update({ rule: ruleId })
|
|
95
|
-
|
|
111
|
+
if (isCompactView) {
|
|
112
|
+
setMobilePanel('details')
|
|
113
|
+
}
|
|
114
|
+
}, [isCompactView, update])
|
|
96
115
|
|
|
97
116
|
const handleCreateRule = useCallback(() => {
|
|
98
117
|
setPanelMode('create')
|
|
99
|
-
|
|
118
|
+
if (isCompactView) {
|
|
119
|
+
setMobilePanel('details')
|
|
120
|
+
}
|
|
121
|
+
}, [isCompactView])
|
|
100
122
|
|
|
101
123
|
const handleEditRule = useCallback((rule: AutomationRule) => {
|
|
102
124
|
setPanelMode('edit')
|
|
103
125
|
update({ rule: rule.id })
|
|
104
|
-
|
|
126
|
+
if (isCompactView) {
|
|
127
|
+
setMobilePanel('details')
|
|
128
|
+
}
|
|
129
|
+
}, [isCompactView, update])
|
|
105
130
|
|
|
106
131
|
const handleCancelForm = useCallback(() => {
|
|
107
132
|
setPanelMode('view')
|
|
108
|
-
|
|
133
|
+
if (isCompactView) {
|
|
134
|
+
setMobilePanel(selectedRuleId != null ? 'details' : 'rules')
|
|
135
|
+
}
|
|
136
|
+
}, [isCompactView, selectedRuleId])
|
|
137
|
+
|
|
138
|
+
const showRuleList = !isCompactView || mobilePanel === 'rules'
|
|
139
|
+
const showDetails = !isCompactView || mobilePanel === 'details'
|
|
140
|
+
const detailDisabled = panelMode === 'view' && selectedRule == null
|
|
109
141
|
|
|
110
142
|
const handleSubmit = useCallback(async (
|
|
111
143
|
payload: Partial<AutomationRule>,
|
|
@@ -173,57 +205,78 @@ export function AutomationView() {
|
|
|
173
205
|
}, [message, mutate, t])
|
|
174
206
|
|
|
175
207
|
return (
|
|
176
|
-
<
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<div className='automation-view__divider' />
|
|
192
|
-
<div className='automation-view__right'>
|
|
193
|
-
{panelMode === 'create' && (
|
|
194
|
-
<RuleFormPanel
|
|
195
|
-
mode='create'
|
|
196
|
-
rule={null}
|
|
197
|
-
submitting={submitting}
|
|
198
|
-
onSubmit={handleSubmit}
|
|
199
|
-
onCancel={handleCancelForm}
|
|
200
|
-
/>
|
|
201
|
-
)}
|
|
202
|
-
{panelMode === 'edit' && (
|
|
203
|
-
<RuleFormPanel
|
|
204
|
-
mode='edit'
|
|
205
|
-
rule={selectedRule}
|
|
206
|
-
submitting={submitting}
|
|
207
|
-
onSubmit={handleSubmit}
|
|
208
|
-
onCancel={handleCancelForm}
|
|
208
|
+
<PageShell
|
|
209
|
+
className={`automation-view ${isCompactView ? 'automation-view--compact' : ''}`}
|
|
210
|
+
bodyClassName='automation-view__body'
|
|
211
|
+
>
|
|
212
|
+
{isCompactView && (
|
|
213
|
+
<div className='automation-view__mobile-switcher-shell'>
|
|
214
|
+
<Segmented
|
|
215
|
+
block
|
|
216
|
+
className='automation-view__mobile-switcher'
|
|
217
|
+
value={mobilePanel}
|
|
218
|
+
onChange={(value) => setMobilePanel(value as 'rules' | 'details')}
|
|
219
|
+
options={[
|
|
220
|
+
{ label: t('automation.mobileRules'), value: 'rules' },
|
|
221
|
+
{ label: t('automation.mobileDetails'), value: 'details', disabled: detailDisabled }
|
|
222
|
+
]}
|
|
209
223
|
/>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
+
</div>
|
|
225
|
+
)}
|
|
226
|
+
{showRuleList && (
|
|
227
|
+
<div className='automation-view__left'>
|
|
228
|
+
<RuleSidebar
|
|
229
|
+
rules={rules}
|
|
230
|
+
selectedRuleId={selectedRuleId}
|
|
231
|
+
query={values.q}
|
|
232
|
+
isCreating={panelMode === 'create'}
|
|
233
|
+
onCreate={handleCreateRule}
|
|
234
|
+
onSelect={handleSelectRule}
|
|
235
|
+
onRun={handleRun}
|
|
236
|
+
onDelete={handleDelete}
|
|
237
|
+
onToggle={handleToggle}
|
|
238
|
+
onQueryChange={(value: string) => update({ q: value })}
|
|
224
239
|
/>
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
240
|
+
</div>
|
|
241
|
+
)}
|
|
242
|
+
{showDetails && (
|
|
243
|
+
<div className='automation-view__right'>
|
|
244
|
+
{panelMode === 'create' && (
|
|
245
|
+
<RuleFormPanel
|
|
246
|
+
mode='create'
|
|
247
|
+
rule={null}
|
|
248
|
+
submitting={submitting}
|
|
249
|
+
onSubmit={handleSubmit}
|
|
250
|
+
onCancel={handleCancelForm}
|
|
251
|
+
/>
|
|
252
|
+
)}
|
|
253
|
+
{panelMode === 'edit' && (
|
|
254
|
+
<RuleFormPanel
|
|
255
|
+
mode='edit'
|
|
256
|
+
rule={selectedRule}
|
|
257
|
+
submitting={submitting}
|
|
258
|
+
onSubmit={handleSubmit}
|
|
259
|
+
onCancel={handleCancelForm}
|
|
260
|
+
/>
|
|
261
|
+
)}
|
|
262
|
+
{panelMode === 'view' && (
|
|
263
|
+
<RunHistoryPanel
|
|
264
|
+
compact={isCompactView}
|
|
265
|
+
rule={selectedRule}
|
|
266
|
+
runs={runs}
|
|
267
|
+
runQuery={values.runQ}
|
|
268
|
+
statusFilter={values.status}
|
|
269
|
+
timeFilter={values.time}
|
|
270
|
+
sortOrder={values.sort}
|
|
271
|
+
onEditRule={handleEditRule}
|
|
272
|
+
onRunQueryChange={(value: string) => update({ runQ: value })}
|
|
273
|
+
onStatusFilterChange={(value: string) => update({ status: value })}
|
|
274
|
+
onTimeFilterChange={(value: string) => update({ time: value })}
|
|
275
|
+
onSortOrderChange={(value: string) => update({ sort: value })}
|
|
276
|
+
/>
|
|
277
|
+
)}
|
|
278
|
+
</div>
|
|
279
|
+
)}
|
|
280
|
+
</PageShell>
|
|
228
281
|
)
|
|
229
282
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
gap: 8px;
|
|
7
|
-
padding:
|
|
7
|
+
padding: 0 0 2px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
&__case-title-row {
|
|
@@ -41,25 +41,30 @@
|
|
|
41
41
|
&__section {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
|
-
gap:
|
|
45
|
-
padding:
|
|
44
|
+
gap: 10px;
|
|
45
|
+
padding: 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&__section--last {
|
|
49
|
-
padding-bottom:
|
|
49
|
+
padding-bottom: 0;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&__twin-grid {
|
|
53
53
|
display: grid;
|
|
54
54
|
grid-template-columns: 1fr 1fr;
|
|
55
|
-
gap:
|
|
55
|
+
gap: 20px;
|
|
56
56
|
align-items: start;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&__goal-body {
|
|
60
|
+
min-height: 220px;
|
|
60
61
|
max-height: 360px;
|
|
61
|
-
overflow
|
|
62
|
+
overflow: auto;
|
|
62
63
|
overflow-x: hidden;
|
|
64
|
+
padding: var(--subpage-tertiary-padding);
|
|
65
|
+
border: var(--subpage-tertiary-border);
|
|
66
|
+
border-radius: var(--subpage-tertiary-radius);
|
|
67
|
+
background: var(--subpage-tertiary-bg);
|
|
63
68
|
}
|
|
64
69
|
|
|
65
70
|
&__task-goal {
|
|
@@ -114,8 +119,8 @@
|
|
|
114
119
|
align-items: flex-start;
|
|
115
120
|
}
|
|
116
121
|
|
|
117
|
-
code,
|
|
118
|
-
span:last-child {
|
|
122
|
+
> code,
|
|
123
|
+
> span:last-child {
|
|
119
124
|
max-width: 70%;
|
|
120
125
|
text-align: right;
|
|
121
126
|
white-space: pre-wrap;
|
|
@@ -133,6 +138,10 @@
|
|
|
133
138
|
display: flex;
|
|
134
139
|
flex-direction: column;
|
|
135
140
|
gap: 12px;
|
|
141
|
+
padding: var(--subpage-tertiary-padding);
|
|
142
|
+
border: var(--subpage-tertiary-border);
|
|
143
|
+
border-radius: var(--subpage-tertiary-radius);
|
|
144
|
+
background: var(--subpage-tertiary-bg);
|
|
136
145
|
}
|
|
137
146
|
|
|
138
147
|
&__run-metric {
|
|
@@ -162,16 +171,23 @@
|
|
|
162
171
|
&__score-strip {
|
|
163
172
|
display: grid;
|
|
164
173
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
165
|
-
gap:
|
|
174
|
+
gap: 0;
|
|
175
|
+
border: var(--subpage-tertiary-border);
|
|
176
|
+
border-radius: var(--subpage-tertiary-radius);
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
background: var(--subpage-tertiary-bg);
|
|
166
179
|
}
|
|
167
180
|
|
|
168
181
|
&__score-item {
|
|
169
182
|
display: flex;
|
|
170
183
|
flex-direction: column;
|
|
171
184
|
gap: 4px;
|
|
172
|
-
padding: 10px
|
|
173
|
-
|
|
174
|
-
|
|
185
|
+
padding: var(--subpage-tertiary-padding) 10px;
|
|
186
|
+
background: transparent;
|
|
187
|
+
|
|
188
|
+
&:not(:last-child) {
|
|
189
|
+
border-right: 1px solid var(--border-color);
|
|
190
|
+
}
|
|
175
191
|
|
|
176
192
|
label {
|
|
177
193
|
font-size: 12px;
|
|
@@ -197,10 +213,10 @@
|
|
|
197
213
|
}
|
|
198
214
|
|
|
199
215
|
&__subpanel {
|
|
200
|
-
border-radius:
|
|
201
|
-
border:
|
|
202
|
-
background: var(--
|
|
203
|
-
padding:
|
|
216
|
+
border-radius: var(--subpage-tertiary-radius);
|
|
217
|
+
border: var(--subpage-tertiary-border);
|
|
218
|
+
background: var(--subpage-tertiary-bg);
|
|
219
|
+
padding: var(--subpage-tertiary-padding);
|
|
204
220
|
display: flex;
|
|
205
221
|
flex-direction: column;
|
|
206
222
|
gap: 10px;
|
|
@@ -263,5 +279,9 @@
|
|
|
263
279
|
&__score-strip {
|
|
264
280
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
265
281
|
}
|
|
282
|
+
|
|
283
|
+
&__twin-grid {
|
|
284
|
+
grid-template-columns: 1fr;
|
|
285
|
+
}
|
|
266
286
|
}
|
|
267
287
|
}
|