-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-08-08] [$1000] Web - Assign Task - Delay in transitioning from a hand cursor to a "not allowed" sign. #22058
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When task is marked as completed, there is a delay before the cursor on the "To" row (including Completed status) get changed to disabled cursor What is the root cause of that problem?In Therefore, there was a fix #18862 to introduce a delay of 1000ms after isDisabled:true before the cursor actually get changed to disabled style, to eliminate the flashing. What changes do you think we should make in order to solve the problem?There is nothing wrong with the implementation, however the fixed delay of 1000ms is too long, we should set it to shorter time e.g. 100ms which would also prevent the cursor flashing, and does not add much of the delay of change in term of UX. What alternative solutions did you explore? (Optional) |
@michaelhaxhiu Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@michaelhaxhiu Eep! 4 days overdue now. Issues have feelings too... |
@michaelhaxhiu Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
Job added to Upwork: https://www.upwork.com/jobs/~01620c737f6783071d |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Let's move forward, reproducible & unique! |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is a delay in the transition from a hand cursor to a "not allowed" sign. What is the root cause of that problem?There's this PR #18865 that adds a timeout 1000ms in But I don't think we should use the timeout approach in the first place, since it causes this issue. What changes do you think we should make in order to solve the problem?There're 3 states of the
Currently we're not clearly handling the To handle the
and remove the state and the That means, we have 3 Pressable states in
And we don't need to use any timeout. What alternative solutions did you explore? (Optional)If we want to clearly define the state for the |
@tienifr |
@rfwoolf my proposal is the correct fix for that linked issue, it will not regress it. I tested both issues and all work well. Feel free to highlight if you see any problem. |
I have tested @tienifr's proposal and it seems to work. In case it may assist, there was 1 more line that needed to be changed: |
I believe @tienifr's proposal will cause the cursor to never turn to disabled-style even when Pressable is disabled when isExecuting:true |
Here is a screenrecord after implementing @tienifr's proposal: Re @honnamkuan's concern: |
I'm sorry for the delay. I didn't have much time left, so that I will review this in the morning. |
ProposalPlease re-state the problem that we are trying to solve in this issue.When the user click "Mark as done" button in the task header, there is a delay before the cursor turns to a disabled cursor. What is the root cause of that problem?There is a timeout of 1000ms in What changes do you think we should make in order to solve the problem?There are two types of disability for the We need to add a timeout before cursor update, only in the case of temporary disability. What alternative solutions did you explore? (Optional)N/A |
📣 @dannyaka1991! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Triggered auto assignment to @johncschuster ( |
Note: I'm preparing to go OOO for ~2 weeks and going to assign another BZ to oversee the final payment step on 08/08. Thank you in advance for helping push this along! Payment summary:
Then @mollfpr can you please ensure the checklist is complete? |
No offending PR. This was expected before as created #18862.
As is expected, #18862, we might not find a similar issue again. We already documented delay usage as an absolute necessity in the PR_REVIEW_GUIDELINES. So the regression test should be enough.
Test can only be done on the Web and Desktop
|
Hi, @usmantariq96! I can't find you in Upwork. Can you please apply to this job? |
Summary of payments
|
@johncschuster applied |
@johncschuster I think I'm still no eligible to request the payment via ND. |
@johncschuster, @youssef-lr, @michaelhaxhiu, @mollfpr, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
1 similar comment
@johncschuster, @youssef-lr, @michaelhaxhiu, @mollfpr, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@johncschuster, @youssef-lr, @michaelhaxhiu, @mollfpr, @tienifr Eep! 4 days overdue now. Issues have feelings too... |
What's holding us from closing this one? |
Seems this got caught up. I'm back from OOO and stepping back in. Paid the last 2 contributors, closing now. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The transition from a hand cursor to a "not allowed" sign should occur without any delay.
Actual Result:
There is a delay in the transition from a hand cursor to a "not allowed" sign.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.35-5
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
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Bug.4.mp4
Recording.5281.mp4
Issue reported by: @usmantariq96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688195714793539
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: