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
[HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link #44639
Version Number: 9.0.3-1 Reproducible in staging?: Y Reproducible in production?: Y 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):gocemate+a470@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
[User B] Copy a workspace join link that User A is not a member
[User A] Open the workspace join link
Expected Result:
Workspace name should be displayed when User A open join link
Actual Result:
Workspace name is not displayed when navigate to Workspace via join link until the member is accepted
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
@lschurr FYI 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
The first view, set the the flex1 style. The flex1 style will grow/shrink based on the space. However, the second View wrapper doesn't limit the width.
For example, if we set it to 50px width, then the WS name will be visible. Or if we set the flex1 to the second View, then the WS name will be visible too. But I think we don't have a static width for the container for now and we don't want to set the flex1 because it means it will have equal width between the Requested badge and the WS avatar + name.
What changes do you think we should make in order to solve the problem?
changed the title [-]Android - Workspace - Workspace name is not displayed when navigate via join link[/-][+][$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/+]on Jun 30, 2024
changed the title [-][HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/+]on Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@hungvu193] The PR that introduced the bug has been identified. Link to the PR:
[@hungvu193] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@hungvu193] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@hungvu193] Determine if we should create a regression test for this bug.
[@hungvu193] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
changed the title [-][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/-][+][HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/+]on Jul 16, 2024
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
Determine if we should create a regression test for this bug: YES
Regression test:
[User B] Copy a workspace join link that User A is not a member.
[User A] Open the workspace join link (On a mobile device).
Activity
melvin-bot commentedon Jun 28, 2024
Triggered auto assignment to @lschurr (
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.lanitochka17 commentedon Jun 28, 2024
@lschurr FYI 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
bernhardoj commentedon Jun 29, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Pending join WS name isn't displayed in small screen.
What is the root cause of that problem?
The requested badge takes the whole space which hides the workspace name. (the green box is the requested badge container box)

The badge view is wrapped with 2 view.
App/src/pages/workspace/WorkspacesListRow.tsx
Lines 145 to 148 in 4622e19
The first view, set the the flex1 style. The flex1 style will grow/shrink based on the space. However, the second View wrapper doesn't limit the width.
For example, if we set it to 50px width, then the WS name will be visible. Or if we set the flex1 to the second View, then the WS name will be visible too. But I think we don't have a static width for the container for now and we don't want to set the flex1 because it means it will have equal width between the Requested badge and the WS avatar + name.
What changes do you think we should make in order to solve the problem?
Remove the badge view wrapper flex1 style
App/src/pages/workspace/WorkspacesListRow.tsx
Lines 147 to 148 in 4622e19
But we have another problem. If you notice, the Requested badge is overflown the green box container and also not centered.

That's because of the
workspaceListBadgestyle, so we need to remove it too.App/src/styles/index.ts
Lines 3357 to 3361 in 4622e19
Last, another existing issue in large screen the requested badge doesn't have the same width as the 3-dot.

We can add padding left of 20 to the badge (large screen only) or have a static width for it, for example 128 (the 3-dot width).

Result on small screen

[-]Android - Workspace - Workspace name is not displayed when navigate via join link[/-][+][$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/+]melvin-bot commentedon Jun 30, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0138fb5ddd26e517e8
melvin-bot commentedon Jun 30, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 (
External)hungvu193 commentedon Jul 1, 2024
I'll review today!
22 remaining items
[-][HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/-][+][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/+]melvin-bot commentedon Jul 15, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 15, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
bernhardoj commentedon Jul 16, 2024
The payment should be due tomorrow (07-17)
[-][HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/-][+][HOLD for payment 2024-07-17] [$250] Android - Workspace - Workspace name is not displayed when navigate via join link[/+]bernhardoj commentedon Jul 17, 2024
Requested in ND.
hungvu193 commentedon Jul 17, 2024
@lschurr I will also request on ND, I'll withdraw my upwork offer.
hungvu193 commentedon Jul 17, 2024
Regression test:
Do we 👍 or 👎
lschurr commentedon Jul 17, 2024
Payment summary:
lschurr commentedon Jul 17, 2024
Added QA test request. Closing :)
JmillsExpensify commentedon Jul 19, 2024
$250 approved for @bernhardoj
JmillsExpensify commentedon Jul 19, 2024
$250 approved for @hungvu193