cr-api-ux
cr-api-ux copied to clipboard
Popular Decks Include Card Filter
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to 'https://royaleapi.com/decks/popular'
- Click on 'Include Cards'
- Select more then 8 cards
- Notice it gets included
Expected behavior Throws error saying that a deck cannot include more then 8 cards
Screenshots
Desktop (please complete the following information):
- Windows 7
- Chrome
- 22
It does get included. I feel like that you want to use OR search. We don’t support it. Validating for this will be low priority for now.
I meant “Popular Decks” page “Include Card” filter had a problem, not “Popular Decks” page to include “card filter”.
@IngeniousCoder I get what you're saying. Essentially, if you pick 10 cards to include in a deck, but the max cards in a deck are 8, you'll get 0 results (as intended). I think the takeaway task on this is:
- [ ] Create an alert that shows when > 8 cards are in the "include" filter