Skip to content

Commit fb5b451

Browse files
Qsnhclaude
andcommitted
chore: release v0.0.23
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b00dbea commit fb5b451

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.0.23] - 2026-04-14
6+
57
### Added
68
- Dashboard adds total message count, total working hours, and working hours trend chart
79

@@ -11,6 +13,7 @@
1113

1214
### Fixed
1315
- Fix session clear to only check immediate tasks for pending or running status
16+
- Fix TypeScript type error in combined-trend-chart tooltip formatter
1417

1518
### Removed
1619
- Remove scheduler retry mechanism

web/src/components/combined-trend-chart.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ import { formatTotalDuration } from "@/lib/format"
1717
const ACTIVE_WORKERS_KEY = "active_workers"
1818
const TOTAL_DURATION_KEY = "total_duration_ms"
1919

20-
function tooltipFormatter(value: number | string, name: string, props: { dataKey?: string }) {
20+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
21+
function tooltipFormatter(value: any, _name: any, props: any): [string, string] {
2122
if (props.dataKey === ACTIVE_WORKERS_KEY) {
22-
return [value, name]
23+
return [value != null ? String(value) : "", _name]
2324
}
24-
return [formatTotalDuration(Number(value)), name]
25+
return [formatTotalDuration(Number(Array.isArray(value) ? 0 : (value ?? 0))), _name]
2526
}
2627

2728
export function CombinedTrendChart() {

0 commit comments

Comments
 (0)