sjsafranek / mtghordesurvival

Web app that simulates the MTG Horde Survival. Uses the deck list from https://www.quietspeculation.com/2011/09/horde-magic-a-new-way-to-play-magic-and-survive-zombie-invasions/
MIT License
2 stars 0 forks source link

Preview Card on mouse hover [Feature] #3

Open lancesafranek opened 4 years ago

lancesafranek commented 4 years ago

Sometimes cards can have a lot of text or just be hard to read. It would be useful to hover over a card and see larger image of the card.

sjsafranek commented 4 years ago

should this be in a popup or in a dedicated card preview location?

lancesafranek commented 4 years ago

Great question. A dedicated preview location would be simple, but would take up screen space. Popups have the potential to get awkward/confusing when trying to make selection/dragging actions.

The more I think about it, the current context menu might be sufficient (although I would like the card larger in the context menu regardless).

sjsafranek commented 4 years ago

i have added a tooltip that will show to raw card details as text. This is opened on mouseover event and closed on mouseleave. This is not touch screen friendly so I will leave this ticket open for now