yuriyoleynikov / YoTennis

Application for Tennis stats.
0 stars 0 forks source link

Match list filter #18

Closed yuriyoleynikov closed 7 years ago

yuriyoleynikov commented 7 years ago

It is required to make a filter in the list of matches, with the following options:

The issue will be completed

yuriyoleynikov commented 7 years ago

Refinements for the players filter. Displays all the players involved by the link, if you click on the player all games with this player will be displayed. A link from this player will be lost, and you can click delete next. And on other links you can click add to display games with multiple players. Or just click on the player and the filter will go through

yuriyoleynikov commented 7 years ago

The principle of the filter. To the right of the list of matches the filter is displayed, it consists of sections: -Players (they are taken from all matches) -Condition (NotStarted, Drawing, Completed) -Data (starting at, finishing before)

In the initial state, it displays a column of player references, states, and date selection. Players are taken from all matches. If you want to filter by one player, you just need to click on it, and games with this player will be formed. A link from this player will be removed next to it, the link will be deleted. And the rest of the players, the states, will continue to reference and each will have another link to add. If you want to filter the game together with another parameter, click on add. Also, if at least one filter is applied there is a clear button that resets all filters.