Skip to content
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

Feature: Time Based Form Goals #7384

Merged
merged 14 commits into from May 14, 2024

Conversation

kjohnson
Copy link
Member

@kjohnson kjohnson commented May 6, 2024

Description

This PR introduces time based form goals for the Visual Donation Form Builder, which includes a new "custom" settings (as opposed to "all time") with support for amount goals, donor goals, and donation goals with support for recurring donations.

Affects

Query results for all goal types have been updated, including Amount Raised, Donation Count, Donor Count, Subscription Initial Amount, Subscription Count, and Subscriber Count.

Additional Details

The new time-based settings are implemented using a new DonationQuery (and related SubscriptionQuery. These new query classes are opinionated extensions of the QueryBuilder with a fluid syntax designed for goal settings.

Notably, the DonationQuery supports calculating a sum of the intended amount, which takes into account support for fee recovery and calculates goal progress excluding those fees.

Visuals

All-Time Custom
Screen Shot 2024-05-07 at 09 10 21 Screen Shot 2024-05-07 at 09 11 01

@kjohnson kjohnson marked this pull request as ready for review May 7, 2024 13:17
@kjohnson
Copy link
Member Author

kjohnson commented May 7, 2024

@jonwaldstein
Copy link
Contributor

@alaca @kjohnson fyi I updated the docs notice link f4e6304

@alaca alaca requested a review from jonwaldstein May 13, 2024 11:07
@jonwaldstein
Copy link
Contributor

@jonwaldstein jonwaldstein self-requested a review May 14, 2024 14:38
@jonwaldstein jonwaldstein merged commit 3ee3383 into develop May 14, 2024
32 checks passed
@jonwaldstein jonwaldstein deleted the epic/time-based-form-goals-GIVE-565 branch May 14, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants