Open lanitochka17 opened 6 days ago
Triggered auto assignment to @joekaufmanexpensify (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.
Job added to Upwork: https://www.upwork.com/jobs/~021854973788673857466
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (External
)
Seems like a pretty minor bug, so bumping down.
Upwork job price has been updated to $125
When users view shared QR codes in the Expensify app, the profile picture shape is inconsistent depending on the navigation path taken. Specifically:
The issue occurs because when the user clicks on the hyperlink here: WorkspaceProfileSharePage.tsx#L89, the current QR code displayed in WorkspaceProfileSharePage is not being properly closed. As a result, when navigating to the new page where the QR code is shown again, two QRShare components are mounted simultaneously. You can verify this by checking the React dev tools for the two QRShare components. This is causing the SVG inside the QR code to lose the border-radius styling, making the profile picture appear as a rectangle.
When the user clicks on the hyperlink, close the current modal before navigating to the new page. This can be done using the Navigation.dismissModal() method.
Navigation.dismissModal();
Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(adminRoom.reportID ?? ''));
Thanks @Shahidullah-Muffakir for the proposal, the RCA checks out and the proposed solution fixes the issue in accordance with the Expected result.
In order to DRY the code down to one line you might as well write it like this:
Navigation.dismissModal(adminRoom.reportID);
since dismissModal
has support for reportID
which if passed calls:
๐๐๐ย C+ reviewed
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Suggestion
In order to DRY the code down to one line you might as well write it like this:
Navigation.dismissModal(adminRoom.reportID);
since
dismissModal
has support forreportID
which if passed calls:๐๐๐ย C+ reviewed
@ikevin127, Thank you for pointing that out! Weโll use that.
CME doesn't seem to be OOO, not sure what's the hold up here.
cc @grgia @joekaufmanexpensify for visibility.
@grgia mind signing off on this one when you have a sec?
@joekaufmanexpensify Do you think it's possible to re-assign CME for this issue ? Must be caught-up with some higher priority tasks and we wouldn't want deter from that. There's another issue reported on Slack with the same situation here.
๐ฃ @ikevin127 ๐ An offer has been automatically sent to your Upwork account for the Reviewer role ๐ Thanks for contributing to the Expensify app!
๐ฃ @Shahidullah-Muffakir You have been assigned to this job! Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review ๐งโ๐ป Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs! Keep in mind: Code of Conduct | Contributing ๐
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: 9.0.59-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: NA If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): biruknew45+2025@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The profile picture should consistently appear as a circle
Actual Result:
When navigating to the admin room share code through the #admin hyperlink, the profile picture appears as a rectangle
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/b05f5cab-6736-47f6-a86d-bf7deef46a28
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ikevin127