Git Product home page Git Product logo

open311-web-public's Introduction

open311-web-public

Dawasco public website for open311 issues

Project Structure

.
├── README.md
├── config
│   ├── jest
│   │   ├── fileMock.js
│   │   └── fileTransform.js
│   ├── webpack.config.dev.js
│   └── webpack.config.prod.js
├── development.js
├── package.json
├── production.js
├── public
├── src
│   ├── index.js
│   ├── setupTests.js
│   ├── components
└── package-lock.json
  • development.js
    Server in dev environment
  • production.js
    Server in production environment
  • config/webpack.config.dev.js
    Webpack development configuration
  • config/webpack.config.prod.js
    Webpack production configuration

Usage

First install all the dependencies for development

npm install && bower install

Launch application in development mode

npm run dev

Testing Application

npm run test

Note
Leaflet Map Testing is limited as of this writing, leaflet does not natively support headless browser and it keeps giving out window is not defined error. Refer to PaulLeCam/react-leaflet#69 and PaulLeCam/react-leaflet#45

Build application

npm run build

Run application

npm run start

Extras

  • Best fix of npm run.lock merge conflict
    $ git checkout <previous commit> -- npm run.lock
    $ npm run install
    

open311-web-public's People

Contributors

jeanbarroca avatar kasongoyo avatar lykmapipo avatar navish avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

open311-web-public's Issues

Fix style: Summary Statistics and Last 30 days

Summary Statistics

font-family: Montserrat;
color:  #2db34b;
font-size: 16px;
font-weight: 400;
text-align: left;

Last 30 days

font-family: Montserrat;
color:  #8a8a8a;
font-size: 10px;
font-weight: 700;
line-height: 18px;
text-align: left;

Fix hiding of filter tab

From Samhir:

I like how, after user applies any filter, the filter is applied and then the Filter window automatically disappears. Is this deliberate?
If so, sounds good but keep in mind that this means that, if user wants to apply multiple filters, he has to click the Filters tab again to open the Filters window.
However, this feature does not apply when the user applies an Area filter - the Filter window doesn't automatically close after user selects a filter. Suggest changing this to make it more consistent.

Add zoom out button on map

Remove zoom out of map on click in the map and instead add zoom out buttom at the top right adjacent to stats card

Fix bar chart legend style

screen shot 2018-04-23 at 12 31 55

font-family: OpenSans;
color: #555555;
font-size: 10px;
font-weight: 300;
line-height: 17px;
text-align: right;

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.