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: Reload contact info whenever the profile dirty flag is dropped #14745

Conversation

alexjba
Copy link
Contributor

@alexjba alexjba commented May 14, 2024

What does the PR do

closes #14573

We need to manually request the contact information again because the contact object is not live

Other:
Propagate live values to showcase view
Parse display name emojis in the showcase view as well
Parse display name emojis for dirty values as well

Affected areas

Profile dialog

Screenshot of functionality (including design for comparison)

Screen.Recording.2024-05-14.at.11.43.51.mov
Screen.Recording.2024-05-14.at.11.48.11.mov

We need to manually request the contact information again because the contact object is not live
@@ -129,6 +129,11 @@ Pane {
d.reload()
}

onDirtyChanged: {
if (!dirty)
d.reload()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the main bug fix

@status-im-auto
Copy link
Member

status-im-auto commented May 14, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 829e424 #1 2024-05-14 08:56:25 ~6 min tests/nim 📄log
✔️ 829e424 #1 2024-05-14 08:57:38 ~7 min macos/aarch64 🍎dmg
✔️ 829e424 #1 2024-05-14 09:00:30 ~10 min macos/x86_64 🍎dmg
✔️ 829e424 #1 2024-05-14 09:01:19 ~11 min tests/ui 📄log
✔️ 829e424 #1 2024-05-14 09:11:53 ~22 min linux/x86_64 📦tgz
✔️ 829e424 #1 2024-05-14 09:25:43 ~35 min windows/x86_64 💿exe

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.

LGTM 👍

Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

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

LGTM! And looking forward to remove Utils.getContactDetailsAsJson completely 🥹 ;)

@alexjba alexjba merged commit 27bfe22 into master May 16, 2024
8 checks passed
@alexjba alexjba deleted the 14573-profile-the-profile-preview-shows-the-old-state-after-saving-the-profile branch May 16, 2024 08:13
@alexjba
Copy link
Contributor Author

alexjba commented May 16, 2024

LGTM! And looking forward to remove Utils.getContactDetailsAsJson completely 🥹 ;)

Soon 🎉

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.

(Profile): The profile preview shows the old state after saving the profile
4 participants