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 2025-01-02] [$250] Android - Track Expenses-The "New workspace" button is displayed behind the keyboard #53689

Open
2 of 8 tasks
IuliiaHerets opened this issue Dec 6, 2024 · 15 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Dec 6, 2024

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: 9.0.72-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/cases/view/2990404
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team

Action Performed:

Setup:
User logged in with an expensifail account.
The user has at least one workspace and needs to delete it just before performing the steps.

Steps:

  1. Submit a track expense in the self DM
  2. On the actionable whisper options of a track expense, click on Share it with your accountant
  3. In the Share page, enter a few characters to trigger the search
  4. Delete all characters
  5. Hide the keyboard

Expected Result:

The "New workspace" button should be displayed above the keyboard all of the time.

Actual Result:

The New Workspace button appears behind and is sometimes cut off by the keyboard.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6685837_1733445074050.button_behind_keyboard.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021866934464307418827
  • Upwork Job ID: 1866934464307418827
  • Last Price Increase: 2024-12-11
  • Automatic offers:
    • mkzie2 | Contributor | 105338525
Issue OwnerCurrent Issue Owner: @anmurali
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 6, 2024
Copy link

melvin-bot bot commented Dec 6, 2024

Triggered auto assignment to @anmurali (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.

Copy link

melvin-bot bot commented Dec 10, 2024

@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick!

@anmurali anmurali added the External Added to denote the issue can be worked on by a contributor label Dec 11, 2024
Copy link

melvin-bot bot commented Dec 11, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021866934464307418827

@melvin-bot melvin-bot bot changed the title Android - Track Expenses-The "New workspace" button is displayed behind the keyboard [$250] Android - Track Expenses-The "New workspace" button is displayed behind the keyboard Dec 11, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 11, 2024
Copy link

melvin-bot bot commented Dec 11, 2024

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

@melvin-bot melvin-bot bot removed the Overdue label Dec 11, 2024
@mkzie2
Copy link
Contributor

mkzie2 commented Dec 11, 2024

Edited by proposal-police: This proposal was edited at 2024-12-11 20:41:25 UTC.

Proposal

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

The New Workspace button appears behind and is sometimes cut off by the keyboard.

What is the root cause of that problem?

The empty section has minHeight65 style.

<View style={[styles.flex1, styles.overflowHidden, styles.minHeight65]}>
<BlockingView
icon={Illustrations.ToddWithPhones}
iconWidth={variables.emptySelectionListIconWidth}
iconHeight={variables.emptySelectionListIconHeight}
.

When the keyboard is shown, because the empty section cannot scroll, the new workspace button is down behind the keyboard

{flattenedSections.allOptions.length === 0 && (showLoadingPlaceholder || shouldShowListEmptyContent) ? (
renderListEmptyContent()
) : (

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

Add a ScrollView to renderListEmptyContent

<ScrollView>
    {renderListEmptyContent()}
</ScrollView>

{flattenedSections.allOptions.length === 0 && (showLoadingPlaceholder || shouldShowListEmptyContent) ? (
renderListEmptyContent()
) : (

Optional: In this case, we can also add the footerContent and confirm button to this scroll view

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

UI issue no need the test

What alternative solutions did you explore? (Optional)

We need to adjust the EmptySelectionListContent to reduce the height of this component. For example, we can introduce props to customize the icon size, text size, and wrap view style here (for each or all platforms) so as not to apply the minHeight65 style when we want. Here is an example of when we reduce the icon size. We need to confirm more information with the design team.

Screenshot 2024-12-12 at 03 38 37

<View style={[styles.flex1, styles.overflowHidden, styles.minHeight65]}>
<BlockingView
icon={Illustrations.ToddWithPhones}
iconWidth={variables.emptySelectionListIconWidth}
iconHeight={variables.emptySelectionListIconHeight}
.

@Pujan92
Copy link
Contributor

Pujan92 commented Dec 13, 2024

The minHeight65 root cause in EmptySelectionListContent and adding ScrollView for the emptycontent as mentioned in @mkzie2's proposal looks good to me, I suggest to add ScrollView in EmptySelectionListContent component as a generic solution.

🎀👀🎀 C reviewed

@Pujan92
Copy link
Contributor

Pujan92 commented Dec 13, 2024

🎀👀🎀 C reviewed

Copy link

melvin-bot bot commented Dec 13, 2024

Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 14, 2024
Copy link

melvin-bot bot commented Dec 14, 2024

📣 @mkzie2 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Dec 17, 2024
@mkzie2
Copy link
Contributor

mkzie2 commented Dec 17, 2024

@Pujan92 The PR is ready.

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

Copy link

melvin-bot bot commented Dec 25, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 26, 2024
@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Dec 26, 2024
@melvin-bot melvin-bot bot changed the title [$250] Android - Track Expenses-The "New workspace" button is displayed behind the keyboard [HOLD for payment 2025-01-02] [$250] Android - Track Expenses-The "New workspace" button is displayed behind the keyboard Dec 26, 2024
Copy link

melvin-bot bot commented Dec 26, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 26, 2024
Copy link

melvin-bot bot commented Dec 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.78-6 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 2025-01-02. 🎊

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

Copy link

melvin-bot bot commented Dec 26, 2024

@Pujan92 @anmurali @Pujan92 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants