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

Navigate To Thank You Page On Successful Late Pledge #2008

Merged
merged 1 commit into from Apr 1, 2024

Conversation

scottkicks
Copy link
Contributor

@scottkicks scottkicks commented Apr 1, 2024

πŸ“² What

Navigates To Thank You Page On Successful Late Pledge

πŸ€” Why

So we can formally thank users for their pledge, show them verification, and suggest other projects to them

πŸ›  How

Using data we already have in the PostCampaignCheckoutViewModel, gather the data needed for the Thanks Page.

πŸ‘€ See

I can't remove backings rn and only have 2 accounts that I used to test already so I can't screen record this.

βœ… Acceptance criteria

@scottkicks scottkicks force-pushed the scott/pcp/navigate-to-thank-you branch from bc10ded to f6f5f5f Compare April 1, 2024 16:51
@scottkicks scottkicks requested review from a team and amy-at-kickstarter and removed request for a team April 1, 2024 17:34
@scottkicks scottkicks marked this pull request as ready for review April 1, 2024 17:34
Comment on lines +377 to +378
return (initialData.project, reward, nil, initialData.total)
}
Copy link
Contributor Author

@scottkicks scottkicks Apr 1, 2024

Choose a reason for hiding this comment

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

It didn't look like we needed to pass any CheckoutData in this case.

Copy link
Contributor

Choose a reason for hiding this comment

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

Huh. Do regular pledges require it, or can CheckoutData be cleaned up from the ThanksPageData type?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea I have a note to look at that. I couldn't see find what it was needed for honestly.

Copy link
Contributor

@amy-at-kickstarter amy-at-kickstarter left a comment

Choose a reason for hiding this comment

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

LGTM, one suggestion if it's possible.

Comment on lines +377 to +378
return (initialData.project, reward, nil, initialData.total)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Huh. Do regular pledges require it, or can CheckoutData be cleaned up from the ThanksPageData type?

@scottkicks scottkicks merged commit 9e9fa92 into main Apr 1, 2024
5 checks passed
@scottkicks scottkicks deleted the scott/pcp/navigate-to-thank-you branch April 1, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants