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

Use presenter for confirmation text #9717

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

pezholio
Copy link
Contributor

@pezholio pezholio commented Dec 9, 2024

As discussed in #9702 (comment) this adds a new presenter class to make the confirmation text a bit more testable

@pezholio pezholio force-pushed the content-modelling/use-presenter-for-confirmation-text branch 4 times, most recently from 577b742 to 8acfa05 Compare December 10, 2024 09:35
@pezholio pezholio force-pushed the content-modelling/use-presenter-for-confirmation-text branch from 8acfa05 to d7cedb1 Compare December 10, 2024 10:58
@pezholio pezholio requested a review from Harriethw December 10, 2024 10:58
This makes the logic easier to test
This makes testing easier and DRYs things up
@pezholio pezholio force-pushed the content-modelling/use-presenter-for-confirmation-text branch from d7cedb1 to ee7a59a Compare December 10, 2024 11:02
Copy link
Contributor

@Harriethw Harriethw left a comment

Choose a reason for hiding this comment

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

👍 cool, hopefully we can use this pattern more!

@pezholio pezholio enabled auto-merge December 10, 2024 11:05
@pezholio pezholio merged commit 5743b7b into main Dec 10, 2024
19 checks passed
@pezholio pezholio deleted the content-modelling/use-presenter-for-confirmation-text branch December 10, 2024 11:08
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.

2 participants