Frontend Track • Advanced • 3 mins review
Fix: Update DataGrid filtering logic
Refactored the filtering logic in DataGrid to support multiple tags and added an effect to sync with the backend.
Scenario Goal & Context
Goal: Update the tag selection state to handle arrays, and automatically fetch new data when the selection changes.
Background: Users need to select multiple tags to filter the DataGrid view, rather than just one at a time.
Changed Files (2)
- src/components/DataGrid.tsx +15 -5
- src/components/DataGrid.test.tsx +14 -0
Ready to practice reviewing this PR?
Open this scenario inside the interactive DiffSense simulator to leave inline comments and receive an automated score.
Start Review Session