feat: non-regulated fields implementation#5455
Merged
Merged
Conversation
…istings-api-layer-updates
7519e1d to
98b5456
Compare
This comment was marked as resolved.
This comment was marked as resolved.
ludtkemorgan
added a commit
to metrotranscom/doorway
that referenced
this pull request
Nov 24, 2025
* fix: fix schema formatting * chore: add new enum types * chore: add new Listings model fields * chore: add new fields to the UnitGroup model * chore: update DTO's to changes in schema * chore: generate new swagger types * chore: add migration for new schema updates * fix: update depositValue field decimal range * fix: add missing field names * chore: add custom deposit validation decorator * chore: add unit group rent type validation * fix: remove unnecessary import * chore: update sunit summary DTO to contain new fields * chore: update service layer * fix: remove unnecessary migration update * fix: update db fields * chore: update rent validation decorator * chore: add the cocInfo to the listing DTO * chore: regenerate backend swagger * chore: add listing type selector * chore: add unit form non regulated rent fields * fix: fix invalid logic * chore: update prop to and optional value * chore: add rent type fields for unit group form * chore: hide additional fields for non regulated listings * chore: add fields for the deposit types * chore: update labels * chore: update community types fields * chore: add listing ebll clearance field * chore: update built year filed rendering logic * chore: fix field decorator error * fix: fix decorators import paths * chore: update required documents form fields * chore: update the schema to include the new required documents list table * fix: remove unused import * chore: update listings factory to include the new required documents field * chore: hide non regulated switch field based on feature flag * chore: retain the original required documents field * Revert "chore: hide non regulated switch field based on feature flag" This reverts commit 11f0874. * fix: add missing fields validation * fix: update imports * fix: remove the package manager filed in package JSON * fix: update the hasHudEbllClearance field * fix: remove unused import * chore: update the label to match the current listing type * fix: fix the application fee full width field * fix: hide the new deposit and rent fields for regulated units * fix: boolean ebll formatting for form submission * chore: add non regulated listing fields to intro and fees sections * chore: add missing documents model column mapping * fix: udpdate form subssion for the new required documents field * chore: add required documents preview in the details * fix: add feature flag based regulated fields control * chore: update the validation decorator * chore: update listing details page to new jest standard * fix: fix failing backend API tests * fix: fix backend integration tests * fix: fix decorator logic * fix: add unit group rent range revalidation triggering * fix: fix unwanted initial ebll field reset * fix: required documents preview filtering * fix: update the developer field title switching on listing preview page * fix: hide new fields on listing preview based on the non-regulated feature flag * fix: fix label typo * fix: update new required documents field label formatting * fix: hide the new documents field group on regulated listings * fix: remove unused import * fix: add missing monthly rent field to database * fix: fix unit groups integration tests * fix: paper listing form failing tests * chore: rename migration files * fix: clean-up merge conflict resolve * fix: remove unnecessary listing service code * fix: hide the new required documents field from preview page based on feature flag * fix: remove unused prop * fix: update the listings factory to add new required documents only for non regulated mocks * chore: add logic to disconnect and delete documents table entry automatically * fix: fix Units component feature flag detection code * chore: add integration tests for non regulated listing preview * chore: add integration tests for the ListingIntro section * chore: add integration tests for AdditionalDetails form section component * chore: add deposit type default field for the listing form * chore: add integration tests for the AdditionalFees listing form component * chore: add integration tests for the unit group form for non-regulated listing * fix: update the listing service to remove the documents entry after completed transaction * fix: revert the CommunityType component logic * chore: partially revert additional fees section logic * fix: update the listingType field clearing to undefined * fix: remove unused imports * fix: revert changes for unit form * test: re-run testing suite * chore: remove the depositRangeMin and depositRangeMax fields * chore: update the data formatter to handle different deposit type values * fix: update api integration tests to new changes * fix: fix csv export integration tests * test: re-run testing suite * fix: update partners site integration tests * test: re-run testing suite * fix: remove unnecessary console log * fix: clear deposit on save and continue (bloom-housing#5598) --------- Co-authored-by: Morgan Ludtke <42942267+ludtkemorgan@users.noreply.github.com>
9 tasks
ludtkemorgan
added a commit
to metrotranscom/doorway
that referenced
this pull request
Nov 24, 2025
* fix: fix schema formatting * chore: add new enum types * chore: add new Listings model fields * chore: add new fields to the UnitGroup model * chore: update DTO's to changes in schema * chore: generate new swagger types * chore: add migration for new schema updates * fix: update depositValue field decimal range * fix: add missing field names * chore: add custom deposit validation decorator * chore: add unit group rent type validation * fix: remove unnecessary import * chore: update sunit summary DTO to contain new fields * chore: update service layer * fix: remove unnecessary migration update * fix: update db fields * chore: update rent validation decorator * chore: add the cocInfo to the listing DTO * chore: regenerate backend swagger * chore: add listing type selector * chore: add unit form non regulated rent fields * fix: fix invalid logic * chore: update prop to and optional value * chore: add rent type fields for unit group form * chore: hide additional fields for non regulated listings * chore: add fields for the deposit types * chore: update labels * chore: update community types fields * chore: add listing ebll clearance field * chore: update built year filed rendering logic * chore: fix field decorator error * fix: fix decorators import paths * chore: update required documents form fields * chore: update the schema to include the new required documents list table * fix: remove unused import * chore: update listings factory to include the new required documents field * chore: hide non regulated switch field based on feature flag * chore: retain the original required documents field * Revert "chore: hide non regulated switch field based on feature flag" This reverts commit 11f0874. * fix: add missing fields validation * fix: update imports * fix: remove the package manager filed in package JSON * fix: update the hasHudEbllClearance field * fix: remove unused import * chore: update the label to match the current listing type * fix: fix the application fee full width field * fix: hide the new deposit and rent fields for regulated units * fix: boolean ebll formatting for form submission * chore: add non regulated listing fields to intro and fees sections * chore: add missing documents model column mapping * fix: udpdate form subssion for the new required documents field * chore: add required documents preview in the details * fix: add feature flag based regulated fields control * chore: update the validation decorator * chore: update listing details page to new jest standard * fix: fix failing backend API tests * fix: fix backend integration tests * fix: fix decorator logic * fix: add unit group rent range revalidation triggering * fix: fix unwanted initial ebll field reset * fix: required documents preview filtering * fix: update the developer field title switching on listing preview page * fix: hide new fields on listing preview based on the non-regulated feature flag * fix: fix label typo * fix: update new required documents field label formatting * fix: hide the new documents field group on regulated listings * fix: remove unused import * fix: add missing monthly rent field to database * fix: fix unit groups integration tests * fix: paper listing form failing tests * chore: rename migration files * fix: clean-up merge conflict resolve * fix: remove unnecessary listing service code * fix: hide the new required documents field from preview page based on feature flag * fix: remove unused prop * fix: update the listings factory to add new required documents only for non regulated mocks * chore: add logic to disconnect and delete documents table entry automatically * fix: fix Units component feature flag detection code * chore: add integration tests for non regulated listing preview * chore: add integration tests for the ListingIntro section * chore: add integration tests for AdditionalDetails form section component * chore: add deposit type default field for the listing form * chore: add integration tests for the AdditionalFees listing form component * chore: add integration tests for the unit group form for non-regulated listing * fix: update the listing service to remove the documents entry after completed transaction * fix: revert the CommunityType component logic * chore: partially revert additional fees section logic * fix: update the listingType field clearing to undefined * fix: remove unused imports * fix: revert changes for unit form * test: re-run testing suite * chore: remove the depositRangeMin and depositRangeMax fields * chore: update the data formatter to handle different deposit type values * fix: update api integration tests to new changes * fix: fix csv export integration tests * test: re-run testing suite * fix: update partners site integration tests * test: re-run testing suite * fix: remove unnecessary console log * fix: clear deposit on save and continue (bloom-housing#5598) --------- Co-authored-by: Morgan Ludtke <42942267+ludtkemorgan@users.noreply.github.com>
ludtkemorgan
added a commit
to metrotranscom/doorway
that referenced
this pull request
Dec 8, 2025
* fix: fix schema formatting * chore: add new enum types * chore: add new Listings model fields * chore: add new fields to the UnitGroup model * chore: update DTO's to changes in schema * chore: generate new swagger types * chore: add migration for new schema updates * fix: update depositValue field decimal range * fix: add missing field names * chore: add custom deposit validation decorator * chore: add unit group rent type validation * fix: remove unnecessary import * chore: update sunit summary DTO to contain new fields * chore: update service layer * fix: remove unnecessary migration update * fix: update db fields * chore: update rent validation decorator * chore: add the cocInfo to the listing DTO * chore: regenerate backend swagger * chore: add listing type selector * chore: add unit form non regulated rent fields * fix: fix invalid logic * chore: update prop to and optional value * chore: add rent type fields for unit group form * chore: hide additional fields for non regulated listings * chore: add fields for the deposit types * chore: update labels * chore: update community types fields * chore: add listing ebll clearance field * chore: update built year filed rendering logic * chore: fix field decorator error * fix: fix decorators import paths * chore: update required documents form fields * chore: update the schema to include the new required documents list table * fix: remove unused import * chore: update listings factory to include the new required documents field * chore: hide non regulated switch field based on feature flag * chore: retain the original required documents field * Revert "chore: hide non regulated switch field based on feature flag" This reverts commit 11f0874. * fix: add missing fields validation * fix: update imports * fix: remove the package manager filed in package JSON * fix: update the hasHudEbllClearance field * fix: remove unused import * chore: update the label to match the current listing type * fix: fix the application fee full width field * fix: hide the new deposit and rent fields for regulated units * fix: boolean ebll formatting for form submission * chore: add non regulated listing fields to intro and fees sections * chore: add missing documents model column mapping * fix: udpdate form subssion for the new required documents field * chore: add required documents preview in the details * fix: add feature flag based regulated fields control * chore: update the validation decorator * chore: update listing details page to new jest standard * fix: fix failing backend API tests * fix: fix backend integration tests * fix: fix decorator logic * fix: add unit group rent range revalidation triggering * fix: fix unwanted initial ebll field reset * fix: required documents preview filtering * fix: update the developer field title switching on listing preview page * fix: hide new fields on listing preview based on the non-regulated feature flag * fix: fix label typo * fix: update new required documents field label formatting * fix: hide the new documents field group on regulated listings * fix: remove unused import * fix: add missing monthly rent field to database * fix: fix unit groups integration tests * fix: paper listing form failing tests * chore: rename migration files * fix: clean-up merge conflict resolve * fix: remove unnecessary listing service code * fix: hide the new required documents field from preview page based on feature flag * fix: remove unused prop * fix: update the listings factory to add new required documents only for non regulated mocks * chore: add logic to disconnect and delete documents table entry automatically * fix: fix Units component feature flag detection code * chore: add integration tests for non regulated listing preview * chore: add integration tests for the ListingIntro section * chore: add integration tests for AdditionalDetails form section component * chore: add deposit type default field for the listing form * chore: add integration tests for the AdditionalFees listing form component * chore: add integration tests for the unit group form for non-regulated listing * fix: update the listing service to remove the documents entry after completed transaction * fix: revert the CommunityType component logic * chore: partially revert additional fees section logic * fix: update the listingType field clearing to undefined * fix: remove unused imports * fix: revert changes for unit form * test: re-run testing suite * chore: remove the depositRangeMin and depositRangeMax fields * chore: update the data formatter to handle different deposit type values * fix: update api integration tests to new changes * fix: fix csv export integration tests * test: re-run testing suite * fix: update partners site integration tests * test: re-run testing suite * fix: remove unnecessary console log * fix: clear deposit on save and continue (bloom-housing#5598) --------- Co-authored-by: Morgan Ludtke <42942267+ludtkemorgan@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses #5380
Description
How Can This Be Tested/Reviewed?
Add ListingbuttonAuthor Checklist:
yarn generate: clientand/or created a migration when requiredReview Process: