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: Campaign List Block #7708

Merged
merged 85 commits into from
Feb 17, 2025

Conversation

alaca
Copy link
Member

@alaca alaca commented Feb 5, 2025

Description

This pull request introduces several new features and improvements to the campaign functionality, including the addition of a new block - campaign list, as well as adding a new component - Pagination

Visuals

image

https://www.loom.com/share/972c3025c71541b0b515a7db9fb06e3f?sid=8517fc4c-6942-4f3c-8bbc-240e1cefc087

Testing Instructions

Create at least 2 or 3 campaigns (make sure they are published)
To test sorting by donors, amount, and donations, make a few random donations through campaign forms
Create a new page/post or edit an existing one
Insert Campaign List Block into the page
Play with block settings
Verify that everything works on frontend too

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

alaca added 27 commits January 22, 2025 17:56
…lock-GIVE-1510

# Conflicts:
#	src/Campaigns/Blocks/blocks.ts
…lock-GIVE-1510

# Conflicts:
#	src/Campaigns/Blocks/blocks.ts
#	src/Campaigns/Controllers/CampaignRequestController.php
@alaca alaca marked this pull request as draft February 5, 2025 11:34
@jonwaldstein jonwaldstein changed the base branch from epic/campaigns to feature/campaign-goal-block-GIVE-1510 February 13, 2025 14:47
Copy link
Contributor

@jonwaldstein jonwaldstein left a comment

Choose a reason for hiding this comment

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

@alaca looking good! just had a few suggestions. One thing we might have overlooked during the design review is the name of this block, I think it should actually be "Campaign Grid" as the successor to the Form Grid

Copy link
Contributor

@jonwaldstein jonwaldstein left a comment

Choose a reason for hiding this comment

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

One little typo left, otherwise Great job!

@alaca alaca changed the base branch from feature/campaign-goal-block-GIVE-1510 to epic/campaigns February 14, 2025 06:18
…ock-GIVE-1389

# Conflicts:
#	src/Campaigns/Blocks/CampaignGoal/index.tsx
#	src/Campaigns/Blocks/blocks.ts
#	src/Campaigns/Controllers/CampaignRequestController.php
#	wordpress-scripts-webpack.config.js
Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

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

Passed QA tests

@jonwaldstein jonwaldstein merged commit f9244ae into epic/campaigns Feb 17, 2025
20 checks passed
@jonwaldstein jonwaldstein deleted the feature/campaig-list-block-GIVE-1389 branch February 17, 2025 21:07
@jonwaldstein jonwaldstein mentioned this pull request Feb 17, 2025
9 tasks
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.

3 participants