Vacansee / app

Predicting campus occupancy and room availability @ RPI
https://vacansee.github.io/app
GNU General Public License v3.0
12 stars 0 forks source link

Issue9 #17

Closed BoundlessFate closed 11 months ago

BoundlessFate commented 11 months ago

Starts work and layout on issue #9 where we needed to move event listeners to main.js. still needs to be worked on more (specifically with FloorItem.vue and MapItem.vue) by moving the "resize" event listener to main.js and referencing it using watch functions

Changes also tie into work done on issue #10 , where I made it so past a threshold of 1:1, the popup when clicking on a building goes vertical and the animation slides off to the left instead of downwards. The effect of changing the aspect ratio is also reversible, so you can go from vertical to horizontal formats without issues after initial loading. The html template itself for the popup has not been changed, so the text may go out of the box slightly on mobile devices.

BoundlessFate commented 11 months ago

Member

Good idea with the vertical/horizontal change. I can play around with the popup sizing and placement for different aspect ratios on my own and see what feels best.