cilki / gameframe.online

GameFrame is a gaming analytics website created for CS373
http://gameframe.online
Apache License 2.0
5 stars 1 forks source link

Improve ergonomic design of instance card tooltips. #22

Closed atrieder closed 6 years ago

atrieder commented 6 years ago

Depending on the web browser being used (i.e., Google Chrome), activating a tooltip for an instance card on a grid page will cause the tooltip to expand in-place, shifting the surrounding elements upwards. So far, the following undesirable results have been observed:

The above results would be especially noticeable as more instances are incorporated.

A potential replacement design for the tooltip may be the following: Rather than expanding the size of the card below the thumbnail image, the thumbnail image itself may slide upwards "within" the boundaries of the card (that is, the portion of the thumbnail that is outside of the card border will be effectively hidden from view) as though it were a drawer covering the tooltip in the z-axis. The tooltip's contents would remain in a fixed position, so the overall size of the card would remain constant at all times.

atrieder commented 6 years ago

With the latest commit, we now have tooltips that appear in the place of their corresponding cards (they do not expand or otherwise shift the surrounding elements). So, I think that this issue can be closed.