Skip to content

Instantly share code, notes, and snippets.

@Riveascore
Last active November 17, 2015 18:46
Show Gist options
  • Save Riveascore/44edc6d3ea29688429a4 to your computer and use it in GitHub Desktop.
Save Riveascore/44edc6d3ea29688429a4 to your computer and use it in GitHub Desktop.

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"
Search Indices Icon with A belongs to B Filter indices Tags
means that searching will return this exact result, usually objects by name/desc Results that are not within a category block, but uses a generic icon (enrollment -> yellow + fa-graduation-cap) similar to Trip Advisor's Search What we use to filter down results on filter page Tags will show up as "Name tagged as 'playground'/'tennis' (label/badge objects)"
  • Courses, ecfe_courses, ( PROGRAMS)
    • Verbatim Search Fields: name, description (courses in winter), tags, !notes!, numbers (grandpa gets his catalogue (from secitons))
    • Icon with A belongs to B: location/room, season, catalogue, category, instructor name
    • Filter Indices: start_date, end_date, times of the day, DOW, age, grade, category, catalogue
  • Category (aquatics etc.) ( PROGRAM CATEGORIES)
    • Verbatim Search Fields: name
    • Icon with A belongs to B: belongs to category B
    • Filter Indices: N/A
  • Building and Rooms (Building, Site (complex)) ( LOCATIONS)
    • Verbatim Search Fields: name, acronym, description, tags, address (buildings in Minneapolis),
    • Icon with A belongs to B: complex: buildings in site
    • Filter Indices: location
  • Building and Rooms (Room) ( LOCATIONS)
    • Verbatim Search Fields: name, tags, address (rooms in Minneapolis),
    • Icon with A belongs to B: building or site: rooms in site/building
    • Filter Indices: location, ¿capacity?
  • Sacc Site ( LOCATIONS)
    • Verbatim Search Fields: name
    • Icon with A belongs to B: sites in program, sites in season, sites in building,
    • Filter Indices: dates (start end), dates ¿Add "filter by registration start/end" checkbox to fitlers?, DOW
  • Sacc Program ( ACCOUNTS)
    • Verbatim Search Fields: name, acronym, description, address
    • Icon with A belongs to B: ¿HAS NO VALUES FOR THIS?
    • Filter Indices: N/A
  • Facility Account ( ACCOUNTS)
    • Verbatim Search Fields: name (user/org), id, ONLY_ACCESS_USER_ID
    • Icon with A belongs to B: ¿accountable? (seems to specific for FE)
  • Sacc Account ( ACCOUNTS)
    • Verbatim Search Fields: id, name (sort of, via SaccProgram), acronym, ONLY_ACCESS_USER_ID

##Sacc Site Show page, can filter sections similar to how courses do


¿Facilities Programs by District (i.e. partnership/advertising) ENDS UP IN PROGRAMS?






Miscellaneous Search Categories

Primarily found by "Icon with A belongs to B"
  • Enrollments
    • Verbatim Search Fields: "name" Jamie's enrollment in painting <- relevant to a time (not 2 years ago), ONLY_ACCESS_USER_ID
    • Icon with A belongs to B: user, course, course_section, enrollment in category, enrollment at location/room, ¿enrollment in season?, catalogue, instructor name, tags
  • Contracts
    • Verbatim Search Fields: "name" Jamie's contract for Rondo <- relevant to a time (not 2 years ago), ONLY_ACCESS_USER_ID
    • Icon with A belongs to B: sacc_child, account, site, program, season
    • Filter Indices: type, start_date, end_date, DOW





Searchable System Actions/Functions

Will get its own search grouping block

User search result Searched Tags Details/Notes/¿Questions?
"Make Payment" pay, payment, money list all object you can make a payment on
"Sign up for Childcare" sign up, register, childcare, apply/application ¿ Synonyms, what does parent think a contract is?
"View Accounts" account
"View Account Balances" account, balance, owe, invoice, statement, due, bill, balance, tab, finance
"View Transactions" receipt, pay, payment, transaction, activity, purchase, charges, spending, finance, refund, money, funds, adjustment, ¿discount (don't think so)?, credit, debit, ¿recurring?, invoice, ¿budget?, withdrawal, deposit, expense, fee Wording? "View Payment History"?
"View/Modify Authorized Pickups for Your Child" pickup, pick up, authorize, ¿safety?, ¿relase? (like release form), picking, pick-up, child
"View/Modify Emergency Contacts for Your Child" emergency, contact, child, urgent, accident, disaster, medical (medical information),
"Request a Facility (Room/Building)" book, request, facility, location, building, room, venue, sign up, apply/application
"View/Modify Payment Methods" pay, method, credit, debit, ach, bank, money, visa, mastercard, american express, discover, checking, card, account
"View Facility Schedule" schedule, calendar, agenda, event, holiday
"View Building Schedule" schedule, calendar, agenda, event, holiday Same as above?
"View Contract Schedule" schedule, calendar, agenda, contract, child care
"Paperless Bill Settings" electronic, paper, paperless, bill, billing, green, statement, ¿invoice?, finance, money
"Auto Payment Settings" auto, automatic, pay, bill, billing, statement, ¿invoice?, finance, money, debit, recurring
"View Tax Statements" tax, statement, money
"¿View/Modify Your Instructor Contracts?" contract, instructor, teach, education
"¿Lotteries You're Enrolled In?" lottery, course, ecfe, ¿raffle?
"View Surveys you're currently taking or have taken" survey, study, campaign, question, answer, results






Questions to answer

  • How to handle separate acts_as_indexed_solr, two different arrays?
  • Model/DB or YAML for "system actions"?
  • Model for 3 different searching appraoches, search/belongs_to/filter?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment