Skip to content

feat(#802): add view_all enum and swagger docs for global dashboard#3286

Merged
iwanghc merged 1 commit intomainfrom
sqle/feat-802
Apr 30, 2026
Merged

feat(#802): add view_all enum and swagger docs for global dashboard#3286
iwanghc merged 1 commit intomainfrom
sqle/feat-802

Conversation

@LordofAvernus
Copy link
Copy Markdown
Collaborator

@LordofAvernus LordofAvernus commented Apr 30, 2026

User description

Summary

  • Add view_all enum value and ViewAllCount field for global workflow statistics
  • Update swagger docs for view_all filter_card enum
  • Expose workflow assignee name list in dashboard API

Fixes https://github.com/actiontech/dms-ee/issues/802


Description

  • 删除旧字段 assignee,移除单一当前处理人显示

  • 新增字段 current_step_assignee_user_name_list,返回处理人姓名数组

  • 更新仪表盘API响应结构及swagger文档说明


Diagram Walkthrough

flowchart LR
    A["删除 assignee 字段"] --> B["添加 current_step_assignee_user_name_list 字段"]
    B --> C["更新类型定义与swagger文档"]
Loading

File Walkthrough

Relevant files
Documentation
docs.go
更新文档中字段定义                                                                                               

sqle/docs/docs.go

  • 删除 assignee 字段定义
  • 添加 current_step_assignee_user_name_list 字段说明
+7/-4     
swagger.json
更新swagger.json字段定义                                                                             

sqle/docs/swagger.json

  • 删除swagger中旧的 assignee 字段
  • 添加swagger中新的 current_step_assignee_user_name_list 字段
+7/-4     
swagger.yaml
更新swagger.yaml字段描述                                                                             

sqle/docs/swagger.yaml

  • 移除旧的 assignee 字段定义
  • 添加新的 current_step_assignee_user_name_list 字段定义
+5/-3     
Enhancement
types.go
更新仪表盘数据类型定义                                                                                           

sqle/server/dashboard/types.go

  • 移除 Assignee 字段
  • 新增 CurrentStepAssigneeUserNameList 字段(字符串数组)
+1/-1     

Update the shared dashboard response type and generated swagger docs so the global workflow list returns current step assignees as a name list.
@actiontech-bot actiontech-bot requested a review from BugsGuru April 30, 2026 09:01
@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

🎫 Ticket compliance analysis 🔶

802 - Partially compliant

Compliant requirements:

  • 删除旧字段 assignee
  • 新增字段 current_step_assignee_user_name_list 返回处理人姓名数组
  • 更新 swagger 文档

Non-compliant requirements:

|

Requires further human verification:

|

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@iwanghc iwanghc merged commit a29b27c into main Apr 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants