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(v2): reuse public end page component in builder #4562

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

justynoh
Copy link
Contributor

Problem

End page view recreates the public form end page from scratch. This PR refactors it to make use of the public end page component for better modularity.

Solution

To account for the accordion being expanded, add an optional isExpandable to EndPageBlock which defaults to true. Other than that, some layout simplifications to improve readability while retaining the existing design.

Breaking Changes

  • No - this PR is backwards compatible

@justynoh justynoh marked this pull request as ready for review August 12, 2022 05:14
@wanlingt wanlingt self-requested a review August 12, 2022 09:34
Copy link
Contributor

@wanlingt wanlingt left a comment

Choose a reason for hiding this comment

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

lgtm!

@justynoh justynoh merged commit 2bef9a5 into form-v2/develop Aug 12, 2022
@justynoh justynoh deleted the form-v2/ref/end-page-view branch August 12, 2022 09:57
@justynoh justynoh mentioned this pull request Oct 5, 2022
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