clhenrick / am-i-rent-stabilized

A web app to inform NYC residents about rent stabilization

Home Page:https://amirentstabilized.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reinstate local tenants rights group search

clhenrick opened this issue · comments

I didn't get around to this in #58 and it should be added back.

Requirements:

Data

  • tenants rights groups spatial search query made to the CARTO SQL API
  • redux boilerplate for fetching data, storing state
  • firing the redux action for the query after an address search has been made

Sample Query:

SELECT 
  name, 
  full_address, 
  email, 
  phone, 
  description, 
  service_area, 
  website_url 
FROM nyc_tenants_rights_service_areas
WHERE ST_Contains(
  the_geom,
  ST_GeomFromText(
    'POINT(' || -73.957585 || ' ' || 40.65803 ||  ')',
    4326
  )
)

UI

  • a modal component (could possibly combine with rent-history modal?)
  • logic to update the text in the slide that links to the modal
  • move the Handlebars template currently in the <script> tag in the index.html page to its own .hbs partial