-
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
[$500] Web - Errors appear in the JS console when requesting money or assigning a task #32605
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~014f402f86bef1bf3e |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
@lanitochka17 can you please share console log? |
Hello @lanitochka17 |
📣 @OleksandrYakuba! 📣
|
Contributor details |
|
Contributor details |
Make sure? |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?
App/src/pages/tasks/NewTaskPage.js Line 198 in 3827a9c
if !shareDestination.shouldUseFullTitleToDisplay resolves to be false, we are passing false as prop.
I couldn't repro the error on Money request What changes do you think we should make in order to solve the problem?For new task page What alternative solutions did you explore? (Optional) |
@BhuvaneshPatil |
Otherwise, prop type of MenuItem's titleWithTooltips can be defined as following. current: change:
|
waiting for response |
@situchan can you review? Thanks |
@laurenreidexpensify I asked here but if no answer, I will go ahead with console error I measured |
Sorry for delay Bug6303814_1701907014279.JS_console_error_when_requesting_money_or_assign_task.mp4 |
This is CORS error. |
I recommend CORS package for it. |
I checked the git blame, and it takes back to more than a year back. It happened(in some cases) because of migration to |
@BhuvaneshPatil can you link the PR pls thanks |
Sure @laurenreidexpensify
|
@situchan I have added the PR that caused this issue |
what do you think of this console error? |
That error is for |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@laurenreidexpensify, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
^^ @situchan |
@laurenreidexpensify, @situchan Eep! 4 days overdue now. Issues have feelings too... |
Thanks. I will provide feedback soon |
Issue not reproducible during KI retests. (Second week) |
This is still reproducible |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Issue not reproducible during KI retests. (Third week) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Errors appear in the JS console when requesting money or assigning a task What is the root cause of that problem?In the Report Preview, we define the role of 'PressableWithoutFeedback' as a 'button' that wraps other buttons. This can cause issues with the HTML, especially when navigating with the keyboard or using assistive technology. What changes do you think we should make in order to solve the problem?We can rearrange the internal buttons so they are not contained within the pressable component. Here is a example of restructuring without altering the style. Restructure this code as follows:
What alternative solutions did you explore? (Optional)Completely remove role='button' from the pressable |
No longer reproducible |
@laurenreidexpensify @situchan Actually, the issue persists with the latest main in development, which is not shown in staging. It appears that some logging is intentionally suppressed in staging? |
Reproducible for me as well, We need to have Pay with Expensify button in order to view the error |
Btw, I think we can keep this closed for now as only dev console error, not impacting production users. P.S. #35633 is more annoying console error on iOS but we closed it. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.9-0
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:
Issue found when executing PR #29157
Action Performed:
Expected Result:
No errors appear in JS console
Actual Result:
Errors appear in JS console when requesting money or assigning a task
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: