File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 "@headlessui/react" : " ^2.2.4" ,
2424 "@tanstack/react-query" : " ^5.81.5" ,
2525 "@zxcvbn-ts/core" : " ^3.0.4" ,
26- "ahooks" : " ^3.8.5 " ,
26+ "ahooks" : " ^3.9.0 " ,
2727 "antd" : " ^5.26.2" ,
2828 "axios" : " ^1.10.0" ,
2929 "clsx" : " ^2.1.1" ,
4545 },
4646 "devDependencies" : {
4747 "@biomejs/biome" : " ^2.0.6" ,
48- "@rsbuild/core" : " ^1.4.1 " ,
48+ "@rsbuild/core" : " ^1.4.2 " ,
4949 "@rsbuild/plugin-image-compress" : " ^1.2.0" ,
5050 "@rsbuild/plugin-react" : " ^1.3.2" ,
5151 "@rsbuild/plugin-sass" : " ^1.3.2" ,
5454 "@tailwindcss/postcss" : " ^4.1.11" ,
5555 "@types/crypto-js" : " ^4.2.2" ,
5656 "@types/lodash-es" : " ^4.17.12" ,
57- "@types/node" : " ^22.15.33 " ,
57+ "@types/node" : " ^22.15.34 " ,
5858 "@types/react" : " ^18.3.23" ,
5959 "@types/react-dom" : " ^18.3.7" ,
6060 "rsbuild-plugin-html-minifier-terser" : " ^1.1.1" ,
Original file line number Diff line number Diff line change 1- import { NodeRenderContext } from '@/context/workflow/node-render-context' ;
21import { useContext } from 'react' ;
2+ import { NodeRenderContext } from '@/context/workflow/node-render-context' ;
33
44/**
55 * 获取节点渲染上下文
Original file line number Diff line number Diff line change @@ -107,7 +107,15 @@ const UserDropdown: React.FC = memo(() => {
107107 } ,
108108 {
109109 key : 'about' ,
110- label : t ( 'layout.header.userDropdown.about' ) ,
110+ label : (
111+ < div className = "flex items-center justify-between" >
112+ < span > { t ( 'layout.header.userDropdown.about' ) } </ span >
113+ < div className = "flex items-center" >
114+ < div className = "text-[12px]" > 0.0.1</ div >
115+ < div className = "w-2 h-2 bg-green-400 rounded-sm ml-1" />
116+ </ div >
117+ </ div >
118+ ) ,
111119 icon : < InfoCircleOutlined /> ,
112120 onClick : ( ) => {
113121 // 跳转到关于
Original file line number Diff line number Diff line change @@ -46,6 +46,21 @@ const menu = {
4646 apps : 'Apps' ,
4747 endpoint : 'Endpoint' ,
4848 endpointConfig : 'EndpointConfig' ,
49+ workflow : 'Workflow' ,
50+ templates : 'Templates' ,
51+ version : 'Version' ,
52+ } ,
53+ instance : {
54+ main : 'Instance' ,
55+ flowInstance : 'Flow Instance' ,
56+ runningLog : 'Running Log' ,
57+ trace : 'Trace' ,
58+ } ,
59+ nodes : {
60+ main : 'Nodes' ,
61+ flowNodes : 'Flow Nodes' ,
62+ market : 'Market' ,
63+ debug : 'Node Debug' ,
4964 } ,
5065 message : {
5166 main : 'Message' ,
Original file line number Diff line number Diff line change @@ -46,14 +46,29 @@ const menu = {
4646 apps : '应用中心' ,
4747 endpoint : '端点维护' ,
4848 endpointConfig : '端点配置管理' ,
49+ workdlow : '流程编排' ,
50+ templates : '模板库' ,
51+ version : '版本管理' ,
52+ } ,
53+ instance : {
54+ main : '实例监控' ,
55+ flowInstance : '流程实例' ,
56+ runningLog : '运行日志' ,
57+ trace : '上下文追踪' ,
58+ } ,
59+ nodes : {
60+ main : '节点管理' ,
61+ flowNodes : '节点列表' ,
62+ market : '插件市场' ,
63+ debug : '节点调试' ,
4964 } ,
5065 message : {
5166 main : '消息中心' ,
5267 template : '消息模板' ,
5368 } ,
5469 editor : {
5570 main : '编辑器' ,
56- docWriter : '文档编辑器'
57- }
71+ docWriter : '文档编辑器' ,
72+ } ,
5873} ;
5974export default menu ;
Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ function Home() {
8484 </ Card >
8585 </ Col >
8686 </ Row >
87+ < pre >
88+ 1、流程统计看板(Dashboard) 1、今日/本周运行流程数 2、成功/失败流程统计 3、异常流程预警 4、热门流程 TOP5
89+ 5、流程运行时间趋势图 2、快捷入口 1、新建流程 2、流程模板库 3、流程监控 4、节点管理 / 节点开发 5、操作日志
90+ 3、待办提醒 / 异常警报 1、失败流程列表 2、等待人工处理的流程 3、警告级别的系统通知
91+ </ pre >
8792 </ >
8893 ) ;
8994}
Original file line number Diff line number Diff line change 1+ import type React from 'react' ;
2+
3+ /**
4+ * 流程实例页面
5+ * @file FlowInstance/index.tsx
6+ * @description 该文件是流程实例页面的入口文件,负责展示流程实例相关信息。
7+ * @module FlowInstance
8+ */
9+ const FlowInstance : React . FC = ( ) => {
10+ return < div > FlowInstance</ div > ;
11+ } ;
12+
13+ export default FlowInstance ;
Original file line number Diff line number Diff line change 1+ /**
2+ * 运行日志
3+ * @returns 运行日志页面
4+ */
5+ const RunningLog : React . FC = ( ) => {
6+ return < div > 运行日志</ div > ;
7+ } ;
8+ export default RunningLog ;
Original file line number Diff line number Diff line change 1+ /**
2+ * 流程追踪
3+ * @returns Trace 页面
4+ */
5+ const Trace : React . FC = ( ) => {
6+ return < div > 上下文追踪(数据溯源、运行时上下文可视化查看)</ div > ;
7+ } ;
8+
9+ export default Trace ;
You can’t perform that action at this time.
0 commit comments