Skip to content
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 2024-08-26] Workspace switcher - Huge gap between "Create a workspace" modal and "Workspaces" title #47601

Closed
6 tasks done
IuliiaHerets opened this issue Aug 17, 2024 · 23 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Aug 17, 2024

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: v9.0.21-3
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

Precondition:

  • Account has no workspace.
  1. Go to staging.new.expensify.com
  2. Open workspace switcher.

Expected Result:

"Create a workspace" modal should be right below the "Workspaces" title (production behavior).

Actual Result:

There is huge gap between "Create a workspace" modal and "Workspaces" title.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6574871_1723923186190!Screenshot_2024-08-18_at_03 30 12

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @wildan-m
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Aug 17, 2024
Copy link

melvin-bot bot commented Aug 17, 2024

Triggered auto assignment to @luacmartins (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Aug 17, 2024

Triggered auto assignment to @abekkala (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 melvin-bot bot added the Daily KSv2 label Aug 17, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Aug 17, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #vip-vsb

@etCoderDysto
Copy link
Contributor

It might be caused by #47527

@wildan-m
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

What is the root cause of that problem?

The logic in this render might be incorrect:

{(((!isLoadingNewOptions || headerMessage !== translate('common.noResultsFound')) && !!headerMessage) ||
(flattenedSections.allOptions.length === 0 && !showLoadingPlaceholder)) && (
<View style={headerMessageStyle ?? [styles.ph5, styles.pb5]}>
<Text style={[styles.textLabel, styles.colorMuted, styles.minHeight5]}>{headerMessage}</Text>
</View>
)}

headerMessage value should be mandatory to show the component

What changes do you think we should make in order to solve the problem?

Change the logic to

{(
    ((!isLoadingNewOptions || headerMessage !== translate('common.noResultsFound')) ||
    (flattenedSections.allOptions.length === 0 && !showLoadingPlaceholder)) &&
    !!headerMessage
) && (
    <View style={headerMessageStyle ?? [styles.ph5, styles.pb5]}>
        <Text style={[styles.textLabel, styles.colorMuted, styles.minHeight5]}>
            {headerMessage}
        </Text>
    </View>
)}

What alternative solutions did you explore? (Optional)

N/A

@luacmartins
Copy link
Contributor

@wildan-m are you available to work on a fix?

@wildan-m
Copy link
Contributor

@luacmartins sure

@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 (External)

@luacmartins luacmartins removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
@ishpaul777
Copy link
Contributor

Does this needs c+ ? @luacmartins

@luacmartins
Copy link
Contributor

@ishpaul777 I think we're good on this one. @wildan-m please ping me once the PR is ready for review.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Aug 19, 2024
@wildan-m
Copy link
Contributor

@luacmartins the PR is ready.

@luacmartins luacmartins removed the DeployBlockerCash This issue or pull request should block deployment label Aug 19, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 19, 2024
@melvin-bot melvin-bot bot changed the title Workspace switcher - Huge gap between "Create a workspace" modal and "Workspaces" title [HOLD for payment 2024-08-26] Workspace switcher - Huge gap between "Create a workspace" modal and "Workspaces" title Aug 19, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Aug 19, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.21-4 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-08-26. 🎊

For reference, here are some details about the assignees on this issue:

  • @wildan-m requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Aug 19, 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:

  • [@luacmartins] The PR that introduced the bug has been identified. Link to the PR:
  • [@luacmartins] 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:
  • [@luacmartins] 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:
  • [@wildan-m] Determine if we should create a regression test for this bug.
  • [@wildan-m] 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.
  • [@abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@wildan-m
Copy link
Contributor

wildan-m commented Aug 27, 2024

I think we don't need to create regression test, it's not directly related to any flow

Is "Needs manual offer from BZ" a payment method? Can I receive payment through UpWork instead?

@wildan-m
Copy link
Contributor

wildan-m commented Sep 3, 2024

@luacmartins @abekkala bump for payment

@wildan-m
Copy link
Contributor

wildan-m commented Sep 6, 2024

@luacmartins bump #47601 (comment)

@luacmartins
Copy link
Contributor

Seems like I closed this issue without payment 😬 Reopening so we can process it @abekkala

@luacmartins luacmartins reopened this Sep 6, 2024
@luacmartins luacmartins added Daily KSv2 and removed Weekly KSv2 labels Sep 6, 2024
@abekkala
Copy link
Contributor

abekkala commented Sep 6, 2024

PAYMENT SUMMARY

@wildan-m
Copy link
Contributor

wildan-m commented Sep 6, 2024

@abekkala thanks, accepted the offer

@abekkala
Copy link
Contributor

abekkala commented Sep 6, 2024

@wildan-m payment sent and contract ended - thank you! 🎉

@abekkala abekkala closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

6 participants