Skip to content

Commit a8799df

Browse files
fix: source isDropIn from JSON for navigator orgs — Lighthouse Dudley set false per restricted hours
Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent a05826f commit a8799df

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

lib/data/housing-pathway-endpoints.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@
3434
"ageMin": 18,
3535
"ageMax": null,
3636
"phone": "0121 766 1700",
37-
"website": "https://www.sifafireside.co.uk"
37+
"website": "https://www.sifafireside.co.uk",
38+
"isDropIn": true
3839
},
3940
{
4041
"name": "St Basil's Birmingham",
4142
"description": "Specialist housing support for young people. Help to find and keep a home.",
4243
"ageMin": 16,
4344
"ageMax": 25,
4445
"phone": "0300 303 0099",
45-
"website": "https://www.stbasils.org.uk"
46+
"website": "https://www.stbasils.org.uk",
47+
"isDropIn": true
4648
}
4749
],
4850
"dvOrgs": {
@@ -94,15 +96,17 @@
9496
"ageMin": 25,
9597
"ageMax": null,
9698
"phone": "0808 196 2660",
97-
"website": "https://p3charity.org"
99+
"website": "https://p3charity.org",
100+
"isDropIn": true
98101
},
99102
{
100103
"name": "St Basil's Coventry Youth Hub",
101104
"description": "Specialist housing support for young people. Help to find and keep a home.",
102105
"ageMin": 16,
103106
"ageMax": 24,
104107
"phone": "0121 269 1940",
105-
"website": "https://www.stbasils.org.uk"
108+
"website": "https://www.stbasils.org.uk",
109+
"isDropIn": true
106110
}
107111
],
108112
"dvOrgs": {
@@ -152,7 +156,8 @@
152156
"ageMin": null,
153157
"ageMax": null,
154158
"availabilityNote": "Monday evenings only — limited availability. Documented system gap.",
155-
"website": "https://www.dudley.gov.uk"
159+
"website": "https://www.dudley.gov.uk",
160+
"isDropIn": false
156161
}
157162
],
158163
"dvOrgs": {
@@ -230,7 +235,8 @@
230235
"ageMax": 25,
231236
"phone": "0330 332 7978",
232237
"email": "[email protected]",
233-
"website": "https://www.stbasils.org.uk"
238+
"website": "https://www.stbasils.org.uk",
239+
"isDropIn": true
234240
}
235241
],
236242
"dvOrgs": {
@@ -266,7 +272,8 @@
266272
"description": "Housing advice and support for people experiencing homelessness.",
267273
"ageMin": null,
268274
"ageMax": null,
269-
"website": "https://www.ymcablackcountry.org.uk"
275+
"website": "https://www.ymcablackcountry.org.uk",
276+
"isDropIn": true
270277
}
271278
],
272279
"dvOrgs": {
@@ -308,7 +315,8 @@
308315
"description": "Commissioned housing navigator service. Drop-in support for people experiencing homelessness.",
309316
"ageMin": null,
310317
"ageMax": null,
311-
"website": "https://www.p3charity.org"
318+
"website": "https://www.p3charity.org",
319+
"isDropIn": true
312320
}
313321
],
314322
"dvOrgs": {

lib/serviceMatcher.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ interface NavigatorOrg {
6060
email?: string;
6161
availabilityNote?: string;
6262
_canonicalNote?: string;
63+
isDropIn?: boolean;
6364
}
6465

6566
interface DVOrg {
@@ -636,7 +637,7 @@ export function getNavigatorOrgs(localAuthority: string | null): DefaultOrg[] {
636637
phone: nav.phone || null,
637638
website: nav.website || null,
638639
description: nav.description,
639-
isDropIn: true,
640+
isDropIn: nav.isDropIn,
640641
}));
641642
}
642643

0 commit comments

Comments
 (0)