feat(FN-1019): reflow Changes-tab header stats and fix terminal scrollback

- Reflow Changes-tab header stats to a second line for better layout
- Add CSS styles for two-line header stats display
- Fix useTerminal hook to clear buffered scrollback after first subscriber replay
- Add tests for TaskChangesTab header stats rendering
- Update README description for Changes tab header
This commit is contained in:
gsxdsm
2026-04-05 22:58:28 -07:00
parent bd4322fcd1
commit 7abf3f699e
5 changed files with 60 additions and 6 deletions

View File

@@ -3715,6 +3715,21 @@ body {
color: var(--status-color-deleted, #f85149);
}
/* Task-specific changes header: stacked title + stats layout */
.task-changes-tab .task-changes-header-title {
display: flex;
flex-direction: column;
gap: 2px;
}
.task-changes-tab .task-changes-header-title h4 {
margin: 0;
}
.task-changes-tab .task-changes-stats {
margin-left: calc(16px + var(--space-sm)); /* align with text after icon + gap */
}
.changes-file-path {
flex: 1;
min-width: 0;