You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Awaiting payment][$125] Web - Workspace - Console error shows up when clicking Share button #40086
👋 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:
Identify the pull request that introduced this issue and revert it.
@johncschuster I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
changed the title [-][$125] Web - Workspace - Console error shows up when clicking Share button[/-][+][Awaiting payment][$125] Web - Workspace - Console error shows up when clicking Share button[/+]on May 20, 2024
Activity
melvin-bot commentedon Apr 11, 2024
Triggered auto assignment to @johncschuster (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Apr 11, 2024
Triggered auto assignment to @pecanoro (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Apr 11, 2024
👋 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:
izarutskaya commentedon Apr 11, 2024
@johncschuster I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
izarutskaya commentedon Apr 11, 2024
We think this issue might be related to the #collect project.
izarutskaya commentedon Apr 11, 2024
Production
bandicam.2024-04-11.10-54-53-331.mp4
tienifr commentedon Apr 11, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Console error shows up.
What is the root cause of that problem?
We're setting
qrCodeSizewith default value is 0App/src/components/QRShare/index.tsx
Line 19 in 260a7de
that cause the
logoSizeis 0App/src/components/QRCode.tsx
Line 53 in 260a7de
If the logoSize is 0, the
logoBackgroundBorderRadiuswill be NaN hereWhat changes do you think we should make in order to solve the problem?
We should set the default value of
qrCodeSizeis undefined here, so thesizewill be set to 120App/src/components/QRCode.tsx
Line 44 in 260a7de
What alternative solutions did you explore? (Optional)
in
QRCode:Solution 1: Return null if size is 0
Solution 2: We can consider to fallback the size to 120 if it's 0
Solution 3: Update this line to
logoSize={(size * logoRatio) || 1}Result
web-resize.mp4
47 remaining items
[-][$125] Web - Workspace - Console error shows up when clicking Share button[/-][+][Awaiting payment][$125] Web - Workspace - Console error shows up when clicking Share button[/+]johncschuster commentedon May 21, 2024
Looking now
johncschuster commentedon May 21, 2024
@shubham1206agra it looks like you haven't accepted the invite to the job on Upwork. Can you please accept that?
johncschuster commentedon May 21, 2024
I've issued payment to @tienifr 🎉
shubham1206agra commentedon May 22, 2024
@johncschuster Offer accepted
johncschuster commentedon May 28, 2024
Payment has been issued to @shubham1206agra. Thanks for your contributions!