Skip to content

Commit 6d44d8b

Browse files
rubenvdlindeConduction Release Bot
andauthored
refactor(case-detail): drop the three duplicate KPI cards from the bottom row (#1701)
`Open tasks`, `Documents` and `Sub-cases` were `stats-block` widgets sitting in the bottom layout row (gridY 19), each showing a count of something the page already lists in full a few centimetres away: the tab strip carries Files and Sub-cases panels, and the right column carries Tasks. Every one of the three counted rows the reader can already see and count, so the row cost a screenful of height and told them nothing new. `Hours booked` stays. It is the one stats-block whose number is NOT derivable from anything else on the page: it sums humaniq TimeEntry rows, which the case detail does not list. The widget definitions and their layout entries both go, 88 lines in total, and nothing else referenced them: the two surviving mentions are historical prose in a `_note` and in a test comment, both describing what the page used to carry. Co-authored-by: Conduction Release Bot <release-bot@conduction.nl>
1 parent 91be97a commit 6d44d8b

1 file changed

Lines changed: 0 additions & 88 deletions

File tree

‎src/manifest.json‎

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,70 +1160,6 @@
11601160
}
11611161
}
11621162
},
1163-
{
1164-
"id": "case-kpis-open-tasks",
1165-
"type": "stats-block",
1166-
"title": "Open tasks",
1167-
"icon": "Gauge",
1168-
"content": {
1169-
"entries": [
1170-
{
1171-
"title": "Open tasks",
1172-
"register": "dossiq",
1173-
"schema": "task",
1174-
"metric": "count",
1175-
"filter": {
1176-
"case": "@objectId",
1177-
"status": "active"
1178-
},
1179-
"route": {
1180-
"name": "Tasks"
1181-
}
1182-
}
1183-
]
1184-
}
1185-
},
1186-
{
1187-
"id": "case-kpis-documents",
1188-
"type": "stats-block",
1189-
"title": "Documents",
1190-
"icon": "Gauge",
1191-
"content": {
1192-
"entries": [
1193-
{
1194-
"title": "Documents",
1195-
"register": "dossiq",
1196-
"schema": "caseDocument",
1197-
"metric": "count",
1198-
"filter": {
1199-
"case": "@objectId"
1200-
}
1201-
}
1202-
]
1203-
}
1204-
},
1205-
{
1206-
"id": "case-kpis-sub-cases",
1207-
"type": "stats-block",
1208-
"title": "Sub-cases",
1209-
"icon": "Gauge",
1210-
"content": {
1211-
"entries": [
1212-
{
1213-
"title": "Sub-cases",
1214-
"register": "dossiq",
1215-
"schema": "case",
1216-
"metric": "count",
1217-
"filter": {
1218-
"parentCase": "@objectId"
1219-
},
1220-
"route": {
1221-
"name": "Cases"
1222-
}
1223-
}
1224-
]
1225-
}
1226-
},
12271163
{
12281164
"id": "case-kpis-hours",
12291165
"type": "stats-block",
@@ -1626,30 +1562,6 @@
16261562
"gridWidth": 12,
16271563
"gridHeight": 3,
16281564
"showTitle": true
1629-
},
1630-
{
1631-
"id": "10",
1632-
"widgetId": "case-kpis-open-tasks",
1633-
"gridX": 0,
1634-
"gridY": 19,
1635-
"gridWidth": 4,
1636-
"gridHeight": 2
1637-
},
1638-
{
1639-
"id": "11",
1640-
"widgetId": "case-kpis-documents",
1641-
"gridX": 4,
1642-
"gridY": 19,
1643-
"gridWidth": 4,
1644-
"gridHeight": 2
1645-
},
1646-
{
1647-
"id": "12",
1648-
"widgetId": "case-kpis-sub-cases",
1649-
"gridX": 8,
1650-
"gridY": 19,
1651-
"gridWidth": 4,
1652-
"gridHeight": 2
16531565
}
16541566
],
16551567
"lifecycleActions": {

0 commit comments

Comments
 (0)