Skip to content

Commit

Permalink
Adding email templates (bloom-housing#1792)
Browse files Browse the repository at this point in the history
* update master with latest (bloom-housing#1727)

* 1545/lat-long draggable map (#1577)

* 1616/user roles (bloom-housing#1673) from 1628

* User roles for partners

* generate migration

* update client

* update seeds and policy

* migrate partners from leasing agent table

* change enum name

* Remove anonymous role

* Update authz.service.ts

* fix application view

* update changelog

* fix backend tests

* add test

* fix ui tests

Co-authored-by: Abbie Farr <[email protected]>
Co-authored-by: Abbie Farr <[email protected]>

* Fix code style issues with Prettier

* 1587/Updates Listing Columns and Perms so Leasing Agents can Edit (#1627)

* updates for cache revalidation on the frontend

* fixes listing bug issue

* Updates partner listings columns

* updates policy and user perms

* skips tests until #1616 is implemented

* updates to work with new user roles

* remove origin from listing service list args

* test update

* Fix code style issues with Prettier

* Split Listing form up into two main tabs (#1644)

* Add tabs to the listing form

* Fix button positions and ensure tabs always render

* Add #1644 to Changelog

* fixes warning for ArrowForward props

Co-authored-by: seanmalbert <[email protected]>

* Contribute Feature/Ensure Progress Bar is screen reader friendly (bloom-housing#1674)

* Add unit size filter to backend (#1660)

* Add unit size filter to backend (#368)

* initial thoughts

* initial bedrooms filter (untested)

* Fix code style issues with Prettier

* fix typo in 'studio'

* remove custom filter handling, switch to bedrooms field on unit table

* add additional check for invalid comparisons, outside the filter handler

* use unit_type table for bedrooms, add field to unit_type table, remove toLowerCase() from filter name comparisons to allow camelCase filter names

* Fix code style issues with Prettier

* add bedrooms filter to frontend comparison map

* fix comparison type for frontend map

* fix test and migration indentation

* update changelog

* regenerate swagger

* fix tests

* try to fix more ui tests

* try to fix more ui tests

* add comment for custom filter handling

Co-authored-by: Lint Action <[email protected]>

* fix missing bedrooms build error

Co-authored-by: Lint Action <[email protected]>

* 1431/google translate (#1590)

* Initial google translate listing

* Translations for arrays

* Disable caching for GET listing endpoint

* Final tweaks to google translate

* Update change log for google translations

* Fix code style issues with Prettier

* Update CHANGELOG.md

* Minor cleanup for Google Translate

* Initial google translate listing

* Translations for arrays

* Disable caching for GET listing endpoint

* Final tweaks to google translate

* Update change log for google translations

* Fix code style issues with Prettier

* Update CHANGELOG.md

* Minor cleanup for Google Translate

* Google translate refactoring

* Fix listings service spec

* adds custom cache interceptor for language

* updates custom cache interceptor

* Add missing Headers import for listings controller

Co-authored-by: Lint Action <[email protected]>
Co-authored-by: seanmalbert <[email protected]>

* Restructure units summary table (bloom-housing#1670)

* Add UnitsSummary to Listing

* remove listing service changes

* redo migration

* monthlyRent as number

* fix lint errors

* Fix code style issues with Prettier

* Hardcode the number of items in listings.e2e-spec.ts. (#1643)

Using the length of the array from seed.ts was causing flakiness if the
bloom database was not set up in the testing environment.

Co-authored-by: seanmalbert <[email protected]>

* Contribute/Create listing updated UI component (bloom-housing#1676)

* 1621/Listing Views (#1626)

* set fallback to true for getStaticPaths so new paths can be added

* adds revalidate to staticProps

* updates for cache revalidation on the frontend

* trigger cleanup

* fixes listing bug issue

* adds additional checks for unit type and priority

* new line

* Fix code style issues with Prettier

* adds listing view

* adds other views

* adds unitsAvailable to select

* updates to pass view as query param for list and by id

* removes comment

* Update CHANGELOG.md

* updates view test

* rename spec and remove log

* removes another log

* updates partner-role migration

* updates partner-role migration

* adds --runInBand --detectOpenHandles to backend test

* adds view param to applications e2e spec test that fetches listings

* updates default view to full and fixes housing-counselors bug

* view test update

Co-authored-by: Lint Action <[email protected]>

* 1629/fcfs with date (bloom-housing#1680)

* 1629/fcfs with date

* changelog

* 1611/what to expect editable in listings management (bloom-housing#1681)

* 1611/what to expect editable

* fixup unit test

* changelog

* Make actions an optional prop and hide the footer when not present. (bloom-housing#1690)

* Make features section more robust (bloom-housing#1688)

* Fixes whatToExpect UI Component failing test (bloom-housing#1692)

* force quit redis connection on app close

* updates for redis config

* adds enableShutdownHooks to main app

* Update archer-listing.ts

* Add migration (bloom-housing#1689)

Co-authored-by: seanmalbert <[email protected]>

* Fix code style issues with Prettier

* adds SRO to num_bedroom case

* 872/allow for unit sets to have multiple ami charts (bloom-housing#1678)

* Updates cache clear to use reset, instead of maintaining cache keys (bloom-housing#1698)

* force quit redis connection on app close

* updates for redis config

* adds enableShutdownHooks to main app

* Update archer-listing.ts

* Updates cache clear to use cacheManager reset, so we don't have to maintain keys

* Update units-transformations.ts

* Update CHANGELOG.md

* allows for not needing google api keys

* Update listings.controller.ts

* Update listings.e2e-spec.ts

* testing build issues (bloom-housing#1699)

* testing build issues

* testing build issues pt 2

* Updates translations to check for values before sending to service

Co-authored-by: seanmalbert <[email protected]>

* 1656/lottery type without explicit date (bloom-housing#1682)

* Add two lines to the LeasingAgent UI component to display information about the listing management company (bloom-housing#1677)

* Fix code style issues with Prettier

* 1402/multiple statuses under image card (bloom-housing#1700)

Co-authored-by: Anthony Kong <[email protected]>

* fix application routing (bloom-housing#1715)

* fix-applications-url

* changelog

* 1691/hmi translations (bloom-housing#1707)

* update bha-csv (bloom-housing#1726)

* Fix code style issues with Prettier

Co-authored-by: Sean Albert <[email protected]>
Co-authored-by: Abbie Farr <[email protected]>
Co-authored-by: Abbie Farr <[email protected]>
Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Jared White <[email protected]>
Co-authored-by: pfeeny5 <[email protected]>
Co-authored-by: Austin Valeske <[email protected]>
Co-authored-by: Marcin Jędras <[email protected]>
Co-authored-by: Will Lin <[email protected]>
Co-authored-by: Anders Schneider <[email protected]>
Co-authored-by: Anthony Kong <[email protected]>

* Flagged set perms (bloom-housing#1754) (bloom-housing#1756)

* force quit redis connection on app close

* updates for redis config

* adds enableShutdownHooks to main app

* Update archer-listing.ts

* Updates cache clear to use cacheManager reset, so we don't have to maintain keys

* Update units-transformations.ts

* Update CHANGELOG.md

* allows for not needing google api keys

* Update listings.controller.ts

* Update listings.e2e-spec.ts

* updates permssions for flagged sets so partner role can access

* fixes/updates listing form unit and ami chart checks

* Adding email templates

* moves logo

* Fix code style issues with Prettier

* Update inlined.html

Co-authored-by: Emily Jablonski <[email protected]>
Co-authored-by: Sean Albert <[email protected]>
Co-authored-by: Abbie Farr <[email protected]>
Co-authored-by: Abbie Farr <[email protected]>
Co-authored-by: Lint Action <[email protected]>
Co-authored-by: Jared White <[email protected]>
Co-authored-by: pfeeny5 <[email protected]>
Co-authored-by: Austin Valeske <[email protected]>
Co-authored-by: Marcin Jędras <[email protected]>
Co-authored-by: Will Lin <[email protected]>
Co-authored-by: Anders Schneider <[email protected]>
Co-authored-by: Anthony Kong <[email protected]>
Co-authored-by: Jesse Arnold <[email protected]>
  • Loading branch information
14 people authored Sep 8, 2021
1 parent bc10cda commit bf17164
Show file tree
Hide file tree
Showing 4 changed files with 1,103 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/core/src/shared/units-transformations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ const hmiData = (units: Units, maxHouseholdSize: number, amiCharts: AmiChart[])
rowData[`ami${currentAmiPercent}`] = ""
}
} else {
if (!uniquePercentCharts[0].chart) {
return
}
// If we have chart data, create a max income range string
const firstChartValue = findAmiValueInChart(
uniquePercentCharts[0].chart.items,
Expand Down
Loading

0 comments on commit bf17164

Please sign in to comment.