Giter Club home page Giter Club logo

app's Introduction

What is it?

Vacansee is an interactive (heat)map for displaying live stats on rooms/facilities @ RPI.

This includes:

  • Expected building occupancy and foot traffic
  • Active/upcoming classes & where to find them
  • Printer availability
  • What dining halls are serving, and for how long
  • —and more to come!

We intend to become the de facto one-stop-shop for event discovery, occupancy tracking, and general navigation on campus.


Made with ❤️ for RCOS @ RPI

app's People

Contributors

abisheksh avatar acumane avatar awesomecar11 avatar bluemer12 avatar boundlessfate avatar boundlessphoenix avatar contemporarynietzsche avatar diegov03 avatar ianz1210 avatar iserya avatar jeroldb26 avatar johnh03 avatar joshparent avatar mattsweet417 avatar nadiachoudhury avatar owenwells544 avatar paulbruzzi avatar shamikkarkhanis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

app's Issues

Scrolling on the popup menu scrolls on the floor itself

When scrolling down on the popup menu, to see the schedule for example, the floor is magnified at the same time. Not sure if there is a way to check if the mouse position is in the popup menu and then prevent scrolling on the floor itself if it is.

JSON API to RPI WiFi data!

Hi Team!

So, we "sort of" have an API for the campus WiFi-based occupancy predictions, ie what the StudySafe app does. Currently this is "experimental"; we're working on publishing it in a more API-list fashion.

See https://inciteprojects.idea.rpi.edu/studysafe/app/studysafe/ for the three-years-now running app...

The basic URL pattern is: https://lp01.idea.rpi.edu/shiny/erickj4/StudySafeJSON/?building=CII&day=Sunday&hour=12
NOTE: You must be on the RPI VPN for this API access

The day​ and hour​ filters are optional; if you leave either or both off, it will list. building​ must be specified; it will default to EMPAC​ if you leave off.

To get a list of the available buildings just append with list​, ie: https://lp01.idea.rpi.edu/shiny/erickj4/StudySafeJSON/?list=TRUE

The service is providing JSON wrapped in HTML; you will need to do some hacking to get at the embedded JSON. We're working on providing this "for real."

TALK to Maryellen Marino (one of your RCOS mentors) about how to pull this JSON out...

Please let me know if you have questions!

John
PS: StudySafe is at: https://inciteprojects.idea.rpi.edu/studysafe/app/studysafe/

Button tag doesn't hide

After you move your mouse off of the nav buttons the tag doesn't disappear until you move it onto something else with a tag.

Final UI Goal

This issue focuses on finalizing the user interface (UI) for our website, specifically for four main sections: Home, HomeSearch, BuildingSelect, and RoomSelect.

Here are the proposed UI designs:

  1. Home
    Home
    Our previous interface lacked playfulness, which was incorporated in our color pallete. New buttons were added for additional feature ideas, such as help, settings, and bug reports.

  2. HomeSearch
    HomeSearch
    Previously our site did not have a search feature.

  3. BuildingSelect
    BuildingSelect
    Our popup panel originally came out of the bottom, but after playing with some layouts, the side panel worked best. New content was added for when a room is not selected.

4.RoomSelect
RoomSelect
The new design improves readability of classes in a room by time of day. It also offers additional amenities.

While this does not cover the entire UI for the site, I will be amending this issues ticket with additional proposals.

Emma

Zoom Issue

Found a few issues with the zoom feature.

  1. If highlighting on a building and you zoom in to where your cursor isn't on the building anymore, the label will stay until you move your mouse
  2. When zooming, the map zooms towards the center of the map at all times (DCC). Should be changed so that it zooms towards your cursor.
  3. Breaks the boundaries set for dragging the map around. When zooming in, the position at where you get pushed back towards the center by dragging around should stay the same.

Building don't reset when reopening

After opening a building, moving it around, zooming, and then closing the building should reset to default when it opens again. Instead it doesn't reset and stays the same way as it was when you close it.

Global reactive variables

To minimize duplication of efforts, track states used by many components in a single global variable.

Here's our current global reactive object in main.js. Any changes to its members will trigger reactivity in components that reference it:

const global = reactive({ 
	data: data,
	loading: isFetching,
	error: error,
	bldg: '',
	room: '',
	floor: '1',
	time: Moment.tz('America/New_York').format('e:HHmm'),
	firstCalc: false,
})

A good candidate: several components are currently tracking aspect ratio independently. This logic should be consolidated and added to the global reactive object.

Needed Floor Plans by Building

This issue focuses on creating high quality svgs for all buildings using QuACS pdfs. The following 'building (floors)' should be completed first:

  • DCC (3)
  • Sage (6)
  • Folsom (5)
  • Ricketts (6)
  • Walker (6)
  • Amos Eaton (5)
  • JEC (7)
  • JROWL (6)
  • Union (4)
  • Mueller (3)
  • Greene (4)
  • Pittsburgh
  • Carnegie
  • Greene
  • Lally
  • West
  • Winslow
  • Low
  • Ricketts (only floors 1 and 2 are done)

See this tutorial to get started.

Emma

Zooming about Mouse

When zooming on either a building or the main map it should zoom about the mouse instead of the center of the screen.

weird white block

On the newest branch of main, when you try to inspect the page the white building info block appears. Its the block that appears when you click on a building that is supposed to hold all the info of the building currently.

Show room numbers that do not have classes while hovering

When you hover over a classroom that is grayed out (doesn't have any registered classes) we should still be able to see what that room number is. Clicking on it wouldn't do anything however, because there is no extra information to show in regards to classes/capacity/etc.

Floorplan Problems

Basically done

West
Pittsburgh
Sage
Amos Eaton
DCC
Greene
Carnegie
JEC
Ricketts
JROWL
Commons
Library
Troy
Lally
Academy
Walker


Mostly done


Needs a lot of work

(Someone is working on this) Winslow - floor 1 is really weird, floor 2 is on wrong size, rooms need to be moved for outer wall, some rooms are weird and misshapen, make it look nicer, winslow floor 3+4 not there
(Someone is working on this) Low - floor 1 resize, floor 2 slightly too big with lots of gaps + hallways should not be labeled + some rooms not labeled, floor 3 and 4 is the same as floor 2, floor 5 hallway label bad + resize + reorder 5118, floor 6 + 7 fix naming + extra stuff in svg files + reorder + scale prob + don’t draw doorways = need to redraw most rooms :(, 8 + 9 increase size


Not started (don't work on these until everything else is good)

87’ GYM
Union
Robinson Pool
Muller Center
Armory
CBIS
Sage Dining Hall - missing floorplan, got remodeled and floorplan old, possibly contact the company that remodeled it or RPI itself for floorplan idk, would like to make this
Cogswell
Empire
MRC
EMPAC
VCC

Export OSM as SVG, clean up, add to /app/assets/svg

Task

From OSM map of RPI, Share > Image > Format: SVG (play around w/ options):

  • Prune map to just main campus buildings, make separate layers for walkables, paths, and roads
  • Add to assets/svg

Considerations

  • Should footpaths be merged with paved paths?
  • Zoom out max distance + what to keep on periphery

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.