focusconsulting / housing-insights

Bringing open data to affordable housing decision makers in Washington DC. A D3/Javascript based website to visualize data related to affordable housing in Washington DC. Data processing with Python.
http://housinginsights.org
MIT License
59 stars 110 forks source link

Front-end refactor master issue #614

Open ostermanj opened 6 years ago

ostermanj commented 6 years ago

This issue refers to front-end refactoring tasks to improve performance of the app and maintainability of the codebase that will not affect the UI or features.

Three main aims, as I see them.

  1. Identify and fix any runtime errors the app may be (is) throwing on the client side.
  2. Simplify, streamline, and reduce repetition of the JavaScript codebase so that it's easier to maintain and more attractive to work on.
  3. Speed up the page load: better sequencing and potentially deferring some data downloads until requested by user.

Another question, not quite in the scope of this, is whether the front end should eventually be built on an established platform, React or Vue.js for instance. If we do eventually go that way, a refactor of the existing framework-less codebase should make that easier.

Identify and fix runtime errors (tasks to be added and modified; issue numbers to be added)

Simplify, streamline, and reduce repetition

Speed up the page load