jumpinjackie/mtg-collection-tracker

Provide tabular view for any card list view

Closed this issue · 0 comments

As pretty as the card list view is, having the ability to present the same data in a tabular view is ultimately a more efficient option in some use-cases and any view that presents cards in a visual list should provide a toggle to present the same data in tabular form

  • Add new tabular view that is composed of a data table and a sidebar region to show a card image if a table row is selected and/or highlighted
  • In this view, the current card image is probably too low-res to be displayed, so the data model for scryfall metadata should be extended to allow for saving high-res versions of these images.
  • In the same vein, we should extend scryfall metadata support to also capture:
    • Mana cost
    • Type
    • P/T (for creatures)
    • Oracle Text
  • The scryfall metadata update process should be more fine-grained, currently if we're requesting scryfall metadata for a given SKU, it will wholesale replace what's there instead of additively filling in the missing info. In this same vein, when determining the correct scryfall card object to update metadata with, we should be re-using the existing scryfall object id if present.