Commit c88c609
authored
fix(canvas): show only team messages in thread sidebar on full task view
The channel task detail route renders the thread sidebar next to TaskDetail,
which already hosts the agent session. The sidebar's timeline interleaved
agent turns and user→agent prompts with the team conversation, so expanding
a task from the channel-home thread left the same agent comms duplicated in
both panes.
Add a showAgentComms prop (default true) to ThreadPanel/ThreadSidebar that
drops agent turns and prompts from the timeline and hides the agent status
line. The full task view passes false, so its sidebar shows only the
human-to-human thread. The channel-home sidebar is unchanged.
Generated-By: PostHog Code
Task-Id: c44f7e31-52a1-404e-8eda-0d21860bf2721 parent d55d24e commit c88c609
3 files changed
Lines changed: 17 additions & 4 deletions
File tree
- packages/ui/src
- features/canvas/components
- router/routes/website/$channelId/tasks
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
491 | 492 | | |
| 493 | + | |
492 | 494 | | |
493 | 495 | | |
494 | 496 | | |
| |||
557 | 559 | | |
558 | 560 | | |
559 | 561 | | |
560 | | - | |
561 | | - | |
| 562 | + | |
| 563 | + | |
562 | 564 | | |
563 | 565 | | |
564 | 566 | | |
| |||
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
570 | | - | |
| 572 | + | |
571 | 573 | | |
572 | 574 | | |
573 | 575 | | |
| |||
680 | 682 | | |
681 | 683 | | |
682 | 684 | | |
683 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
684 | 688 | | |
685 | 689 | | |
686 | 690 | | |
| |||
704 | 708 | | |
705 | 709 | | |
706 | 710 | | |
| 711 | + | |
707 | 712 | | |
708 | 713 | | |
709 | 714 | | |
| |||
713 | 718 | | |
714 | 719 | | |
715 | 720 | | |
| 721 | + | |
716 | 722 | | |
717 | 723 | | |
718 | 724 | | |
| |||
747 | 753 | | |
748 | 754 | | |
749 | 755 | | |
| 756 | + | |
750 | 757 | | |
751 | 758 | | |
752 | 759 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments