Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BiG-CZ: List Popup #2314

Merged
merged 9 commits into from
Oct 6, 2017
Merged

BiG-CZ: List Popup #2314

merged 9 commits into from
Oct 6, 2017

Commits on Oct 6, 2017

  1. BiG-CZ: Register Clicks Inside Cinergi Bounding Boxes

    * Previously we didn't fill the Cinergi boxes, so clicks only registered on
      their borders
    
    * Transparently fill the boxes so we can capture all intersecting clicks
    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    462d348 View commit details
    Browse the repository at this point in the history
  2. BiG-CZ: Register Clicks For All Intersected Layers

    * Previously only the topmost catalog feature would fire a click event
    
    * We want to show all intersected layers per click, move the popup binding into
      an on click handler on the whole FeatureGroup
    
    * Clicks that only intersect a single feature show popups the same as before
    
    * Clicks that intersect multiple features, just log them to the console for now
    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    8526b6e View commit details
    Browse the repository at this point in the history
  3. BiG-CZ: Render List Popup View On Multiple Features Click

    * Create a new popup view that first shows a list view of all click-intersected
      results. If a list item is clicked, shows the selected result's detail view
    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    b398ac3 View commit details
    Browse the repository at this point in the history
  4. BiG-CZ: Add number of results to popover list view

    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    e141c73 View commit details
    Browse the repository at this point in the history
  5. BiG-CZ: Add back button from details popover to list popover

    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    0139cd2 View commit details
    Browse the repository at this point in the history
  6. BiG-CZ: Close popovers when switching catalog/detail view

    * The list popups are directly on the map, not tied to any particular layer.
      Close them manually when the catalog is switched or we enter a detail view
    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    88f8caf View commit details
    Browse the repository at this point in the history
  7. BiG-CZ: Paginate Popover List View

    * Use Backbone Pageable Collection to paginate popover list view
      when results > 3 items
    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    7e49722 View commit details
    Browse the repository at this point in the history
  8. BiG-CZ: Link Popup Active+Highlight States With Sidebar And Map

    * Highlight the sidebar list item and map element
      when hovering a popup list
    
    * This involved changing the way we add the "ring" highlight to
      the map when the shape is outside the viewport bounds for
      CINERGI
          - Before we were using jquery to add a "highlight" class
            to the map container. This caused additional mouseenter
            and mouseleave events to fire on the popup list element.
            The cursor and highlighting would flicker
          - Switch to adding a whole DOM element to show the "highlight"
            ring. This does not cause additional mouse events to fire.
    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    7583d7d View commit details
    Browse the repository at this point in the history
  9. BiG-CZ: On list popup close, clear active styling

    Alice Rottersman committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    9bb0e53 View commit details
    Browse the repository at this point in the history