Topic: Penny, Pauper Cmd, Alchemy; Commanders, spoiler view, etc
Added new deck formats and legality checks: Penny Dreadful, Pauper Commander, Explorer, Brawl (Historic), Alchemy. Renamed "Brawl" to "Standard Brawl".
Added the context menu for cards on the Spoiler View in decks, a few actions now work there as well: Changing Commander, removing cards, adding new cards. Added an "invisible label" on the images so that Ctrl-F works (like on scryfall). The count is still not editable and the notes don't work yet, work in progress to get the spoiler view much more functional...
For the formats that support commanders:
- changed the Commander and Partner selectors to be inside the deck listing, so that the commander card is not mentioned twice on the page, and confusingly mixed within the creatures section of the deck
- decks are now "illegal" if they do not have a properly selected commander
- the filters "Can be commander" and "Can be partner" from inventories and the card database now have a format selector, so one can specify in which specific format they are legal as commander
- there are now "can be partner" and "can have partner" filters but these I feel are very confusing and I think I will just merge them back into a "partner" one. There are some cases like backgrounds where you would select a main card as commander (that would be found by a "can have partner" filter) and then a background as a partner (that would be found by the "can be partner" filter). I'm not sure this distinction is useful and not confusing...
- format selector dropdowns are filterable now and sorted alphabetically
Fixed various other format legality issues.
Moved some printings from the main card to the token (e.g. some Ornithopter to Token: Ornithopter. Same for Aven Initiate).
I expect there will be some bugs related to the format legality, it is difficult to test all the edge cases manually, please do let me know when you encounter them.