Feature Request: Grouping and aggregation in list view
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
This is design work spanning the list view UI and the backend query layer, so start by reading how the existing list view filters and sorts work items and how the server builds that query. Agree on the grouping model and the SUM semantics (per-group and overall totals) with maintainers before writing code. Done means a maintainer-approved design plus an implementation that groups by one field and sums one numeric column, with tests.
由索引模型根据 Issue 内容生成。
描述
Description
It would be very useful to extend the list view with grouping and aggregation capabilities.
The goal is to make the list view suitable not only for displaying and filtering work items, but also for creating structured overviews based on field values.
Two related capabilities would be particularly useful:
- Group work items by field values
- Calculate sums for numeric fields
1. Grouping by field values
Users should be able to select a field by which the current list is grouped.
For example, when grouping by an Asset custom field, Windshift could create a hierarchical/tree-like view such as:
- Customer A
- Work Item 1
- Work Item 2
- Work Item 3
- Customer B
- Work Item 4
- Work Item 5
- No value
- Work Item 6
The same concept should ideally work with other suitable field types as well, for example:
- Assets
- Select fields
- Status
- Assignee
- User fields
- Project
- Other custom fields with discrete values
Groups should be collapsible/expandable so that the user can navigate larger result sets efficiently.
Expected functionality
- Select a field to group the current list by
- Automatically create groups based on the field values
- Display the corresponding work items below each group
- Provide a separate group for work items without a value
- Allow groups to be collapsed and expanded
- Keep the configured columns visible within the grouped view
2. Aggregation of numeric fields
For numeric fields displayed as columns, it should be possible to calculate aggregated values.
At minimum, SUM would be very useful.
When grouping is enabled, the list could display:
- Sum per group
- Overall sum across all displayed work items
Example
| Work Item | Customer | Estimated Cost | Actual Cost |
|---|---|---|---|
| Customer A | 15,000 | 12,500 | |
| Work Item 1 | Customer A | 10,000 | 8,000 |
| Work Item 2 | Customer A | 5,000 | 4,500 |
| Customer B | 20,000 | 18,000 | |
| Work Item 3 | Customer B | 20,000 | 18,000 |
| Total | 35,000 | 30,500 |
Ideally, aggregation could later support additional functions such as:
- Sum
- Average
- Minimum
- Maximum
- Count
Use cases
This would make the list view significantly more useful for reporting and management use cases, for example:
- Grouping work items by customer/account asset
- Grouping projects by department or business unit
- Displaying budget totals per customer
- Comparing estimated and actual costs
- Summing effort or story points
- Portfolio and project management overviews
- Financial and capacity-related reporting
Expected outcome
The list view should provide a flexible way to structure work items by field values and calculate aggregates for numeric columns.
This would allow users to create lightweight reporting and management views directly in Windshift without requiring an external reporting tool for relatively simple grouped reports.
- 主要语言
- Go
- 星标
- 421
- 派生
- 50
- 平均合并
- 17 小时 34 分钟
- 30 天内合并 PR
- 80
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Windshiftapp/core 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
Windshiftapp/core#542 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
Windshiftapp/core#334 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Windshiftapp/core#259 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
[Bug][AI chat] Select menu dont appear when on index page可能已有人在做 @valentimarco 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 20/100
Windshiftapp/core#541 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
Windshiftapp/core#538 · 1 个 reaction ·
维护者通常 1 天内回复
查看 Windshiftapp/core 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
karmada-io/karmada#8101 ·
维护者通常 1 天内回复
-
product:platform
难度 2/5 1-3 小时 新手友好度 77/100
Infisical/infisical#9746 · 1 条评论 ·
维护者通常 1 天内回复
-
CrossEntropyFilter raises on zero probabilities and single-class results可能已有人在做 @NopeCharon 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
txn2/mcp-data-platform#2728 ·
维护者通常 1 天内回复
-
effort:s impact:low raised-by:worker risk:low
难度 2/5 1-3 小时 新手友好度 70/100
medici-finance/assay#7259 · 1 条评论 ·
维护者通常 1 天内回复