learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
83 stars 57 forks source link

Filter rooms in AJAX by timeslot availability #458

Open jmoldow opened 11 years ago

jmoldow commented 11 years ago

From MIT: "Sorting classrooms in ajax by availability at a given time"

gkanwar commented 11 years ago

A possible extension to this -- combine this with existing filter capabilities, but rather than fully filtering out classes that don't match (we frequently can't find a classroom that matches perfectly) we should have weights for each filter parameter and sort the classrooms by closeness to the filter parameters (probably a simple weighted sum of normalized distances squared). We can highlight at the top any classrooms that fully match the filter query.

benjaminjkraft commented 11 years ago

Whoa, that would be really awesome actually.

On Sat, Nov 10, 2012 at 5:32 PM, Gurtej Kanwar notifications@github.comwrote:

A possible extension to this -- combine this with existing filter capabilities, but rather than fully filtering out classes that don't match (we frequently can't find a classroom that matches perfectly) we should have weights for each filter parameter and sort the classrooms by closeness to the filter parameters (probably a simple weighted sum of normalized distances squared). We can highlight at the top any classrooms that fully match the filter query.

— Reply to this email directly or view it on GitHubhttps://github.com/learning-unlimited/ESP-Website/issues/458#issuecomment-10260746.