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

Refactor: Replace Form with Campaign in step 1 of Setup Guide #7770

Open
wants to merge 1 commit into
base: epic/campaigns
Choose a base branch
from

Conversation

pauloiankoski
Copy link
Contributor

@pauloiankoski pauloiankoski commented Feb 28, 2025

Resolves GIVE-2266

Description

This pull request includes changes to the src/Onboarding/Setup/templates/index.html.php file to update the terminology and functionality related to donation forms and campaigns. The most important changes include replacing references to donation forms with campaigns and updating URLs accordingly.

Terminology and functionality updates:

  • Removed the import statement for DonationForm as it is no longer needed.
  • Changed the variable from $form to $campaign and updated the method to retrieve the campaign by form ID.
  • Updated the URL for customizing the campaign, replacing the form-related URL with the campaign-related URL.
  • Modified the title to refer to creating a campaign instead of a donation form.
  • Updated the button text from "Customize form" to "Customize campaign" and adjusted the URL accordingly.

Affects

Step 1 of Setup Guide

Visuals

CleanShot 2025-02-28 at 17 58 03

Testing Instructions

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

@pauloiankoski pauloiankoski changed the base branch from develop to epic/campaigns February 28, 2025 21:00
@pauloiankoski pauloiankoski marked this pull request as ready for review February 28, 2025 21: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.

1 participant