-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[$500] Web- Delay when change default skin color #35105
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0162088f4af81577d8 |
Triggered auto assignment to @sakluger ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is a delay when changing the default skin tone. What is the root cause of that problem?When selecting the default skin tone, we first hide the skin tone selector, and then it gets updated async: App/src/components/EmojiPicker/EmojiSkinToneList.js Lines 25 to 33 in 4db7b09
This emoji skin tone uses the Onyx context, so the value is changed only when the value in Onyx is changed, and this operation takes some time (even the optimistic change), which causes the delay between choosing the tone and displaying it as default: App/src/hooks/usePreferredEmojiSkinTone.ts Lines 5 to 20 in f418753
What changes do you think we should make in order to solve the problem?When updating the skin tone, we should hide the skin tone selector after it's been set (after interactions): function updateSelectedSkinTone(skinToneEmoji) {
setHighlightedIndex(skinToneEmoji.skinTone);
setPreferredSkinTone(skinToneEmoji.skinTone);
InteractionManager.runAfterInteractions(() => {
toggleIsSkinToneListVisible();
});
} Result:Screen.Recording.2024-01-24.at.22.44.44.movWhat alternative solutions did you explore? (Optional)Alternatively, we can use a local state along with the one passed from |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What changes do you think we should make in order to solve the problem? Result Screen.Recording.2024-01-25.at.3.01.47.AM.mov |
📣 @mubeenhassan! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is a delay when change default skin color What is the root cause of that problem?We're updating the skinTone and hide the list at the same time App/src/components/EmojiPicker/EmojiSkinToneList.js Lines 30 to 32 in 0d0b0a8
But What changes do you think we should make in order to solve the problem?We should hide the list when
What alternative solutions did you explore? (Optional)We can introduce the new variable named
|
I added. this issue to #vip-vsb as a low priority item, but I do think we should fix it now if we can. @rushatgabhane what do you think of the proposals we're gotten so far? |
reviewing |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@sakluger @youssef-lr @rushatgabhane this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@sakluger this doesn't seem too bad a of a bug, given that most users will change this setting only once, I think we can :donothing: here. What do you think? |
@youssef-lr you're probably right that it's low-impact. But we've been fixing other delay issues, and there's already a C+ recommended proposal, so I think we should fix it. |
Sounds good! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Waiting for a PR from @tienifr |
@sakluger @youssef-lr @rushatgabhane @tienifr this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
Working on PR now. |
@sakluger PR hit production. Melvin is malfunctioning. Please add HOLD for payment label. |
payment request here - https://staging.new.expensify.com/r/323761154428333 |
@sakluger could you please attach payment summary 🙇 |
Awaiting payment summary from @sakluger |
@JmillsExpensify Can you help set the |
I reached out to him via DM. |
Sorry, everyone - the payment summary is below. Summarizing payment on this issue: Contributor: @tienifr $500, paid via Upwork |
$500 approved for @rushatgabhane |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.31-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Selected skin color should be instantly changed when user select it
Actual Result:
There is a delay when change default skin color
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6353761_1706128951219.Recording__1909.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: