-
Notifications
You must be signed in to change notification settings - Fork 79
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
refactor(contacts): remove hack force refreshing images with a timestamp #17054
Conversation
Jenkins BuildsClick to see older builds (14)
|
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.
Very nice! 👍
f82f0c1
to
939f001
Compare
I tested the PR by updating the profile picture in one account and checking that the other account sees the new image everywhere. This looks good! 👍 |
939f001
to
33628bf
Compare
I noticed an issue that may be related to this:
The profile pic looks good in the rest of the places. Edit: this is actually happening on a master build, and is unrelated to this PR, new issue created: #17089 cc @jrainville |
33628bf
to
9827de5
Compare
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.
I'm happy to see it done in a proper way 🫶
What does the PR do
Fixes #16814
This gets rid of the uglu hack of adding
addTimestampToURL
to each image.Now, the url coming from status-go contains the timestamp of when the image was updated. The status-go PR is here: status-im/status-go#6239
Affected areas
Contact list, member lists, user profile
Architecture compliance
My PR is consistent with this document: Status Desktop Architecture Guide
Screenshot of functionality
profile-image-change.webm
Impact on end user
Nothing. It should work as before. There is just less ugly code and in theory it would be a nonosecond faster
How to test
Risk
Tick one:
Worst case, some place the image doesn't update until a restart