diff --git a/shared-helpers/src/multiselectQuestions.tsx b/shared-helpers/src/multiselectQuestions.tsx index b1c5b2e44a..168719cc63 100644 --- a/shared-helpers/src/multiselectQuestions.tsx +++ b/shared-helpers/src/multiselectQuestions.tsx @@ -122,7 +122,7 @@ export const getRadioFields = ( return (
{applicationSection === ApplicationSection.preferences && ( - {question?.text} + {question?.text} )}

{question?.description}

{ config={{ gridComponents, columns, - totalItemsLabel: t("applications.totalApplications"), + totalItemsLabel: + flaggedAppsData?.meta?.totalItems === 1 + ? t("applications.duplicates.set") + : t("applications.duplicates.sets"), }} data={{ items: flaggedAppsData?.items ?? [], diff --git a/sites/partners/pages/listings/[id]/applications/resolved/index.tsx b/sites/partners/pages/listings/[id]/applications/resolved/index.tsx index e78c7b360c..f75fbcdb8a 100644 --- a/sites/partners/pages/listings/[id]/applications/resolved/index.tsx +++ b/sites/partners/pages/listings/[id]/applications/resolved/index.tsx @@ -128,7 +128,10 @@ const ApplicationsList = () => { config={{ gridComponents: { formatLinkCell: getLinkCellFormatter(router) }, columns: columns, - totalItemsLabel: t("applications.totalApplications"), + totalItemsLabel: + flaggedAppsData?.meta?.totalItems === 1 + ? t("applications.duplicates.set") + : t("applications.duplicates.sets"), }} data={{ items: flaggedAppsData?.items ?? [], diff --git a/sites/partners/src/applications/PaperApplicationForm/sections/FormApplicationData.tsx b/sites/partners/src/applications/PaperApplicationForm/sections/FormApplicationData.tsx index 38096e625d..aaa3750c50 100644 --- a/sites/partners/src/applications/PaperApplicationForm/sections/FormApplicationData.tsx +++ b/sites/partners/src/applications/PaperApplicationForm/sections/FormApplicationData.tsx @@ -47,7 +47,7 @@ const FormApplicationData = () => { readerOnly errorMessage={t("errors.dateError")} required={!!isDateRequired} - labelClass={"field-label--caps"} + labelClass={"text__caps-spaced"} /> @@ -62,7 +62,7 @@ const FormApplicationData = () => { readerOnly disabled={!isDateFilled} required={!!isDateFilled} - labelClass={"field-label--caps"} + labelClass={"text__caps-spaced"} /> diff --git a/sites/partners/src/users/FormUserConfirm.tsx b/sites/partners/src/users/FormUserConfirm.tsx index 5ac2be6f49..22a61beace 100644 --- a/sites/partners/src/users/FormUserConfirm.tsx +++ b/sites/partners/src/users/FormUserConfirm.tsx @@ -131,7 +131,7 @@ const FormUserConfirm = () => {
- + {t("authentication.createAccount.password")}

{t("users.makeNote")}

diff --git a/sites/public/lib/helpers.tsx b/sites/public/lib/helpers.tsx index 3ad43e299c..e8bd831ee1 100644 --- a/sites/public/lib/helpers.tsx +++ b/sites/public/lib/helpers.tsx @@ -5,7 +5,6 @@ import { ListingReviewOrder, UnitsSummarized, ListingStatus, - ListingAvailability, } from "@bloom-housing/backend-core/types" import { t, @@ -52,10 +51,10 @@ const getListingCardSubtitle = (address: Address) => { const getListingTableData = ( unitsSummarized: UnitsSummarized, - listingAvailability: ListingAvailability + listingReviewOrder: ListingReviewOrder ) => { return unitsSummarized !== undefined - ? getSummariesTable(unitsSummarized.byUnitTypeAndRent, listingAvailability) + ? getSummariesTable(unitsSummarized.byUnitTypeAndRent, listingReviewOrder) : [] } @@ -113,10 +112,18 @@ export const getListings = (listings) => { } const generateTableSubHeader = (listing) => { - if (listing.listingAvailability === ListingAvailability.availableUnits) { - return { content: t("listings.availableUnits"), styleType: AppearanceStyleType.success } - } else if (listing.listingAvailability === ListingAvailability.openWaitlist) { - return { content: t("listings.waitlist.open"), styleType: AppearanceStyleType.primary } + if (listing.reviewOrderType !== ListingReviewOrder.waitlist) { + return { + content: t("listings.availableUnits"), + styleType: AppearanceStyleType.success, + isPillType: true, + } + } else if (listing.reviewOrderType === ListingReviewOrder.waitlist) { + return { + content: t("listings.waitlist.open"), + styleType: AppearanceStyleType.primary, + isPillType: true, + } } return null } @@ -139,7 +146,7 @@ export const getListings = (listings) => { }} tableProps={{ headers: unitSummariesHeaders, - data: getListingTableData(listing.unitsSummarized, listing.listingAvailability), + data: getListingTableData(listing.unitsSummarized, listing.reviewOrderType), responsiveCollapse: true, cellClassName: "px-5 py-3", }} diff --git a/sites/public/pages/_app.tsx b/sites/public/pages/_app.tsx index 28c4ceb255..f0fb0f5b12 100644 --- a/sites/public/pages/_app.tsx +++ b/sites/public/pages/_app.tsx @@ -71,7 +71,7 @@ function BloomApp({ Component, router, pageProps }: AppProps) { if (process.env.NODE_ENV !== "production") { // eslint-disable-next-line @typescript-eslint/no-var-requires const axe = require("@axe-core/react") - void axe(React, ReactDOM, 1000) + void axe(React, ReactDOM, 5000) } }, []) diff --git a/sites/public/pages/account/edit.tsx b/sites/public/pages/account/edit.tsx index 590867f703..77ad940a9c 100644 --- a/sites/public/pages/account/edit.tsx +++ b/sites/public/pages/account/edit.tsx @@ -162,7 +162,7 @@ const Edit = () => { )}
-