-
Notifications
You must be signed in to change notification settings - Fork 9
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: APP-352 buying options filter #2575
base: dev
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for regen-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for terrasos ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
enabled: | ||
!isOffChainProject && !classId && !projectId && !!ecocreditClient, |
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.
unrelated to this task but just a small optimization I spotted: in case of using this on an offchain project page, we were running getProjectsQuery
, which is not useful here, because in the case of an offchain projectId
(= on chain project id) is not defined so enabled was true
@@ -10,6 +10,7 @@ import { client as sanityClient } from 'lib/clients/sanity'; | |||
import { AnchoredProjectMetadataLD } from 'lib/db/types/json-ld'; |
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.
important changes to review in this file
@erikalogie @S4mmyb please see testing instructions above |
@blushi looks great, here is some feedback:
|
Description
https://regennetwork.atlassian.net/browse/APP-352
Also closes: APP-501
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
How to test
From https://deploy-preview-2575--regen-marketplace.netlify.app/projects/1:
Test the new buying options filters.
Selected buying options filters should impact the "credit class" filter options:
Selected credit classes should impact the "buying options" filter options:
Check that on prefinance projects page, there's only the "buying options" filter with "credit card" checked as the only option and disabled.
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...