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

Meta campaign page for regular giving #1819

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

bdsl
Copy link
Contributor

@bdsl bdsl commented Jan 10, 2025

Only a few adjustments to the existing meta-campaign page for the regular giving case. Specifically removing the ticker, removing the match Funds Remaining indication on each card, changing "Donate now" to "Donate monthly", and changing the "find out more" link target.

This is how it looks with our test campaign. (I added a banner from unsplash & a definition from OED):

image

I think as it doesn't have those changes we'll also need to either exclude regular giving campaigns from the general explore page, or (IMHO less likely what we want) allow that page to show a mix of regular giving and ad-hoc giving campaigns.

[campaignTitle]="campaign.title"
[donateButtonUrl]="'/regular-giving/' + campaign.id"
[donateButtonLabel]="'Donate monthly'"
[moreInfoButtonUrl]="'/charity/' + campaign.charity.id"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linking to the charity page may not be ideal as that page doesn't actually show any details of the charity at the moment, beyond their name and the list of campaigns they have with BG, but it may be the best option right now as the campaign page does not currently support regular giving campaigns (which might be something to fix).

We could also link to the charity's website. That's not available in the CampaignSummary type in FE but I think it is actually available at runtime when the data is sent via our CampaignSearchServiceModel in SF.

@bdsl bdsl force-pushed the DON-1014-reg-giving-meta-page branch from b45f412 to 3b373dc Compare January 10, 2025 13:08
@bdsl bdsl marked this pull request as ready for review January 10, 2025 13:12
Copy link
Contributor

@dorota-joanna dorota-joanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bdsl bdsl merged commit bef5277 into develop Jan 10, 2025
4 checks passed
@bdsl bdsl deleted the DON-1014-reg-giving-meta-page branch January 10, 2025 16:02
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.

2 participants