-
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-07-26] [$1000] Dev: Clicking on task header sometimes opens assignee page #22498
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @yuwenmemon ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Dev: Clicking on task header sometimes opens assignee page What is the root cause of that problem?We're wrapping our subTitle inside a Pressable that filled the width of the header here: App/src/pages/home/HeaderView.js Lines 193 to 206 in 60f4817
Because of that, when user click on header, sometimes it will trigger the onPress function of the subTitle, which will open the What changes do you think we should make in order to solve the problem?Instead of making it fill the width of the header, we should only make the subTitle clickable in its actual width. What alternative solutions did you explore? (Optional)N/A |
Only reproducible on dev so removing blocker |
Actually, with the latest task redesign I don't think this bug exists anymore. If by assignee page you mean the DM - that is expected |
@thienlnam this bug is on after new task redesign you can check that that is regression of this PR |
@ayazhussain79 From the video in the issue post it looks like clicking the task header opens the chat with the assignee. That's expected behavior. Is there another issue you're trying to point out here that I'm missing? |
@thienlnam please check that again you can assign task by clicking on header screen-recording-2023-07-10-at-104019-pm_pOvdPfRc.mp4 |
Ohhh I see - yes that does look like a bug - thanks for clarifying |
Job added to Upwork: https://www.upwork.com/jobs/~0188e528004d0d6c31 |
Triggered auto assignment to @tjferriss ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
@thienlnam isn't it should open the assignee page for taskreport as looks correct as per the code? App/src/pages/home/HeaderView.js Line 165 in 0bdca70
|
cc @jasperhuangg Was it intended to make this change? I believe the only spot we want to allow changing the assignee is when clicked below - thoughts? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Dev: Clicking on header area opens assignee page. What is the root cause of that problem?Here, we are opening the assignee page if the report is a task report. This is a regression from this PR. App/src/pages/home/HeaderView.js Lines 164 to 167 in 751cf85
What changes do you think we should make in order to solve the problem?If we want to open the details page when we click on the header area (except parent chat) then we can change line 165 to - onPress={() => ReportUtils.navigateToDetailsPage(props.report)} Also, we should remove the What alternative solutions did you explore? (Optional)NA |
@thienlnam in the previous design, user was not able to open assignee page when clicking around header but user was able to open assignee page when clicked on the assignee shown after "To" (in old header design). But I agree, in the new design the header should not open assignee page. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Dev: Clicking on task header sometimes opens assignee page What is the root cause of that problem?I think this is intentional. Still it's very confusing for a user. we should only navigate to assignee page by clicking assignee. Navigating to details page like @Nikhil-Vats mentioned will not work. This the result of @Nikhil-Vats solution Screen.Recording.2023-07-11.at.1.56.21.AM.movWhat changes do you think we should make in order to solve the problem?There are 3 possible solutions to this
What alternative solutions did you explore? (Optional) |
@thienlnam The header previously was used to open the assignee view. The design never specified that that wasn't supposed to happen so I just left things as is. I can update this though–I don't think it makes sense to have them both open the assignee modal. |
Thanks for the proposals everyone, but I'm going to be tackling this internally since it's directly related to a PR I just merged! |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Assigning @jasperhuangg and un-assigning @yuwenmemon as Jasper is working on the PR. |
The PR is on prod cc @tjferriss Let's get @ayazhussain79 paid out for reporting the bug and we should be good to close this out |
@ayazhussain79 offer has been sent via Upworks |
@tjferriss offer accepted, Thank you |
Payment has been sent. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.42-26 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-07-26. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Clicking on task header should not open assignee page
Actual Result:
Clicking on task header sometime open assignee page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.38-3
Reproducible in staging?: no
Reproducible in production?: no
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
Recording.3517.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688771023484909
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: