Skip to content

Instantly share code, notes, and snippets.

@Riveascore
Riveascore / looks_like_fortran.js
Last active August 29, 2015 14:19
Loading cube animation, wrote on paper first using shorthand, looks pretty funny when you quickly type it out
var $lC = $loadingObject.find('.loading-cube'),
sT = $(window).scrollTop(),
eOT = $thisOffset.top,
eH = $this.height(),
wH = $(window).height(),
cH = 25,
nCP;
eVH;
if(sT > eOT) {
if(eOT + cH > sT + wH) {
prevent default

case
when rainy_mood
  mute rainy_mood tab
when spotify
  pause spotify
when youtube_playing
 pause youtube video

All Left to Do

  • Search
  • Course Category
  • Building Show
  • Payment Receipt
  • Enrollments (on your registrable users)
    • List
    • Show
  • Enroll Process

Timeline

Item Estimation
Search 15 days
Course Category 3 days
Building Show 1-3 days
Payment Receipt 2 days
Enrollments (on your registrable users)
  • List
  • Show
3 days
Enroll Process Choose Person(s)Accept TermsQuestions 5 days

Primary Search Categories

Primary search categories will get block groupings as seen in this mockup THIS updated mockup

Category boxes

  • ¿Top Result?, "fa-star"
  • Programs, "fa-graduation-cap"
  • Program Categories, "fa-tag"
  • Locations, "fa-map-marker"
  • Accounts, "cf-profile"
  • Misc, "fa-asterisk"

"Customize your feed" (for finding courses in generic browse mode) similar to instructables

General Search Ideas

  • Add "distance from location" to location filter on search results page
  • Season replaces "Category" on filters when lookign at sacc site, swap green/yellow for all cases, so season ends up as green

First Iteration (primary and misc only, hold off on system actions) (search box)

vendor/plugins/acts_as_solr

  • figure out common fields between search indices, for INDEXING MODULE
    • Doesn't matter what actual name ruby attribute is, SOLR defines (label/name) as name according to SOLR
  • Most common: name, address, acronym
  • Programs (Courses/ECFE, i.e. painting, swimming 10442) ( PROGRAMS)
Search Indices: A -> B Filter Indices:
name, description (courses in winter), tags, !notes!, number (from catalogue) location/room, season, catalogue, category, instructor name start_date, end_date, created_at (newest), distance from your location, times of the day, DOW, age, grade, category, catalogue
  • Category (aquatics etc.) ( PROGRAM CATEGORIES)
Search Indices: A -> B Filter Indices: