Closed alexanderchen750 closed 1 week ago
For certain filters, there will only be one active filter at a time. Filters that are deactivated:
player1ReturnFhBh: ['Forehand', 'Backhand'] player1ReturnPlacement: ['Down the Line', 'Crosscourt'] player1LastShotResult: ['Winner', 'Error'] player1LastShotFhBh: ['Forehand', 'Backhand'] player1LastShotPlacement: ['Down the Line', 'Crosscourt'] side: ['Deuce', 'Ad']
player1ReturnFhBh: ['Forehand', 'Backhand']
player1ReturnPlacement: ['Down the Line', 'Crosscourt']
player1LastShotResult: ['Winner', 'Error']
player1LastShotFhBh: ['Forehand', 'Backhand']
player1LastShotPlacement: ['Down the Line', 'Crosscourt']
side: ['Deuce', 'Ad']
Adding exclusive list
Change to addFilter
When adding filter, check if its in exclusive list, and remove other option
Possibly: add exlusiveGroups to a service or nameMap
One Filter at a Time #149
For certain filters, there will only be one active filter at a time. Filters that are deactivated:
player1ReturnFhBh: ['Forehand', 'Backhand']
player1ReturnPlacement: ['Down the Line', 'Crosscourt']
player1LastShotResult: ['Winner', 'Error']
player1LastShotFhBh: ['Forehand', 'Backhand']
player1LastShotPlacement: ['Down the Line', 'Crosscourt']
side: ['Deuce', 'Ad']
changes: only in FilterList.js
Adding exclusive list
Change to addFilter
When adding filter, check if its in exclusive list, and remove other option
Possibly: add exlusiveGroups to a service or nameMap