Skip to content

Commit

Permalink
Merge pull request #1720 from SFDigitalServices/release-09-22-2022
Browse files Browse the repository at this point in the history
September 2022 Release
  • Loading branch information
christine-sfg authored Sep 30, 2022
2 parents 4ba3b1e + 0dea695 commit a36af49
Show file tree
Hide file tree
Showing 64 changed files with 3,152 additions and 665 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ADVERTISE_DALP=false
DALP_PROGRAM_INFO='The 2021 Downpayment Assistance Loan Program (DALP) will begin accepting applications on February 26, 2021.'
SHOW_RESEARCH_BANNER=false
COVID_UPDATE=false
SRO_PLURAL_LISTINGS={ 'a0W0P00000F7t4uUAB': 'Merry Go Round Shared Housing', 'a0W0P00000FIuv3UAD': '1335 Folsom Street', 'a0W4U00000HlubxUAB': '1335 Folsom Street', 'a0W4U00000KGFDWUA5': '1335 Folsom Street', 'a0W4U00000KKtXyUAL': '750 Harrison' }

SALESFORCE_USERNAME=''
SALESFORCE_PASSWORD=''
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ GEM
puma (4.3.12)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.3)
rack (2.2.3.1)
rack-cors (1.0.5)
rack (>= 1.6.0)
rack-protection (2.2.0)
Expand Down
4 changes: 2 additions & 2 deletions app/assets/json/housing_counselors.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"name": "BALANCE",
"languages": ["English", "Cantonese", "Spanish", "Filipino", "Russian"],
"address": "1390 Market Street, Suite 200, Fox Plaza",
"citystate": "San Francisco, CA 94102",
"address": "3543 18th Street",
"citystate": "San Francisco, CA 94110",
"phone": "(800) 777-7526",
"website": "https://www.balancepro.org"
},
Expand Down
16 changes: 16 additions & 0 deletions app/assets/json/translations/react/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -875,13 +875,28 @@
"listings.occupancyDescriptionSomeSro": "Occupancy for this building varies by unit type. SROs are limited to 1 person per unit, regardless of age. For all other unit types, occupancy limits do not count children under 6.",
"listings.openWaitlist": "Open Waitlist",
"listings.openWaitlistSlots": "Open Waitlist Slots",
"listings.onePerson": "1 person",
"listings.minPeople": "at least %{num} people",
"listings.minMaxPeople": "%{min}-%{max} people",
"listings.people": "people",
"listings.person": "person",
"listings.prioritiesDescriptor.hearing": "Hearing Impairments",
"listings.prioritiesDescriptor.hearingVision": "Vision and/or Hearing Impairments",
"listings.prioritiesDescriptor.mobility": "Mobility Impairments",
"listings.prioritiesDescriptor.mobilityHearingVision": "Mobility, Hearing and/or Vision Impairments",
"listings.prioritiesDescriptor.vision": "Vision Impairments",
"listings.Mobility impairments.title":"Mobility Impairments",
"listings.Mobility/Hearing/Vision impairments.title":"Mobility, Hearing and/or Vision Impairments",
"listings.Hearing/Vision impairments.title":"Vision and/or Hearing Impairments",
"listings.Hearing/Vision (Communication).title":"Hearing/Vision (Communication)",
"listings.Hearing impairments.title":"Hearing Impairments",
"listings.Vision impairments.title":"Vision Impairments",
"listings.unitsHaveAccessibilityFeaturesFor.Mobility impairments": "These units have accessibility features for people with impaired mobility.",
"listings.unitsHaveAccessibilityFeaturesFor.Hearing/Vision impairments":" These units have accessibility features for people with impaired vision and/or hearing.",
"listings.unitsHaveAccessibilityFeaturesFor.Hearing impairments":"These units have accessibility features for people with impaired hearing.",
"listings.unitsHaveAccessibilityFeaturesFor.Mobility/Hearing/Vision impairments":"These units have accessibility features for people with impaired mobility, hearing and/or vision.",
"listings.unitsHaveAccessibilityFeaturesFor.Vision impairments":"These units have accessibility features for people with impaired vision.",
"listings.unitsHaveAccessibilityFeaturesFor.Hearing/Vision (Communication)": "These units have accessibility features for people with impaired hearing and/or vision (communication).",
"listings.priorityUnits": "Priority Units",
"listings.priorityUnitsDescription": "This building has units set aside if any of the following apply to you or someone in your household:",
"listings.process.header": "Process",
Expand Down Expand Up @@ -945,6 +960,7 @@
"listings.unitTypes.3 BR": "3 Bedroom",
"listings.unitTypes.4 BR": "4 Bedroom",
"listings.unitTypes.5 BR": "5 Bedroom",
"listings.unitTypes.Room": "Room",
"listings.unitTypes.SRO": "SRO",
"listings.unitTypes.Studio": "Studio",
"listings.unitsAreFor": "These units are for %{type}.",
Expand Down
5 changes: 5 additions & 0 deletions app/assets/json/translations/react/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,11 @@
"listings.prioritiesDescriptor.mobility": "Movilidad reducida",
"listings.prioritiesDescriptor.mobilityHearingVision": "Movilidad reducida, discapacidad auditiva o visual",
"listings.prioritiesDescriptor.vision": "Discapacidad visual",
"listings.Mobility impairments.title":"Movilidad reducida",
"listings.Mobility/Hearing/Vision impairments.title":"Movilidad reducida, discapacidad auditiva o visual",
"listings.Hearing/Vision impairments.title":"Discapacidad visual o auditiva",
"listings.Hearing impairments.title":"Discapacidad auditiva",
"listings.Vision impairments.title":"Discapacidad visual",
"listings.priorityUnits": "Unidades con Prioridad",
"listings.priorityUnitsDescription": "Este edificio tiene unidades reservadas si usted o algún miembro de su grupo familiar cumple con alguno de los siguientes requisitos:",
"listings.process.header": "Proceso",
Expand Down
7 changes: 6 additions & 1 deletion app/assets/json/translations/react/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@
"listings.additional.title": "Mga Karagdagang Nakalistang Pabahay",
"listings.additionalEligibilityRules.creditHistory": "Kasaysayan ng Credit o Pag-utang",
"listings.additionalEligibilityRules.criminalBackground": "Kriminal na Nakaraan ",
"listings.additionalEligibilityRules.criminalBackgroundInfo": "Isasaalang-alang para sa pabahay ang mga kuwalipikadong aplikante na may kriminal na kasaysayan bilang pagsunod sa <a target='_blank' href='%{article49Url}'>Article 49</a> ng Kodigo ng Pulisya (Police Code) ng San Francisco: <a href='%{fairChanceUrl}' target='_blank'>Ordinansa ukol sa Pagbibigay ng Makatarungang Pagkakataon (Fair Chance Ordinance)",
"listings.additionalEligibilityRules.criminalBackgroundInfo": "Isasaalang-alang para sa pabahay ang mga kuwalipikadong aplikante na may kriminal na kasaysayan bilang pagsunod sa <a target='_blank' href='%{article49Url}'>Article 49</a> ng Kodigo ng Pulisya (Police Code) ng San Francisco: <a href='%{fairChanceUrl}' target='_blank'>Ordinansa ukol sa Pagbibigay ng Makatarungang Pagkakataon (Fair Chance Ordinance)</a>",
"listings.additionalEligibilityRules.findOutMore": "Alamin pa ang tungkol sa Pamantayan para sa Pagpili ng Gusali (Building Selection Criteria)",
"listings.additionalEligibilityRules.rentalHistory": "Kasaysayan sa Pag-upa",
"listings.additionalEligibilityRules.subtitle": "Kailangang kuwalipikado rin ang aplikante batay sa mga patakaran ng gusali.",
Expand Down Expand Up @@ -868,6 +868,11 @@
"listings.prioritiesDescriptor.mobility": "Mga Kapansanan sa Pagkilos",
"listings.prioritiesDescriptor.mobilityHearingVision": "Mga Kapansanan sa Pagkilos, Pandinig at/o Paningin",
"listings.prioritiesDescriptor.vision": "Mga Kapansanan sa Paningin",
"listings.Mobility impairments.title":"Mga Kapansanan sa Pagkilos",
"listings.Mobility/Hearing/Vision impairments.title": "Mga Kapansanan sa Pagkilos, Pandinig at/o Paningin",
"listings.Hearing/Vision impairments.title": "Mga Kapansanan sa Paningin at/o Pandinig",
"listings.Hearing impairments.title": "Mga Kapansanan sa Pandinig",
"listings.Vision impairments.title":"Mga Kapansanan sa Paningin",
"listings.priorityUnits": "Mga Prayoridad na Unit ",
"listings.priorityUnitsDescription": "May mga nakatabing unit ang building o gusali na ito kung totoo ang alinman sa mga sumusunod sa sitwasyon ninyo o ng sinuman sa inyong kabahayan:",
"listings.process.header": "Proseso",
Expand Down
9 changes: 7 additions & 2 deletions app/assets/json/translations/react/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
"error.terms": "您必須同意這些條款以繼續",
"error.veteranAnyone": "您的家庭中必須至少有一位成員是退伍軍人",
"error.zip": "請輸入郵遞區號",
"errorBoundary.description": "申請流程發生錯誤。請稍後再次嘗試。",
"errorBoundary.description": "應用程式發生錯誤。請稍後再次嘗試。",
"errorBoundary.goHome": "回到首頁",
"f0ReviewOptional.p1": "這些問題可選擇性作答,而且不會影響您的住房資格。您的回答將予以保密。",
"f0ReviewOptional.title": "請幫我們確定我們已達成目標,以服務所有市民。",
Expand Down Expand Up @@ -869,7 +869,12 @@
"listings.prioritiesDescriptor.mobility": "行動不便",
"listings.prioritiesDescriptor.mobilityHearingVision": "行動不便、聽覺功能和/或視力障礙",
"listings.prioritiesDescriptor.vision": "視力障礙",
"listings.priorityUnits": "優先單位",
"listings.Mobility impairments.title": "行動不便",
"listings.Mobility/Hearing/Vision impairments.title":"行動不便、聽覺功能和/或視力障礙",
"listings.Hearing/Vision impairments.title":"視力和/或聽覺功能障礙",
"listings.Hearing impairments.title": "聽覺功能障礙",
"listings.Vision impairments.title": "視力障礙",
"listings.priorityUnits": "優先單位",
"listings.priorityUnitsDescription": "如果下列情況適用於您或是家中的某成員,本棟樓提供保留單位:",
"listings.process.header": "流程",
"listings.process.informationSessions": "說明會",
Expand Down
17 changes: 0 additions & 17 deletions app/javascript/__tests__/components/OpenHouses.test.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,37 +24,44 @@ exports[`BeforeApplyingForSale display Before Applying when type is Habitat list
className="numbered-list my-5 bg-white p-4 pt-6 text-sm"
>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Go to a <a href='https://habitatgsf.org/amber-drive-info/' target='_blank'>Habitat for Humanity information session</a>",
}
}
/>
<p>
Go to a
<a
href="https://habitatgsf.org/amber-drive-info/"
target="_blank"
>
Habitat for Humanity information session
</a>
</p>
</li>
<li>
Haven't owned residential property in the past 3 years
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Meet the <a href='https://sfmohcd.org/sites/default/files/Documents/MOH/Inclusionary%20Manuals/Inclusionary%20Affordable%20Housing%20Program%20Manual%2010.15.2018.pdf' target='_blank'>income requirements</a>",
}
}
/>
<p>
Meet the
<a
href="https://sfmohcd.org/sites/default/files/Documents/MOH/Inclusionary%20Manuals/Inclusionary%20Affordable%20Housing%20Program%20Manual%2010.15.2018.pdf"
target="_blank"
>
income requirements
</a>
</p>
</li>
<li>
Have a 650 credit score or higher
</li>
</ol>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Read <a href='https://habitatgsf.org/amber-drive-info/' target='_blank'>our full list of requirements</a> for more details.",
}
}
/>
<p>
Read
<a
href="https://habitatgsf.org/amber-drive-info/"
target="_blank"
>
our full list of requirements
</a>
for more details.
</p>
</li>
`;

Expand All @@ -77,43 +84,52 @@ exports[`BeforeApplyingForSale display Before Applying when type is directory 1`
Haven't owned residential property in the past 3 years
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Meet our <a href='https://sfmohcd.org/homebuyer-program-eligibility' target='_blank'>income requirements</a>",
}
}
/>
<p>
Meet our
<a
href="https://sfmohcd.org/homebuyer-program-eligibility"
target="_blank"
>
income requirements
</a>
</p>
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Complete <a href='https://sfmohcd.org/homebuyer-application-requirements#education' target='_blank'>homebuyer education</a>",
}
}
/>
<p>
Complete
<a
href="https://sfmohcd.org/homebuyer-application-requirements#education"
target="_blank"
>
homebuyer education
</a>
</p>
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Get pre-approved for a mortgage loan by a <a href='https://sfmohcd.org/lender-list' target='_blank'>lender on our list</a>",
}
}
/>
<p>
Get pre-approved for a mortgage loan by a
<a
href="https://sfmohcd.org/lender-list"
target="_blank"
>
lender on our list
</a>
</p>
</li>
<li>
Have enough in savings for closing costs and downpayment
</li>
</ol>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Read <a href='https://sfmohcd.org/homebuyer-program-eligibility' target='_blank'>our full list of requirements</a> for more details.",
}
}
/>
<p>
Read
<a
href="https://sfmohcd.org/homebuyer-program-eligibility"
target="_blank"
>
our full list of requirements
</a>
for more details.
</p>
</div>
`;

Expand Down Expand Up @@ -144,42 +160,51 @@ exports[`BeforeApplyingForSale display Before Applying when type is listing deta
Haven't owned residential property in the past 3 years
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Meet our <a href='https://sfmohcd.org/homebuyer-program-eligibility' target='_blank'>income requirements</a>",
}
}
/>
<p>
Meet our
<a
href="https://sfmohcd.org/homebuyer-program-eligibility"
target="_blank"
>
income requirements
</a>
</p>
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Complete <a href='https://sfmohcd.org/homebuyer-application-requirements#education' target='_blank'>homebuyer education</a>",
}
}
/>
<p>
Complete
<a
href="https://sfmohcd.org/homebuyer-application-requirements#education"
target="_blank"
>
homebuyer education
</a>
</p>
</li>
<li>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Get pre-approved for a mortgage loan by a <a href='https://sfmohcd.org/lender-list' target='_blank'>lender on our list</a>",
}
}
/>
<p>
Get pre-approved for a mortgage loan by a
<a
href="https://sfmohcd.org/lender-list"
target="_blank"
>
lender on our list
</a>
</p>
</li>
<li>
Have enough in savings for closing costs and downpayment
</li>
</ol>
<div
dangerouslySetInnerHTML={
Object {
"__html": "Read <a href='https://sfmohcd.org/homebuyer-program-eligibility' target='_blank'>our full list of requirements</a> for more details.",
}
}
/>
<p>
Read
<a
href="https://sfmohcd.org/homebuyer-program-eligibility"
target="_blank"
>
our full list of requirements
</a>
for more details.
</p>
</li>
`;
Loading

0 comments on commit a36af49

Please sign in to comment.