Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Commits on Apr 22, 2012
  1. Add basics of direction routing, see commit notes

     - Directions to stores implemented at the basic level
     - Ajax loading gif shows when searching for stores
     - Sidebar displays a store closed all day correctly
  2. Add ajax loading image

Commits on Apr 20, 2012
  1. Change timing logic for information about hours

     - Stores now update on their 'open' status at closing and opening time
     - Store markers and list entries update when 'open' status changes
     - The countdown to closing/opening in the infowindow updates on the
       minute, so updates are accurate to time
     - Clean up errant whitespace
Commits on Apr 13, 2012
  1. Change CSS

  2. Search for SAQs based on lat/lng, not postal code

    Instead of looking up stores based on postal code, the PHP script now
    searches based on latitude/longitude. This allows results for every
    query, fixing the bug where no stores were returned because Google
    was returning only the postal code prefix. This change also allows
    returning more than just 5 stores in the future, but that is not
    implemented in this commit.
  3. Fix infowindows to use #infopane node, not html

    Infowindows now consume the #infopane node, which means they will change
    with the div without needing to redraw the infowindow itself. In practice
    this means the displayed time-until-closing will update accurately without
    causing a flicker as the infowindow is redrawn. Additionally, the logic
    for checking if a store is open was changed to account for stores closed
    all day.
  4. permissions...

  5. Change hours template, change #infopane div

     - Changes template for store hours, so stores closed all say say "closed"
     - Changed "#infopane" to "#infopane-container". Container holds info divs
       that are displayed in the map infowindows
Commits on Apr 6, 2012
  1. Make infowindow update when store info updates

     - Infowindows now update when the infopane renders
     - Infopane updates cause a slight flicker :(
     - Fixed "opens in" information
  2. Add times to infopane, minor map improvements

     - Times added to infopanes
     - Map now starts showing all of Quebec, zooms when needed
     - When store are found, map moves/zooms to contain all markers
  3. Add "day" attribute to store open/close times

     - Associate the hours a store is open with actual days
     - Clean up PHP code a bit
Commits on Apr 5, 2012
  1. Add infowindows containing store information

    This commit takes the infopane div from previous versions and
    displays it in an infowindow pointing to the relevant store
    when the store is selected. There are also minor fixes to
    disable the "find me" button when AJAX is being processed.
  2. Add closing/opening countdown to store info pane

    This commit adds a countdown until closing/opening for stores that
    are near closing/opening time. For the moment the countdown until
    closing begins 8 hours before the store closes, for testing purposes.
    The info pane is still not fully implemented - for the moment it is
    just a div with some info in it that has yet to be added to the map.
  3. Add functionality for markers, begin infowindow

     - Tie map and app views together in terms of markers and interactivity
     - Add colored markers, with colors corresponding to open/closed
     - Add drag-and-drop functionality for setting address to look around
     - Disable 'find me' button while AJAX is processed
     - Make logic for whether or not a store is open more readable
     - Begin implementing infopane functionality for selected store
Commits on Apr 4, 2012
Commits on Mar 11, 2012
Commits on Mar 10, 2012
  1. readme

  2. initial commit

Something went wrong with that request. Please try again.