Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Kta 60 results after uploading data #10

Merged
merged 53 commits into from
Oct 10, 2022

Conversation

sandoche
Copy link
Contributor

@sandoche sandoche commented Oct 7, 2022

A PR related to KTA-60 (check it out for more infos) but in short:

  • Adding the results at the end of the flow
  • Possibility to restart if it failed
  • Changed a bit the UI to make the full flow more consistent
  • Improved a bit the UX
  • Refactored the code (adding types, services, more components, file structure)

There is still something not very clear to know when to show the loading animation, and when to show the failing / restart message that is why I sent a message to the Onfido support.

Depending on the results I may have to update:

I will later write some E2E testings.

@sandoche sandoche requested a review from ryancwalsh October 7, 2022 10:50
return (
<CenteredCardContent
title="Verification validated"
description="You can now close this window. The NEAR Foundation will contact you for the next steps."
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels anti-climatic. We just asked someone to go through a bunch of hassle, and the result came back positive, so I think we should say something happier and more positive, especially since we're then bringing them the bad news that they have to wait longer on something else.

Maybe we want to say:

Congratulations! 🎉 We have verified your identity and are excited to move forward. NEAR Foundation will contact you for the next steps shortly. You can now close this window.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good one! Thanks a lot!

Copy link
Contributor

@ryancwalsh ryancwalsh left a comment

Choose a reason for hiding this comment

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

I added some comments but nothing that stops me from approving.

Also, whenever you're submitting something that you want me to consider more carefully, either include screenshots and/or a 30-second video showing me what you want me to see, or tell me to build everything and run it myself (which I didn't do here since I assumed you'd tell me if anything needs that level of attention).

@sandoche
Copy link
Contributor Author

sandoche commented Oct 10, 2022

@sandoche
Copy link
Contributor Author

@ryancwalsh just for your information: I updated the check state I was looking at the wrong place in the doc, thanks to the support I found this out, so I fixed it in this commit: ee5c509#diff-1130d586ce172f3f2f257e9b1875bd308f3335817f0a91f4df1d6ac8a93e101d

@sandoche sandoche merged commit d4bfbd2 into develop Oct 10, 2022
@sandoche sandoche deleted the KTA-60-results-after-uploading-data branch October 10, 2022 11:06
@@ -34,7 +34,8 @@ module.exports = {
'react/jsx-props-no-spreading': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'no-magic-numbers': 'error',
Copy link
Contributor

Choose a reason for hiding this comment

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants