Skip to content

feat: non-regulated fields implementation#5455

Merged
matzduniuk merged 116 commits into
mainfrom
5380/non-regulated-fields-implementation
Nov 20, 2025
Merged

feat: non-regulated fields implementation#5455
matzduniuk merged 116 commits into
mainfrom
5380/non-regulated-fields-implementation

Conversation

@matzduniuk

Copy link
Copy Markdown
Collaborator

This PR addresses #5380

  • Addresses the issue in full
  • Addresses only certain aspects of the issue

Description

  • Update the partners' sites listing form to include new non-regulated fields, including:
    • Add HUD EBLL Clearance checkbox field
    • Add Deposit and Rent fields
    • Add Additional Fees field updates
    • Hide yearBuilt, sqFeetMin/ sqFeetMax, floorMin/ floorMax fields for non-regulated listings
  • Update the required documents section to the new designs
  • Update existing field labels
  • Add new Prisma fields for the listing documents,

How Can This Be Tested/Reviewed?

  • Go to the partner's site dashboard and click the Add Listing button
  • Select the non-regulated listing type option and a jurisdiction with unit groups enabled
  • Go through the listing form to verify all new fields have been added.

Author Checklist:

  • Added QA notes to the issue with applicable URLs
  • Reviewed in a desktop view
  • Reviewed in a mobile view
  • Reviewed considering accessibility
  • Added tests covering the changes
  • Made corresponding changes to the documentation
  • Ran yarn generate: client and/or created a migration when required

Review Process:

  • Read and understand the issue
  • Ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

matzduniuk and others added 30 commits September 22, 2025 11:46
ludtkemorgan

This comment was marked as resolved.

@matzduniuk matzduniuk force-pushed the 5380/non-regulated-fields-implementation branch from 7519e1d to 98b5456 Compare November 18, 2025 12:37
ludtkemorgan

This comment was marked as resolved.

@ludtkemorgan

This comment was marked as resolved.

@mcgarrye mcgarrye added ready to merge Should be applied when a PR has been reviewed and approved and removed 1 review needed Requires 1 more review before ready to merge labels Nov 19, 2025
@matzduniuk matzduniuk merged commit 27d8f00 into main Nov 20, 2025
34 checks passed
@matzduniuk matzduniuk deleted the 5380/non-regulated-fields-implementation branch November 20, 2025 08:04
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 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Should be applied when a PR has been reviewed and approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants