Skip to content

feat(globalDashboard): add view_all card to WorkflowPanel#824

Merged
LZS911 merged 3 commits intomainfrom
dms-ui/feat-802
Apr 30, 2026
Merged

feat(globalDashboard): add view_all card to WorkflowPanel#824
LZS911 merged 3 commits intomainfrom
dms-ui/feat-802

Conversation

@LordofAvernus
Copy link
Copy Markdown
Collaborator

@LordofAvernus LordofAvernus commented Apr 30, 2026

Summary

  • Add view_all enum value, type definition, i18n (zh-CN/en-US) and theme accent color
  • Add fourth "View All" card to WorkflowPanel with mock data and unit tests

Related Issue

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

assign in @LZS911

…rkflow panel

- Add 'view_all' value to GetGlobalWorkflowListV2FilterCardEnum
- Add 'view_all_count' field to IGlobalWorkflowStatisticsV2 interface
- Add Chinese i18n: viewAll='查看全部', viewAllSubtitle='当前可见范围'
- Add English i18n: viewAll='View All', viewAllSubtitle='Visible scope'
- Add view_all accent color (#722ed1 purple) in theme config

Refs: dms-ee#802
…ata and tests

- Add view_all_count field to mock statistics data
- Add fourth "查看全部" card in WorkflowPanel cards array using
  CheckboxMultipleBlankFilled icon and purple accent color
- Add 4 unit tests: render 4 cards, click triggers filter_card=view_all,
  default selection is pending_for_me, view_all_count displays correctly
- Update snapshot to include the new card
@actiontech-bot actiontech-bot requested review from LZS911 and Rain-1214 and removed request for Rain-1214 April 30, 2026 05:44
@github-actions
Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 80.69% 29240/36237
🟡 Branches 62.93% 10900/17320
🟢 Functions 84.06% 9854/11722
🟢 Lines 84.69% 27937/32989

Test suite run success

3659 tests passing in 811 suites.

Report generated by 🧪jest coverage report action from 7988e08

@LZS911 LZS911 merged commit f12927a into main Apr 30, 2026
8 checks passed
@LZS911 LZS911 deleted the dms-ui/feat-802 branch April 30, 2026 06:20
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