8000 fix: functioning search and multiselect by ColinBuyck · Pull Request #4940 · bloom-housing/bloom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: functioning search and multiselect #4940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions api/prisma/seed-staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,22 @@ export const stagingSeed = async (
},
}),
});

// add extra programs to support filtering by "community type"
await Promise.all(
[...new Array(3)].map(
async () =>
await prismaClient.multiselectQuestions.create({
data: multiselectQuestionFactory(lakeviewJurisdiction.id, {
multiselectQuestion: {
applicationSection:
MultiselectQuestionsApplicationSectionEnum.programs,
},
}),
}),
),
);

// create pre-determined values
const unitTypes = await unitTypeFactoryAll(prismaClient);
await unitAccessibilityPriorityTypeFactoryAll(prismaClient);
Expand Down
3 changes: 3 additions & 0 deletions shared-helpers/src/locales/general.json
A671
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@
"listings.reservedUnits": "Reserved Units",
"listings.reservedUnitsDescription": "In order to qualify for these units one of the following must apply to you or someone in your household:",
"listings.reservedUnitsForWhoAre": "Reserved for %{communityType} who are %{reservedType}",
"listings.search.subNote": "Enter full or partial listing name",
"listings.sections.accessibilityFeatures": "Accessibility Features",
"listings.sections.additionalEligibilitySubtitle": "Applicants must also qualify under the rules of the building.",
"listings.sections.additionalEligibilityTitle": "Additional Eligibility Rules",
Expand Down Expand Up @@ -970,6 +971,7 @@
"t.chooseFromFolder": "Choose from folder",
"t.close": "Close",
"t.collapseSection": "Collapse section",
"t.community": "Community",
"t.confirm": "Confirm",
"t.day": "Day",
"t.delete": "Delete",
Expand Down Expand Up @@ -997,6 +999,7 @@
"t.lastUpdated": "Last Updated",
"t.less": "Less",
"t.letter": "Letter",
"t.listingName": "Listing name",
"t.loading": "Loading",
"t.loginIsRequired": "Login is required to view this page.",
"t.mainContent": "Main content",
Expand Down
358 changes: 357 additions & 1 deletion sites/public/__tests__/components/browse/FilterDrawer.test.tsx

Large diffs are not rendered by default.

Loading
0