-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avatars: Load static avatar images first in user-preview element
Sanitize animated images can take a long time (a few seconds). Load static versions first in Personalization app to provide a smooth user experience. Also update to not show placeholder image if the user state is not provided yet. (Otherwise there will be a flash of the placeholder image before the actual image loads) Without the change: https://drive.google.com/file/d/14sA9pSqGLDqNbcXUsaeJh4erCsEOkN0C/view?usp=sharing&resourcekey=0-SWiaQnaI-4sbblB8GbR8Lw With the change: https://drive.google.com/file/d/1UIh5wYDq48Xn7iAYS5OczavtZBrjYk2V/view?usp=sharing&resourcekey=0-bSqWlCldlPvpqDuJTyGFpw Bug: b/255995788 Test: Local build Change-Id: I3d574a64702cd0a8ed0868039c589883885f2e81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3996023 Reviewed-by: Jason Thai <jasontt@chromium.org> Commit-Queue: Yue Li <updowndota@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067332}
- Loading branch information
Yue Li
authored and
Chromium LUCI CQ
committed
Nov 4, 2022
1 parent
1ab2ea9
commit ead6d12
Showing
4 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters