Repository navigation
feat(platform): read task discussions like a chat thread - #4559
Conversation
3cd0849 to
fb3f9d3
Compare
|
REQUEST CHANGES — independent API-only review of
Both review parts:
CI at 2026-10-08T18:14:53Z: no failed check. Backend integration is running; platform Playwright shards 1–4, UI aggregate and sandbox/db/egress/gateway/runtime image jobs are queued. Trivy is neutral, with no check annotations; it is not reported as a pass. Pending jobs have no failure to attribute to this PR or to a flake. I inspected Turbo artifacts from Checks run 37816362077: affected UI/platform unit and browser tasks are uncached MISS/exit 0. Browser logs show the 7 ReadMore, 4 ThreadMessage, 3 sticky-divider and 7 task-history cases passing. Their merge source Scope: all 68 changed paths/diffs and relevant task readers, access rules, query adapters, actor resolvers and UI consumers. No clone, install, local tests, push, merge, rerun, cancel or Ops access. No runtime or merge-readiness claim. |
275bbed to
245c81c
Compare
ReadMore clamps a long block by height, or by lines, behind Read more and Show less, keeping the full text in the DOM, clamping only when the content is clearly longer than the limit and bringing the toggle back into view on collapse. Avatar draws a person's initials on a tint chosen from the name, an agent, an automation, the system or an unassigned slot in four sizes, labelled or decorative.
ThreadMessage (the viewer's bubble or another voice's prose under an identity row, with continuations and actions that show on hover, focus, an open menu and always on touch), ThreadEvent and ThreadEventGroup (one quiet line per event in the avatar gutter, bursts folded into a summary), ThreadDayDivider with groupByDay, ThreadTime and the thread layout constants. The chat's TimelineRow and ThinkingDots move into the family with their keyframes, and the chat and composer frames read the shared constants.
Comments are thread messages: the viewer's own as a bubble on the right, everyone else's under an identity row with an Agent badge for agents, a continuation joined to the one before it, clock times under the day dividers, edit and delete as icon actions that a touch screen shows too, and a long body such as an agent's report clamped behind Read more. Events are quiet lines in the avatar gutter with a glyph per kind of change; the change leads in its own words and casing, so a German label keeps its noun, and three or more in a row fold into one line that opens in place. The day pills stay pinned while their day scrolls by.
The tasks page in EN, DE and FR explains the bubbles, the identity rows with the Agent label, Read more and the folded history lines; the design doc gives the conversation entries' anatomy and the shared day divider, which the inbox now uses too in place of its own date header. A ui-docs page with a live demo documents the thread family, and manual boxes TASK-F70 to F72 and TASK-A18 with their automation row.
Rows other open pull requests add sit at the same spot of the automation register, so merged side by side they would conflict. The row moves a few rows down, where no sibling adds one.
a30b67a to
9e78259
Compare
Why
A task's discussion read like a log. Every comment had the same flat shape, agent reports of up to 10,000 characters were never shortened, a burst of status changes or failed runs cost a row each, and German event labels were lowercased ("titel geändert"). Chats and tasks looked unrelated. This PR is the first half of making them one conversation design. A follow-up converges the board dialog's lists and the chat's own bubble onto the same pieces.
What changes
@tale/ui— the thread family:ThreadMessage:ReadMoreclamp.ThreadEvent/ThreadEventGroup: quiet gutter lines, with bursts folded into one line that opens in place.ThreadDayDivider(pinned while its day scrolls) withgroupByDay;ThreadTime; layout constants.ReadMore: a height or line clamp, content kept in the DOM, slack before clamping, the toggle kept in view on collapse. Keyscommon.actions.readMore/showLessin EN, DE and FR.Avatar: person, agent, automation, system and unassigned kinds, four sizes.TimelineRowandThinkingDotsmove into the family with their keyframes. The chat and composer frames read the shared layout constants.Task conversation (task page, and the rows of the board dialog):
ThreadDayDivider.Docs and contracts:
TASK-F70–F72andTASK-A18with their automation row.Verification
@tale/ui: 230 unit and 14 browser tests for the thread pieces, ReadMore and Avatar.task-conversation/task-log-windowbrowser suites, and the skeleton parity browser suite. All green locally.tsc(platform, ui, ui-docs), oxlint, i18n parity, ui-docs tests,lint:manual,check-guideandlint:linksare green.Not in this PR (follow-up)
ThreadMessage.AssigneeAvatar/ContactInitialsasAvatarwrappers.