-
Notifications
You must be signed in to change notification settings - Fork 6
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
PP-12854 Parity check - omit unnecessary fields and handle connector 404 #1844
Conversation
- correct the diff filtering logic so that relevant differences are all included - lay out page so that the diff kinds (different fields, missing fields) are under sub-headings
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.
Nice work on this, a few comments to consider
src/web/modules/transactions/discrepancies/validateLedger.http.ts
Outdated
Show resolved
Hide resolved
src/web/modules/transactions/discrepancies/validateLedger.http.ts
Outdated
Show resolved
Hide resolved
src/web/modules/transactions/discrepancies/validateLedger.http.ts
Outdated
Show resolved
Hide resolved
text: warningMessage, | ||
{% if message %} | ||
{{ govukInsetText({ | ||
text: message, | ||
iconFallbackText: "Warning" |
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.
this iconFallbackText
parameter is probably not needed anymore
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.
done!
Context: The parity check in toolbox compares responses from connector and ledger in relation to a given transaction. It should only check the fields that are common to both responses, highlighting any missing or different fields. If connector returns 404 (charge not found), a message should be displayed rather than an error page.
Screenshot: Charge not found in connector:
Screenshot: Differences found: