Commit 105dc98
committed
fix(relations): filter epic ↔ task belongs_to edges from Relations panel
The epic↔task association already has dedicated UI on both sides:
the task sidebar shows an Epic field with its own selector, and the
epic page lists its tasks separately. Surfacing the auto-managed
belongs_to edge in the Relations panel just duplicated the same
information with a non-clickable raw label.
Extended enrichRelations to drop edges where kind='belongs_to' and
the endpoints are (epics, tasks) in either direction, alongside the
existing tag-edge filter. Added a regression test that creates a
linkTaskToEpic association and asserts the belongs_to edge is hidden
from both the task's and the epic's Relations panels.1 parent 35ef8b7 commit 105dc98
2 files changed
Lines changed: 43 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
552 | 557 | | |
553 | 558 | | |
554 | 559 | | |
| |||
561 | 566 | | |
562 | 567 | | |
563 | 568 | | |
564 | | - | |
565 | | - | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
566 | 576 | | |
567 | 577 | | |
568 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
574 | 600 | | |
575 | 601 | | |
576 | 602 | | |
| |||
0 commit comments