Skip to content

feat(dashboard): add diff-only filter to isolate impact chain#238

Open
Div627 wants to merge 1 commit into
Egonex-AI:mainfrom
Div627:main
Open

feat(dashboard): add diff-only filter to isolate impact chain#238
Div627 wants to merge 1 commit into
Egonex-AI:mainfrom
Div627:main

Conversation

@Div627

@Div627 Div627 commented May 26, 2026

Copy link
Copy Markdown

Summary

  • Add a "Filter" toggle next to the existing "Diff ON/OFF" button that removes non-diff nodes from the graph, so users can see only the diff impact chain after running /understand-diff.
  • Filter layer-detail nodes/edges to changed + affected set when the toggle is active; filter the overview to only layers containing diff nodes.
  • Apply diff ring/fade styling to LayerClusterNode in overview; add i18n strings for the filter toggle (en, zh, ja, ko, ru, zh-TW).

Test plan

  • Run /understand-diff on a project, open dashboard, toggle Diff ON
  • Toggle Filter ON → confirm only changed/affected nodes remain in graph and overview
  • Toggle Filter OFF → confirm full graph returns
  • Switch locales (en/zh/ja/ko/ru/zh-TW) → confirm filter label is localized

After running /understand-diff, the dashboard highlights changed/affected
nodes but keeps all nodes visible. Add a "Filter" toggle (next to the
existing "Diff ON/OFF" button) that removes non-diff nodes from the graph
so users can see only the diff impact chain.

- Add `diffFilterOnly` state and `toggleDiffFilterOnly` action to store
- Filter layer-detail nodes/edges to changed+affected set when active
- Filter overview to only layers containing diff nodes
- Apply diff ring/fade styling to LayerClusterNode in overview
- Add i18n strings for filter toggle (en, zh, ja, ko, ru, zh-TW)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant