Clamp long task-detail headings to two lines with an explicit expand control.
- Replace character-count title truncation with measured two-line CSS clamping.
- Add overflow detection so the Show more/Show less toggle only appears when the heading actually wraps past two lines.
- Update task detail rendering tests for triage, non-triage, editing, summarize, chat-expanded, desktop, and mobile title surfaces.
Files changed:
.../dashboard/app/components/TaskDetailModal.css | 10 +
.../dashboard/app/components/TaskDetailModal.tsx | 111 ++++-
.../__tests__/TaskDetailModal.rendering.test.tsx | 441 +++++++++------------
3 files changed, 261 insertions(+), 301 deletions(-)
Fusion-Task-Id: FN-6387
Fusion-Task-Lineage: 8c1b860c-8fe7-4f91-89e1-b387dbd7320e