-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-03-05] [$250] [MEDIUM] Bank account - Green box for completed part is clickable but nothing happens when clicking on it #36506
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @tgolen ( |
We think that this bug might be related #wave5-free-submitters |
Minor styling issue, not a blocker. The buttons are disabled to click on them so we should update the cursor to not suggest they are clickable |
Job added to Upwork: https://www.upwork.com/jobs/~01d715a5163129c0d4 |
Current assignee @akinwale is eligible for the External assigner, not assigning anyone new. |
Upwork job price has been updated to $250 |
@mountiny based on this code, are we confident it shouldn't be clickable?
App/src/components/InteractiveStepSubHeader.tsx Lines 62 to 68 in c03a1a2
Or is it non-clickable just for the BA flow? |
@paultsimura yep there are cases when we want to lock the steps https://github.com/Expensify/App/pull/36472/files#diff-50cbf33e1a4add301c4c85b2d37735fa79094c511c6fc0fe0003940870ec4a1dR81 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cursor on steps is "pointer" even if they are not clickable. After https://github.com/Expensify/App/pull/36472/files#diff-50cbf33e1a4add301c4c85b2d37735fa79094c511c6fc0fe0003940870ec4a1dR81, the cursor will always be "disabled" instead of the "pointer". What is the root cause of that problem?The steps are pressable, but they shouldn't be if there's no What changes do you think we should make in order to solve the problem?Use App/src/components/InteractiveStepSubHeader.tsx Lines 76 to 80 in c03a1a2
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account - Green box for completed part is clickable but nothing happens when clicking on it What is the root cause of that problem?We are allowing the cursor pointer for index less than current index App/src/components/InteractiveStepSubHeader.tsx Lines 58 to 59 in f438cb7
What changes do you think we should make in order to solve the problem?We should change to the same condition here App/src/components/InteractiveStepSubHeader.tsx Lines 63 to 64 in f438cb7
App/src/components/InteractiveStepSubHeader.tsx Lines 81 to 82 in f438cb7
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account - Green box for completed part is clickable but nothing happens when clicking on it What is the root cause of that problem?As mentioned above, there are cases when we disabled the boxes in App/src/components/InteractiveStepSubHeader.tsx Lines 62 to 68 in c03a1a2
What changes do you think we should make in order to solve the problem?We just need to add more styles in Need to update styles here: Line 4368 in 2e3840f
Result |
After reviewing, we can move forward with @FitseTLT's proposal, since it was the first to arrive at the correct solution based on the observe timestamps. @paultsimura In the future, please follow the guidelines by creating an Updated proposal post after making edits to your proposal. 🎀👀🎀 C+ reviewed. |
Triggered auto assignment to @nkuoch, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@akinwale with all due respect, please note the following:
Code in main:
I still think there isn't a better proposal than mine, and I'll just repost it so you can re-check ignoring the editing timestamps. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cursor on steps is "forbidden" even if they are not clickable by design. What is the root cause of that problem?The steps are pressable but disabled, which results in the "forbidden" cursor being displayed. They shouldn't be treated as pressable at all if there's no What changes do you think we should make in order to solve the problem?Use style={[
styles.interactiveStepHeaderStepButton,
isLockedStep && styles.interactiveStepHeaderLockedStepButton,
isCompletedStep && styles.interactiveStepHeaderCompletedStepButton,
+ !onStepSelected && styles.cursorDefault,
]} App/src/components/InteractiveStepSubHeader.tsx Lines 76 to 80 in c03a1a2
What alternative solutions did you explore? (Optional) |
@paultsimura Thanks for the clarification. Could you update your proposal with what the updated style code would look like? |
By the way the code change in |
Updated #36506 (comment) Also, here are the before/after screenshots: |
After a second review, since the only change required for this issue is the cursor style update, we can move forward with @paultsimura's proposal. cc @nkuoch |
📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@paultsimura can you raise a PR please? |
Sure, on it now |
Thanks. The PR is ready for review: #36573 |
Deployed to prod: #36573 (comment) |
Payment for @akinwale will be handled here #22901 (comment) |
Triggered auto assignment to @bfitzexpensify ( |
Payment for @paultsimura complete, closing this out. |
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: v1.4.41-2
Reproducible in staging?: y
Reproducible in production?: n
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:
Since the green box is clickable (with hand cursor), clicking on it should navigate to the first section.
Actual Result:
The green box is clickable, but nothing happens when clicking on it.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6379352_1707915973512.bandicam_2024-02-14_14-18-52-879.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: