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

fix(contact): fix fetching contact info when sending a CR #16917

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

jrainville
Copy link
Member

What does the PR do

Fixes #15205

The problem was that we were using the module directly in the Connections, but the store didn't expose it anymore, because it's against the guidelines.

Instead, I moved the Connections to the module to the store itself and the store sends a signal when we have the info.

Affected areas

SendContactRequestModal and ContactsStore (for sending contact requests)

Architecture compliance

Screenshot of functionality (including design for comparison)

fetch-info.webm

Impact on end user

Fixes the issue

How to test

  1. Have an old user (backup its data for fun, though I'm pretty sure it doesn't do anything)
  2. Create a new user
  3. Paste the old user's link in the Start chat input
  4. Profit

Risk

Tick one:

  • Low risk: 2 devs MUST perform testing as specified above and attach their results as comments to this PR before merging.
  • High risk: QA team MUST perform additional testing in the specified affected areas before merging.

Worst case the bug still happens

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

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

Nice fix!

@status-im-auto
Copy link
Member

status-im-auto commented Dec 6, 2024

Jenkins Builds

Click to see older builds (14)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 2aa7bcc #1 2024-12-06 20:09:09 ~8 min tests/nim 📄log
✔️ 2aa7bcc #1 2024-12-06 20:10:31 ~9 min macos/aarch64 🍎dmg
✔️ 2aa7bcc #1 2024-12-06 20:13:28 ~12 min tests/ui 📄log
✔️ 2aa7bcc #1 2024-12-06 20:17:12 ~16 min macos/x86_64 🍎dmg
✔️ 2aa7bcc #1 2024-12-06 20:17:28 ~16 min linux-nix/x86_64 📦tgz
✔️ 2aa7bcc #1 2024-12-06 20:18:59 ~18 min linux/x86_64 📦tgz
✔️ 2aa7bcc #1 2024-12-06 20:29:23 ~28 min windows/x86_64 💿exe
✔️ 94b9924 #2 2024-12-12 19:59:49 ~6 min macos/aarch64 🍎dmg
✔️ 94b9924 #2 2024-12-12 20:01:33 ~8 min tests/nim 📄log
✔️ 94b9924 #2 2024-12-12 20:05:51 ~12 min macos/x86_64 🍎dmg
✔️ 94b9924 #2 2024-12-12 20:05:59 ~12 min tests/ui 📄log
✔️ 94b9924 #2 2024-12-12 20:08:54 ~15 min linux-nix/x86_64 📦tgz
✔️ 94b9924 #2 2024-12-12 20:14:33 ~21 min linux/x86_64 📦tgz
✔️ 94b9924 #2 2024-12-12 20:22:33 ~28 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ a598ddd #3 2024-12-18 15:58:58 ~8 min tests/nim 📄log
✔️ a598ddd #3 2024-12-18 15:59:37 ~8 min macos/aarch64 🍎dmg
✔️ a598ddd #3 2024-12-18 16:02:31 ~11 min tests/ui 📄log
✔️ a598ddd #3 2024-12-18 16:02:32 ~11 min macos/x86_64 🍎dmg
✔️ a598ddd #3 2024-12-18 16:05:36 ~14 min linux-nix/x86_64 📦tgz
✔️ a598ddd #3 2024-12-18 16:07:42 ~16 min linux/x86_64 📦tgz
✔️ a598ddd #3 2024-12-18 16:18:57 ~27 min windows/x86_64 💿exe
✔️ e915a84 #4 2025-01-06 19:07:09 ~7 min macos/aarch64 🍎dmg
✔️ e915a84 #4 2025-01-06 19:07:15 ~7 min tests/nim 📄log
✔️ e915a84 #4 2025-01-06 19:11:37 ~12 min tests/ui 📄log
✔️ e915a84 #4 2025-01-06 19:12:46 ~13 min macos/x86_64 🍎dmg
✔️ e915a84 #4 2025-01-06 19:15:34 ~16 min linux-nix/x86_64 📦tgz
✔️ e915a84 #4 2025-01-06 19:17:54 ~18 min linux/x86_64 📦tgz
✔️ e915a84 #4 2025-01-06 19:27:56 ~28 min windows/x86_64 💿exe

@jrainville jrainville force-pushed the fix/contact-request-missing-display-name branch from 2aa7bcc to 94b9924 Compare December 12, 2024 19:53
@jrainville
Copy link
Member Author

@micieslak @alexjba friendly reminder to review

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 finding!

Minor suggestion below

ui/app/AppLayouts/Profile/stores/ContactsStore.qml Outdated Show resolved Hide resolved
@micieslak
Copy link
Member

@jrainville sorry for late review. I don't know how I missed that PR 🤦

@jrainville jrainville force-pushed the fix/contact-request-missing-display-name branch from 94b9924 to a598ddd Compare December 18, 2024 15:50
@jrainville jrainville force-pushed the fix/contact-request-missing-display-name branch from a598ddd to e915a84 Compare January 6, 2025 18:59
@jrainville
Copy link
Member Author

@alexjba @micieslak friendly reminder to review

@jrainville
Copy link
Member Author

@alexjba you've been selected as the tester for this

There were 3 items in your list. Here they are in random order:

alexjba
caybro
micieslak

@alexjba
Copy link
Contributor

alexjba commented Jan 9, 2025

@jrainville Tested! 👍

@jrainville jrainville merged commit f0a6571 into master Jan 9, 2025
9 checks passed
@jrainville jrainville deleted the fix/contact-request-missing-display-name branch January 9, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SendContactRequest popup doesn't show fetched display name
5 participants