ensignlee / ssbook

ssbook
5 stars 3 forks source link

Filters should be able to select all, deselect all, and have a null as an option #62

Closed ensignlee closed 13 years ago

ensignlee commented 13 years ago

So the way excel handles the ability to select all / deselect all is to have one box at the top (referred to as the ALL box from now on, doesn't have to actually say all)

When you first open the filter, every option has a check in it, including the ALL box. This shows that every option is currently selected. Let's use league as an example.

If you click on the box when it has a checkmark in it (meaning that all the options are selected), it deselects all the options. This allows a user to go and select the specific choices from below, like NFL and NCAAF.

If you click on any of the other checkboxes below while the ALL checkbox is selected in order to deselect that option (for instance, NBA), then the ALL checkbox gets unchecked. This means that I want to filter by all bets that aren't NBA, or in other words, to filter by NFL, NCAAF, NCAAB, NHL, MLB, etc.

If you click on ALL checkbox when it does not have a checkmark in it (because all the choices aren't currently selected), then all the possible choices below will get selected and the ALL checkbox will then have a checkmark in it.

Additionally, there should be a "null" option for fields that are nullable, like the tag field. This will allow me to select all the bets that DON'T have a tag.

(P.S. I wish you had excel so you could just explore the way they do it and I didn't have to explain :P )

camerondavison commented 13 years ago

QUOTE: Additionally, there should be a "null" option for fields that are nullable, like the tag field. This will allow me to select all the bets that DON'T have a tag.

I am going to make that another ticket, because I am curious if you really want to search for games that do not have any tags, or if you need to be able to search by games that do not have a certain tag.

This also does not apply to any of the other filters, because they always have something assigned to them. Tag is the only column that could possibly be null.

camerondavison commented 13 years ago

added all button. closed by 3bc4db4d0d8017700811a5cb06f0a87eeda47c1c