-
Notifications
You must be signed in to change notification settings - Fork 87
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
build: release v6.45.0 #6200
build: release v6.45.0 #6200
Conversation
build: merge release v6.44.0 to develop
* chore: export props from hooks for in FieldRow props * feat: shift hooks from fieldRow to BuilderFields * feat: memoize FieldRow with deep equality check
build: merge release v6.44.1 to develop
* chore: update typing of getPreviousPayment we no longer return empty data, instead we return 404 * chore: use sendstatus instead * test: update test cases with internal server error case check that sendstatus was called * refactor: remove unnecessary isDuplicate state
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 3.8.0 to 3.9.0. - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](sindresorhus/type-fest@v3.8.0...v3.9.0) --- updated-dependencies: - dependency-name: type-fest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@LinHuiqing I forgot profiler doesn't work for non dev env HAHAHA instead, you could go to react dev tools -> components. And make sure the fieldrowcomponent (as a Hr I think) is memo-ed (so there should be a memo tag to it) |
do you mean question number? @foochifa |
Ah yes field id is question number hahah sorry for the confusion |
just to note for #6189: the form and drag + drop is noticeably laggier on mobile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
New
#6199
#6195
#6191
#6197
#6196
#6193
#6189
#6187
Tests
chore: update payment guide in payment unsupported msg
#6199
@KenLSM
chore: update previous payment typing and hooks
#6191
@KenLSM
Previous payment check should still work correctly, duplicating test cases from #6170
To check basic functionality
Go to a payment form
To check that we get the latest successful payment
all of these are done with the same email as above
To check that we do not erroneously show the duplicate payment modal
On the same form
On a different form
To ensure no regression issues on non-payment forms
(As changes was made to PublicFormSubmitButton)
perf: memoize field row containers
#6189
@LinHuiqing
To ensure the feature works
(skipped: react profiler only works in development)
On development environment: Use react dev tool -> profiler
On non-development environment: Use react dev tool -> components
Hr
and have theMemo
tag on the right of itGo to a large form
To ensure core features are still intact
Notes
There are still a few unnecessary re-renders upon drag and dropping of the fields.
Ideally, only the fields affected (field id changed) should re-render and all other fields should be unaffected. However, currently there is still some existing hooks that causes a re-render for all the fields even if they are memoized