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

feat(Profile flow) ID verification flows (incoming/outgoing) #13727

Merged

Conversation

caybro
Copy link
Member

@caybro caybro commented Feb 26, 2024

What does the PR do

  • Send/request ID verification
  • Reply to incoming ID request
  • review ID verification reply
  • adjust SB and add shortcuts to trigger the various states of the ID
    verification flows

Fixes #13709
Fixes #13745
Fixes #13747

Affected areas

ProfileDialogView, ProfileContextMenu

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it

Request/send an ID request:
image

Reply to incoming ID request:
image

View pending ID request/reply:
image

Accept/reject pending ID request:
image

@caybro caybro linked an issue Feb 26, 2024 that may be closed by this pull request
@caybro caybro force-pushed the 13709-profile-flow-id-verification-flows-incomingoutgoing branch from 4925b0f to 401a10c Compare February 26, 2024 19:08
@status-im-auto
Copy link
Member

status-im-auto commented Feb 26, 2024

Jenkins Builds

Click to see older builds (44)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 401a10c #2 2024-02-26 19:14:12 ~5 min tests/nim 📄log
✔️ 401a10c #2 2024-02-26 19:14:58 ~6 min macos/aarch64 🍎dmg
✔️ 401a10c #2 2024-02-26 19:18:10 ~9 min macos/x86_64 🍎dmg
✔️ 401a10c #2 2024-02-26 19:18:38 ~10 min tests/ui 📄log
✔️ 401a10c #2 2024-02-26 19:24:29 ~16 min linux/x86_64 📦tgz
✔️ 401a10c #2 2024-02-26 19:33:24 ~25 min windows/x86_64 💿exe
✔️ fc9a0db #3 2024-02-27 14:33:33 ~21 min windows/x86_64 💿exe
✔️ fc9a0db #3 2024-02-27 15:10:17 ~58 min tests/nim 📄log
✔️ fc9a0db #3 2024-02-27 15:13:40 ~1 hr 1 min tests/ui 📄log
✔️ fc9a0db #3 2024-02-27 15:17:13 ~1 hr 5 min linux/x86_64 📦tgz
✔️ fc9a0db #3 2024-02-27 15:43:14 ~1 hr 31 min macos/aarch64 🍎dmg
✔️ f444c69 #4 2024-02-27 16:12:03 ~14 min tests/nim 📄log
✔️ f444c69 #4 2024-02-27 16:16:36 ~18 min tests/ui 📄log
✔️ f444c69 #4 2024-02-27 16:18:40 ~20 min windows/x86_64 💿exe
✔️ f444c69 #4 2024-02-27 16:24:19 ~26 min linux/x86_64 📦tgz
✔️ f444c69 #4 2024-02-27 16:55:51 ~57 min macos/aarch64 🍎dmg
✔️ f444c69 #4 2024-02-27 18:11:48 ~2 hr 13 min macos/x86_64 🍎dmg
✔️ 965041e #5 2024-02-27 20:25:20 ~4 min macos/aarch64 🍎dmg
✔️ 965041e #5 2024-02-27 20:26:59 ~6 min tests/nim 📄log
✔️ 965041e #5 2024-02-27 20:28:54 ~7 min macos/x86_64 🍎dmg
✔️ 965041e #5 2024-02-27 20:30:55 ~10 min tests/ui 📄log
✔️ 965041e #5 2024-02-27 20:35:54 ~15 min linux/x86_64 📦tgz
✔️ 965041e #5 2024-02-27 20:41:26 ~20 min windows/x86_64 💿exe
✔️ 46e1b80 #6 2024-02-27 20:45:43 ~3 min macos/aarch64 🍎dmg
✔️ 46e1b80 #6 2024-02-27 20:48:02 ~6 min tests/nim 📄log
✔️ 46e1b80 #6 2024-02-27 20:49:29 ~7 min macos/x86_64 🍎dmg
✔️ 46e1b80 #6 2024-02-27 20:52:25 ~10 min tests/ui 📄log
✔️ 46e1b80 #6 2024-02-27 20:56:51 ~15 min linux/x86_64 📦tgz
✔️ 46e1b80 #6 2024-02-27 20:59:25 ~17 min windows/x86_64 💿exe
✔️ 2440bfb #7 2024-02-27 21:25:50 ~4 min macos/aarch64 🍎dmg
✔️ 2440bfb #7 2024-02-27 21:27:47 ~6 min tests/nim 📄log
✔️ 2440bfb #7 2024-02-27 21:30:35 ~9 min macos/x86_64 🍎dmg
✔️ 2440bfb #7 2024-02-27 21:31:29 ~10 min tests/ui 📄log
✔️ 2440bfb #7 2024-02-27 21:36:27 ~15 min linux/x86_64 📦tgz
✔️ 2440bfb #7 2024-02-27 21:39:25 ~17 min windows/x86_64 💿exe
✔️ a52c89b #8 2024-02-28 13:35:47 ~4 min macos/aarch64 🍎dmg
✔️ a52c89b #8 2024-02-28 13:38:18 ~6 min tests/nim 📄log
✔️ a52c89b #8 2024-02-28 13:39:20 ~7 min macos/x86_64 🍎dmg
✔️ 0be8ad4 #9 2024-02-28 13:45:16 ~4 min macos/aarch64 🍎dmg
✔️ 0be8ad4 #9 2024-02-28 13:47:02 ~6 min tests/nim 📄log
✔️ 0be8ad4 #9 2024-02-28 13:47:50 ~6 min macos/x86_64 🍎dmg
✔️ 0be8ad4 #9 2024-02-28 13:51:42 ~10 min tests/ui 📄log
✔️ 0be8ad4 #9 2024-02-28 13:55:39 ~14 min linux/x86_64 📦tgz
✔️ 0be8ad4 #9 2024-02-28 14:12:19 ~31 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 8160a4c #10 2024-02-28 14:19:27 ~4 min macos/aarch64 🍎dmg
✔️ 8160a4c #10 2024-02-28 14:21:49 ~6 min tests/nim 📄log
✔️ 8160a4c #10 2024-02-28 14:22:15 ~7 min macos/x86_64 🍎dmg
✔️ 8160a4c #10 2024-02-28 14:26:31 ~11 min tests/ui 📄log
✔️ 8160a4c #10 2024-02-28 14:28:49 ~13 min linux/x86_64 📦tgz
✔️ 8160a4c #10 2024-02-28 14:37:44 ~22 min windows/x86_64 💿exe
✔️ 01cc5e3 #11 2024-02-29 21:15:46 ~4 min macos/aarch64 🍎dmg
✔️ 01cc5e3 #11 2024-02-29 21:17:35 ~6 min tests/nim 📄log
✔️ 01cc5e3 #11 2024-02-29 21:18:52 ~7 min macos/x86_64 🍎dmg
✔️ 01cc5e3 #11 2024-02-29 21:22:04 ~10 min tests/ui 📄log
✔️ 01cc5e3 #11 2024-02-29 21:26:35 ~15 min linux/x86_64 📦tgz
✔️ 01cc5e3 #11 2024-02-29 21:32:02 ~20 min windows/x86_64 💿exe

@caybro caybro force-pushed the 13709-profile-flow-id-verification-flows-incomingoutgoing branch 6 times, most recently from 2440bfb to a52c89b Compare February 28, 2024 13:31
@caybro caybro marked this pull request as ready for review February 28, 2024 13:34
@caybro caybro force-pushed the 13709-profile-flow-id-verification-flows-incomingoutgoing branch 2 times, most recently from 0be8ad4 to 8160a4c Compare February 28, 2024 14:14
Copy link
Contributor

@MishkaRogachev MishkaRogachev left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -58,7 +54,7 @@ CommonContactDialog {

StatusCheckBox {
id: ctrlRemoveIDVerification
visible: contactDetails.isContact && !d.isTrusted && d.isVerificationRequestReceived
visible: (contactDetails.isContact && d.isTrusted) || contactDetails.trustStatus === Constants.trustStatus.trusted
Copy link
Contributor

Choose a reason for hiding this comment

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

imo contactDetails.isContact && d.isTrusted) is sufficient

Copy link
Member Author

@caybro caybro Feb 29, 2024

Choose a reason for hiding this comment

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

Yeah I wanted to make double sure (also for Storybook) :) It can't hurt and also I wasn't certain how this would get implemented in the end when I started working on this

@caybro caybro requested a review from noeliaSD February 29, 2024 20:31
- Send/request ID verification
- Reply to incoming ID request
- Review ID verification reply
- adjust SB and add shortcuts to trigger the various states of the ID
verification flows

Fixes #13709
Fixes #13745
Fixes #13747
@caybro caybro force-pushed the 13709-profile-flow-id-verification-flows-incomingoutgoing branch from 8160a4c to 01cc5e3 Compare February 29, 2024 21:11
Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

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

Nice work!

Component.onCompleted: {
Global.userProfile = {
name: "Anna",
pubKey: "Oxdeadbeef",
Copy link
Contributor

Choose a reason for hiding this comment

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

😄

@caybro caybro merged commit fda1d37 into master Mar 4, 2024
8 checks passed
@caybro caybro deleted the 13709-profile-flow-id-verification-flows-incomingoutgoing branch March 4, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants