mitre-attack / mitre-attack/attack-workbench-frontend
[BUG] Highlight only changed relationship rows in diff tables
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 438
- Forks
- 79
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 3
Description
Describe the bug
When one Procedure Example changes in a diff, every Procedure Examples table row is highlighted as changed, rather than only the affected STIX relationship object.
Expected behavior
Only the added, removed, or modified Procedure Example row should be highlighted.
To Reproduce
Steps to reproduce the behavior:
- Open a candidate object with a diff containing a change to one Procedure Example.
- Open the diff view.
- Select the Procedure Examples tab.
- Observe that all rows are highlighted as changed.
Additional context
This should be corrected for relationship-based diff tables so reviewers can identify the specific changed relationship.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening a candidate object with a change to one Procedure Example, then inspect the diff view's Procedure Examples tab and the relationship-based diff table handling. Trace how rows are matched to added, removed, or modified STIX relationship objects. Done means only the affected relationship row is highlighted while unchanged rows remain unhighlighted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100