Giter VIP home page Giter VIP logo

bostongreenmap's People

Contributors

allthesignals avatar brightredchilli avatar brucegarro avatar cspanring avatar mjacksonw avatar mr0grog avatar paulswartz avatar saurya avatar tyrelsouza avatar varmas avatar whereshj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bostongreenmap's Issues

Add pop-up when user searches by name of park

Currently, if a user types in the name of the specific park they are looking for (with auto-fill), the map zooms to that park, but gives no specific indication of which park on the map it is. In some cases there are many parks visible on the same page. It would help if the pop-up with the name of the park and the 'Details' and 'Zoom' button showed up for the park of interest.

Improve Top Nav User Interface

The three questions Select your neighborhood, Select your activity and Park name are confusing for users. Could we make it one open ended question? User que would say select your neighborhood, an activity or a park. The results would auto complete with options.

facility icons tend to clutter map

solutions?

  • smaller icons
  • dots (~16 different colors?)
  • text labels only
  • zoom depended
    #2 could solve this too: only show facility icons on park detail page

Pagination

We want the results page to paginate results instead getting everything from the server.

@Mr0grog has started this work, which can be seen in pull request #59. With only a few minor issues, this seems to be a good start for pagination in the front end.

We may need more information. The Backbone model needs to stop asking for data when it reaches the end of the queryset. @brucegarro, any thoughts?

Integrate TileStache map tile server

Currently interaction and park rendering is done by integrating a topojson file with park geometries and attributes. While performance is decent with a limited number of parks, this solution is not scalable.

TileStache could help here by rendering parks as image tiles and attributes as UTFGrid to support user interaction.

Data integration

  • evaluate vector tile layer (e.g. handling of park geometries accroos tile boundaries)
  • setup TileMill project for park rendering
  • add parks tile layer
  • add utf grid layer for parks attributes

Installation

  • install tilestache
  • setup mapnik
  • configure nginx vhost

Some of the design should be tweaked

Design:

  • Non-activity factoids should be moved below the description region, and they should be smaller images
  • Activities should remain in the Quick Facts as a carousel
  • Featured image flag exists as a column in the database - should there be multiple featured images? Should they be randomized? How should this be designed to improve discoverability?

UI/UX Design:

  • The filters should be dynamic, finding related records so that the user doesn't search for things that won't be there!

Masonry does not place images optimally in Firefox

Masonry works well in other browsers except Firefox. In Firefox, it distributes images incorrectly, leaving large columns of white space unfilled.

In Firefox 34.0.5:
screen shot 2015-01-14 at 11 45 43 am

Correct behavior in Chrome:
screen shot 2015-01-14 at 11 46 01 am

Here is the relevant Masonry code: https://github.com/codeforboston/bostongreenmap/blob/master/client/js/app.js#L354-L360

Here is the relevant CSS code:
https://github.com/codeforboston/bostongreenmap/blob/master/client/scss/_results.scss

Relevant Handlebars template:
https://github.com/codeforboston/bostongreenmap/blob/master/client/templates/resultItem.hbs

And Masonry docs: http://masonry.desandro.com/

We need Firefox to place the images as they are placed in Chrome and other browsers. Any thoughts on what is causing this?

Here is some possibly related discussion: desandro/masonry#166 (comment)
This issue concerns percentage widths, so it doesn't seem relevant.

Autocomplete text doesn't display

The image says it all: when typing, results come up, but the text in the textbox doesn't show up.

screen shot 2016-07-06 at 11 42 48 am

Mac OS 10.10.4 Yosemite, Firefox 47

Add an Introductory modal the first time a user enters the site

Add an introductory modal to help users understand what to do first. Text should read something like: Get information about parks and open space in Metro Boston. Find your Space by selecting your neighborhood or city, an activity or search for a park by name. Click on a green space to get more information about the park and its facilities.

Editing Park Boundaries

I received a request to make some edits to the Magazine Beach record in Cambridge, including making the park accessible on the site - currently it is stuck underneath one of the Charles River Reservation shapes. I have tried adjusting the boundaries of the CRR so that it does not overlap, but I get an 'Internal Server Error' message when I try to save my changes. Not sure if it is my access level or something else. Thanks!

Repeat Parks results

When filtering parks in the API:
http://0.0.0.0:8000/parks/search?neighborhoods=15

The database returns, for example, Mystic River Reservation multiple times. The actual database table has these repeated entries, and they have unique ids, but I'm not sure why they are repeated and I don't want it to break the map.

So, how do we eliminate duplicate results and not break the map?

Redesign: backend tweaking

We don't completely know the API yet. Bruce is helping us make the API conform more to JSON API standard (http://jsonapi.org/).

  • Fixture Data so frontend dev can continue
  • Tweaking the API
  • Additions to database
  • User-submitted features via Facebook OAuth

Map integration

BostonGreenMap already has a great map built, and we'd like to integrate it into the photo-based design.

Currently, a Leaflet map (of London) is built into the view, but none of the great features from the previous map are built in. We'd like to start with the individual park view, showing:

  1. Park's geometry
  2. Park activities

Currently, there's a static topojson of all the parks in /parks. The old map filtered this topojson file. This could work for this iteration as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.