-
Notifications
You must be signed in to change notification settings - Fork 15
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
load total number of donated trees dynamically #2056
load total number of donated trees dynamically #2056
Conversation
WalkthroughThe recent changes involve integrating environmental contributions data, specifically trees donated, into the Changes
Poem
Recent Review DetailsConfiguration used: CodeRabbit UI Files ignored due to path filters (1)
Files selected for processing (5)
Files skipped from review due to trivial changes (1)
Files skipped from review as they are similar to previous changes (4)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
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.
Codewise, LGTM.
I think the webhook url should be kept in the environment, we plan to do this while migrating the salesforce tenant to the multitenant project anyway.
Not sure if we want to hold off on release due to reasons of data consistency.
Note: Release of these changes would not reflect on www1.plant-for-the-planet.org in the current setup.
Ok, I'll just keep this as a draft until releases will work normally again. |
@mohitb35 What's the data inconsistency issue? The numbers shared generally was from Q1. vs the query returns number for 1 week ago. |
There isn't any issue as such, but we do choose to hardcode certain figures at times, and I wondered if this was one of those cases. |
@norbertschuler We can release this now, since www1.plant-for-the-planet.org is now redirected to web.plant-for-the-planet.org, so changes will be visible. |
057e7b0
to
27bb043
Compare
Ok, I added using an env named WEBHOOK_URL which I also added to all deployments at Heroku and Vercel. |
Fixes https://planetfoundation.slack.com/archives/C015AEAU75Z/p1714117221663939?thread_ts=1713974028.645419&cid=C015AEAU75Z
Changes in this pull request:
To-Do:
https://automate.plant-for-the-planet.org/webhook/
in the environment like we already did for the Salesforce deplyoment defined asWEBHOOK_URL
?