-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix: CAU validation fixes #106
Merged
Merged
Commits on Oct 29, 2024
-
Don't track users with GA if we are using Plausible. Besides 1% 10K of gzip payload reduced.
Configuration menu - View commit details
-
Copy full SHA for b900939 - Browse repository at this point
Copy the full SHA b900939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a6e2d4 - Browse repository at this point
Copy the full SHA 5a6e2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdc7d58 - Browse repository at this point
Copy the full SHA cdc7d58View commit details -
indeed body1 variant was too big used proper variant
Configuration menu - View commit details
-
Copy full SHA for 0edc148 - Browse repository at this point
Copy the full SHA 0edc148View commit details -
Configuration menu - View commit details
-
Copy full SHA for f56e5aa - Browse repository at this point
Copy the full SHA f56e5aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5c0940 - Browse repository at this point
Copy the full SHA a5c0940View commit details -
🐛 ApiValidated: descending pretty version
Even though we bubble up compact version, if we push down pretty version, the input will understand it as a change of the value, and will repeat the check. In some cases even creating an infinite loop.
Configuration menu - View commit details
-
Copy full SHA for 13cd751 - Browse repository at this point
Copy the full SHA 13cd751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 812846d - Browse repository at this point
Copy the full SHA 812846dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd2034 - Browse repository at this point
Copy the full SHA 8dd2034View commit details -
🐛 discriminate 'required' and 'initial' message
Initial message (explaining where to find the CAU) was not shown initially, just the required error 'CAU must be filled'. Now the required error is shown only after the field has been visited.
Configuration menu - View commit details
-
Copy full SHA for 6a0f258 - Browse repository at this point
Copy the full SHA 6a0f258View commit details -
🐛 remote checking compact and not pretty CAU
This was the root of the remaining validation infinite loop. The validator took the pretty value and so formik sent it back to the input which was detected as different and thus validated again. Previous fixes just avoided this on other cases.
Configuration menu - View commit details
-
Copy full SHA for bdb63f9 - Browse repository at this point
Copy the full SHA bdb63f9View commit details -
♻️ explicitly naming for compact or pretty values
This might avoid falling again confusions and errors. They are not all the same value. What we receive from and send to the outside world is a compact value, what we edit in the widget is a pretty value (with spaces and decoration). (pretty and compact is python stdnum library nomenclature)
Configuration menu - View commit details
-
Copy full SHA for e5aaa5c - Browse repository at this point
Copy the full SHA e5aaa5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 517ea35 - Browse repository at this point
Copy the full SHA 517ea35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e52f64 - Browse repository at this point
Copy the full SHA 2e52f64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39d08dc - Browse repository at this point
Copy the full SHA 39d08dcView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.