feat(dashboard): add view_all enum and swagger docs for global workflow panel#3285
Merged
LordofAvernus merged 2 commits intomainfrom Apr 30, 2026
Merged
feat(dashboard): add view_all enum and swagger docs for global workflow panel#3285LordofAvernus merged 2 commits intomainfrom
LordofAvernus merged 2 commits intomainfrom
Conversation
…lobal workflow stats Add GlobalWorkflowFilterCardViewAll enum constant to support the new "view all" card in the global dashboard workflow panel. Update the FilterCard valid tag and Swagger Enums to accept view_all. Add ViewAllCount field to GlobalWorkflowStatisticsV2 for the fourth card's count display. Refs: dms-ee#802
Regenerate swagger docs to include the view_all value in filter_card parameter enum for GetGlobalWorkflowListV2. Refs: dms-ee#802
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨No code suggestions found for the PR. |
iwanghc
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Summary
Related Issue
Refs: https://github.com/actiontech/dms-ee/issues/802
Description
增加全局工单统计 view_all 字段
扩展 FilterCard 枚举支持 view_all
更新 swagger 文档与注释描述
Diagram Walkthrough
File Walkthrough
workflow_manage.go
更新全局工单接口增加 view_all 支持及文档注释sqle/api/controller/v2/dashboard/workflow_manage.go
types.go
新增 view_all 枚举常量sqle/server/dashboard/types.go
docs.go
更新 swagger 文档中 view_all 支持sqle/docs/docs.go
swagger.json
更新 swagger json 支持 view_all 字段sqle/docs/swagger.json
swagger.yaml
更新 swagger yaml 支持 view_all 字段sqle/docs/swagger.yaml