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

[$500] Android- Workspace- Unable to open workspaces that out of view after creating new workspace #45738

Closed
1 of 6 tasks
lanitochka17 opened this issue Jul 19, 2024 · 43 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 19, 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.9.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
Issue reported by: Applause - Internal Team

Action Performed:

  1. Open the app and log in with an account that has several workspaces > 5 or create them
  2. Navigate to the account settings > Workspaces
  3. Create a new workspace
  4. Return to the list of workspaces
  5. Scroll down until the first 4 workspaces out of view
  6. Open any workspace that in a view

Expected Result:

User is able to open any workspace

Actual Result:

User is unable to open workspaces that require to scroll to get accessed after creating a new workspace

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

Bug6546506_1721327150029.video_2024-07-18_14-24-13.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012f764fe91b1e3b3b
  • Upwork Job ID: 1814333041047712558
  • Last Price Increase: 2024-08-15
Issue OwnerCurrent Issue Owner: @parasharrajat
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 19, 2024
Copy link

melvin-bot bot commented Jul 19, 2024

Triggered auto assignment to @puneetlath (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
Copy link
Author

@puneetlath 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

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

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

melvin-bot bot commented Jul 19, 2024

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

@melvin-bot melvin-bot bot changed the title Android- Workspace- Unable to open workspaces that out of view after creating new workspace [$250] Android- Workspace- Unable to open workspaces that out of view after creating new workspace Jul 19, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 19, 2024
Copy link

melvin-bot bot commented Jul 19, 2024

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

Copy link

melvin-bot bot commented Jul 22, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Jul 22, 2024
@kabeer95
Copy link

Proposal

Problem Statement

After creating a new workspace, users are unable to open workspaces that are out of view, requiring scrolling to access them.

Root Cause

The root cause of this problem is that the code is not properly updating the workspace list after creating a new workspace, causing the out-of-view workspaces to become inaccessible.

##Proposed Solution
To solve this problem, I propose updating the code to ensure that the workspace list is properly updated after creating a new workspace, allowing users to access all workspaces, including those that are out of view.

Changes To implement this solution, we need to make the following changes:

// Update the workspace list after creating a new workspace
public void createNewWorkspace(Workspace newWorkspace) {
    // Add the new workspace to the list
    workspaces.add(newWorkspace);
    
    // Refresh the workspace list
    workspaceListAdapter.notifyDataSetChanged();
}

// Ensure the workspace list is refreshed after creating a new workspace
public void onResume() {
    super.onResume();
    workspaceListAdapter.notifyDataSetChanged();
}

Expected Result

Users should be able to open any workspace, including those that are out of view, after creating a new workspace.

Actual Result

Users are unable to open workspaces that require scrolling to access after creating a new workspace.

Alternative Solutions

Implementing a lazy loading mechanism to load workspaces only when they come into view, but this may cause performance issues.
Using a different data structure to store the workspace list, but this may require significant changes to the existing codebase.

@parasharrajat
Copy link
Member

@kabeer95 Please use the standard template as it is.

@melvin-bot melvin-bot bot removed the Overdue label Jul 22, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Jul 26, 2024
@puneetlath
Copy link
Contributor

Still waiting for proposals.

Copy link

melvin-bot bot commented Jul 26, 2024

@puneetlath, @parasharrajat Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@parasharrajat
Copy link
Member

Need more proposals.

@melvin-bot melvin-bot bot removed the Overdue label Jul 26, 2024
@puneetlath puneetlath changed the title [$250] Android- Workspace- Unable to open workspaces that out of view after creating new workspace [$500] Android- Workspace- Unable to open workspaces that out of view after creating new workspace Jul 29, 2024
@melvin-bot melvin-bot bot added the Overdue label Jul 29, 2024
Copy link

melvin-bot bot commented Jul 29, 2024

Upwork job price has been updated to $500

@Kureev
Copy link
Contributor

Kureev commented Jul 30, 2024

Hi, I'm Alexey from Margelo, an expert agency and I can work on this issue.

Prev worked on:

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

melvin-bot bot commented Aug 12, 2024

@puneetlath, @Kureev, @parasharrajat Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Aug 12, 2024
@CyberAndrii
Copy link
Contributor

FYI, I can reproduce this and have a guess at what it could be. I'll test it tomorrow and let you all know.

@parasharrajat
Copy link
Member

Awesome, let us know.

@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2024
@CyberAndrii
Copy link
Contributor

I think it is similar to facebook/react-native#44643 and facebook/react-native#36504. Using onPressIn or onPressOut here seems to fix it, but it isn't a valid solution in this case. I'm not sure if I'll be able to help with this any further, so feel free to have someone else take this on.

Copy link

melvin-bot bot commented Aug 15, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Aug 15, 2024
@puneetlath
Copy link
Contributor

@Kureev have you had a chance to look at it?

Copy link

melvin-bot bot commented Aug 16, 2024

@puneetlath @Kureev @parasharrajat this issue is now 4 weeks old, please consider:

  • Finding a contributor to fix the bug
  • Closing the issue if BZ has been unable to add the issue to a VIP or Wave project
  • If you have any questions, don't hesitate to start a discussion in #expensify-open-source

Thanks!

Copy link

melvin-bot bot commented Aug 16, 2024

@puneetlath, @Kureev, @parasharrajat Whoops! This issue is 2 days overdue. Let's get this updated quick!

@chrispader
Copy link
Contributor

i'm going to take this over from @Kureev, because he is busy with other tasks right now

@parasharrajat
Copy link
Member

Sounds good @chrispader. Looking forward to it.

@melvin-bot melvin-bot bot removed the Overdue label Aug 19, 2024
@puneetlath puneetlath assigned chrispader and unassigned Kureev Aug 19, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
@chrispader
Copy link
Contributor

chrispader commented Aug 20, 2024

I cannot reproduce this on main on neither of two physical Android devices:

Samsung S10e:

Screen_Recording_20240820_115311_New.Expensify.Dev.mp4

Huawei P smart 2019:

FILE.2024-08-20.11_51_18.mov

@parasharrajat
Copy link
Member

@chrispader Is there any specific that you need from tester @lanitochka17 to be able to reproduce this?

@chrispader
Copy link
Contributor

@lanitochka17 are there any more steps i need to make in order to be able to reproduce this?

@lanitochka17
Copy link
Author

@parasharrajat @chrispader the same steps mentioned in the OP. Issue is still reproduce

video_2024-08-20_12-01-24.mp4

accounts: [email protected] (the one I tested today) and [email protected] (the one from the OP)

@chrispader
Copy link
Contributor

Still not reproducible on my accounts with the following devices:

  • Samsung S10e (Android 12)
  • Huawei P smart 2019 (Android 11)
  • Samsung S21 (Android 14)

@parasharrajat @lanitochka17 is it possible to provide me a different account or one of either [email protected] or [email protected]?

@melvin-bot melvin-bot bot added the Overdue label Aug 22, 2024
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

Copy link

melvin-bot bot commented Aug 23, 2024

@puneetlath, @chrispader, @parasharrajat Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Aug 27, 2024

@puneetlath, @chrispader, @parasharrajat 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@puneetlath
Copy link
Contributor

Given that QA is also saying it's no longer reproducible, I'm going to go ahead and close this out. Thanks everyone.

@melvin-bot melvin-bot bot removed the Overdue label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Status: Done
Development

No branches or pull requests

8 participants