Two related dashboard fixes. 1. Card timer mismatch: the board card timer chip showed only workflow runtime (e.g. <1m on FN-2716) while the task detail Stats panel reported "Total execution time" of 7m+ for the same task. Cause — the slim board listing strips `task.log` to keep payloads small, so the card's client-side `[timing]` log scan returned 0. Now the slim path aggregates `[timing] … in <N>ms` durations server-side into a new `task.timedExecutionMs` field before stripping the log; the card prefers this aggregate, falling back to the client scan when the full log is loaded (TaskDetailModal). Wire payload stays slim. 2. View Changes diff modal: defaulted to `90vw × 80vh` and was not user-resizable. Switched to `min(95vw, 2200px) × min(90vh, ...)` default with `resize: both`, persisted via useModalResizePersist (`fusion:changes-diff-modal-size`). Mobile keeps fullscreen layout. Overlay dismiss switched to the shared `useOverlayDismiss` hook so resize-drags that release on the overlay don't close the modal. Updated the diff modal's regression tests to match the new constraint shape (still asserts max-height clamps to viewport via calc()). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51 KiB
51 KiB