-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: expand listing filters #4628
Conversation
✅ Deploy Preview for partners-bloom-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-exygy-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-public-seeds ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for partners-bloom-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-exygy-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for bloom-public-seeds ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm halfway done with the review and will finish tomorrow!
4542. This will reduce flakyness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I think changes to the DTO caused some loss in typing in the swagger file that needs addressing though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* feat: expand listing filters 4542 * feat: test for expanded listing filters 4542 * feat: remove unused imports 4542 * feat: add e2e tests and corrections 4542 * feat: add test for search 4542 * feat: correct linting and small changes 4542 * feat: make test more unique 4542 * feat: increase response limit 4542 * feat: always filter by jurisdiction 4542. This will reduce flakyness * feat: fix swagger file 5442 * feat: separate dtos 4542
* feat: expand listing filters 4542 * feat: test for expanded listing filters 4542 * feat: remove unused imports 4542 * feat: add e2e tests and corrections 4542 * feat: add test for search 4542 * feat: correct linting and small changes 4542 * feat: make test more unique 4542 * feat: increase response limit 4542 * feat: always filter by jurisdiction 4542. This will reduce flakyness * feat: fix swagger file 5442 * feat: separate dtos 4542
This PR addresses #(4542)
Description
Adds the filters described in the ticket, as well as any missing filters in Doorway.
Logic has been alphabetized for read-ability. Unit tests were added for all filters. Should have no impact on existing functionality in Core, HBA or Doorway.
How Can This Be Tested/Reviewed?
Start up the backend API.
Using the OpenAPI, call the POST
listings/list
endpoint.Adjust the
filters
to test each filter.Note1: the
search
field at the bottom of the sample payload will prevent anything from being found if not removed or changed.NOTE2: we do not have any guardrails with which comparisons are used for each case. So using
=
on a list or<=
on a string orIN
on a number may have unpredictable results or even 500 errors.Happy path testing for public listings page and partners listing page.
For partners listing page, try the search and signing in as jadmin and partner.
Author Checklist:
yarn generate:client
and/or created a migration when requiredReview Process: