Code Monkey home page Code Monkey logo

encompass's People

Contributors

akegan avatar bcherny avatar dependabot[bot] avatar ericboucher avatar mjamei avatar pcorpet avatar philipdickinson avatar tetraptych avatar viviandien avatar

Stargazers

 avatar  avatar  avatar  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

encompass's Issues

Clear Inputs button

“Clear Inputs” button to clear inputs and start a new analysis should appear in Service Area andf Provider drawers.

No points show up at 5 miles

Steps to reproduce:

  1. Select San Francisco County, all zips
  2. Change distance from 0.5 to 4 miles

Expected behavior:
Bigger points show up

Actual behavior:
No points appear

Add a loading icon/context for time-consuming processes, ie: geocoding providers, running adequacy analysis

It's nice to have some feedback after a user has uploaded a list of providers.
I understand the geocoding of providers is not optimized currently, but it's helpful to understand that the application is working.

A few options:

  1. make the application inactive. use a module overlay that shows a loading circle or bar with some text about what process is currently happening (geocoding, running time and distance analysis, etc)
  2. put loading messages in respective drawers. ie: when geocoding providers, a loading circle or bar will show up in the Providers drawer (a user will have just uploaded a CSV here so this should make sense). then the map auto-zooms to encompass the new providers as well. (should be considered in #12). when running the analysis, the charts/figures in the analysis drawer should be grayed out until complete.

Analytics - Add numbers by population and rps

Expected behavior:
Analytics drawer should have two rows:

  • percentage by number of representative point
  • percentages by population

Actual behavior:
Analytics drawer shows percentage by rps only

Auto-detect a variety of header texts in CSV upload of Service Areas

I think this should at least match what we have built for RPG.
We can anticipate what the most common headers will be--ie: County, county, County Name, County name. This will also lessen the need for issue #67

The experience of uploading an incorrectly formatted CSV is worsened by the fact that there is no "Clear Inputs" button-- I have to reload the page each time.
nudge for issue #14

Provider Upload - Show success message when all providers are geocoded

Steps to reproduce:

  1. Upload a CSV of known addresses for providers
  2. Wait for the backend to process them
  3. If there is no error, it will show a Failed - 0 providers failed to geocode

Expected behavior:
Success - All N providers geocoded

Actual behavior:
Failed - 0 providers failed to geocode (N)

Fix Favicon

Favicon throws an error and does not load properly.

Map auto-zoom and pan

  • Map should auto-adjust to specified service area and appropriate zoom level
    • If two non-adjacent service areas selected, map should adjust to a zoom-level that encompasses both areas

Analytics drawer

  1. Aggregate adequacy metrics for the selected service area
    a. Create a Percentage Circle showing the percentage of population adequately covered.
    b. Reveal aggregate metrics and “worst case scenario”.
    c. Allow user to download a report.
    d. When user highlights a different service area in the map, update analytics

Mockup:

screen shot 2017-10-30 at 3 57 02 pm

Map - Clustering for RPs does not work for 5 mi distribution

Steps to reproduce:

  1. Select San Francisco, all Zips
  2. Toggle from 0.5 mile distribution to 5 mile distribution

Expected behavior:
Points get larger as they represent more people at the 5 mi setting.

Actual behavior:
The points are clustered appropriately for 0.5 but then shrink to be the same size at 5 mi.

screen shot 2017-11-20 at 8 28 33 am
screen shot 2017-11-20 at 8 28 30 am

Make service area CSV parser more lenient

Uploads can be in 1 of 3 formats: Zip Codes only, Counties only, or Zip Code and County pairs.

Today, we assume that both zips and counties are defined. But we should assume that one or the other is defined.

Map auto-coloring

Representative points in adjacent service areas should have different colors.

Use ENV to define API endpoint

Use an environment variable to define the API endpoint (in services/api.ts)
This will make deploys easier and more straightforward

Rep points dont load

Steps to reproduce:

  1. Navigate to http://localhost:8081/#/service-areas
  2. Select Alameda county
  3. Check all zips (observe that representative points load)
  4. Also select Fresno county
  5. Check all zips

Expected behavior:

Representative points for Fresno should appear

Actual behavior:

POST /api/representative_points returns a 500 error

Demo - Add demo CSVs or data for service areas and providers

Add a button to load the app with demo data, maybe Fresno and Fresno providers?

The idea is to make it easier for people to debug the primary functionalities of the app. It would also make it easier to share the link externally.

Two options:

  1. Have a button to download two csvs that can then be used with the app
  2. Have a button to autoload a state with the corresponding data

@viviandien @bcherny thoughts on the above?

Analytics - Filter out points on Map to display only points in selected Service Area

Steps to reproduce:

  1. Upload service area file in Service Area drawer.
  2. Upload PCPs file in Providers drawer.
  3. Go to Analytics drawer.
  4. Change dropdown from "All service areas" to "Amador/94501"

Expected behavior:
Map zooms to selected service area and displays only points in that service area.

Actual behavior:
Map does not react and all points are displayed.

Add "Clear Inputs" to the Providers drawer

Currently the only option for a user is to reload the page or upload a new CSV.
It would be nice to have a Clear Inputs button that removes the uploaded CSV, just to be able to start with a clean slate. Mostly useful for debugging.

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.