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

[$250] Report field - Report field items are selectable with no action when imported via connection #46717

Closed
3 of 6 tasks
lanitochka17 opened this issue Aug 2, 2024 · 32 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Monthly KSv2 Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Aug 2, 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: 9.0.16-0
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:

Precondition:

  • Workspace is connected to Sage Intacct
  • Locations data is imported as report fields in Accounting > Import > Locations
  1. Launch New Expensify app
  2. Go to workspace settings
  3. Go to Report fields
  4. Tap on the checkbox
  5. Tap on the report field
  6. Long press on the list value
  7. Tap Select

Expected Result:

In Step 4, checkbox should not appear in report field list
In Step 6, no action should be triggered when long pressing on the list value

Actual Result:

In Step 4, checkbox appears in report field list
In Step 6, Select option is present when long pressing on the list value
In Step 7, after selecting "Select" option, the list value is selected but no action is available
This issue only happens when report fields are imported via connection

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

Bug6559927_1722574318836.ScreenRecording_08-02-2024_12-46-09_1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0113fbb6b53117c482
  • Upwork Job ID: 1820803224934120203
  • Last Price Increase: 2024-08-13
  • Automatic offers:
    • suneox | Reviewer | 103526879
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 2, 2024
Copy link

melvin-bot bot commented Aug 2, 2024

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

We think that this bug might be related to #wave-control

@lanitochka17
Copy link
Author

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

@zanyrenney
Copy link
Contributor

cc @ryanldonato @yuwenmemon @lakchote

You might want to add this to the list of Polish items/handle internally!

@melvin-bot melvin-bot bot removed the Overdue label Aug 5, 2024
@zanyrenney zanyrenney added the External Added to denote the issue can be worked on by a contributor label Aug 6, 2024
@melvin-bot melvin-bot bot changed the title Report field - Report field items are selectable with no action when imported via connection [$250] Report field - Report field items are selectable with no action when imported via connection Aug 6, 2024
Copy link

melvin-bot bot commented Aug 6, 2024

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

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

melvin-bot bot commented Aug 6, 2024

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

Copy link

melvin-bot bot commented Aug 9, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Aug 9, 2024
@suneox
Copy link
Contributor

suneox commented Aug 10, 2024

We're still looking proposal

@melvin-bot melvin-bot bot removed the Overdue label Aug 10, 2024
Copy link

melvin-bot bot commented Aug 13, 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 13, 2024
Copy link

melvin-bot bot commented Aug 13, 2024

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

@suneox
Copy link
Contributor

suneox commented Aug 14, 2024

We’re still looking for proposals. I’ve posted issue on slack to get more eyes

@melvin-bot melvin-bot bot removed the Overdue label Aug 14, 2024
@hungvu193
Copy link
Contributor

hungvu193 commented Aug 14, 2024

Look like this required SageIntacct credentials. I can take a look 😄

@suneox
Copy link
Contributor

suneox commented Aug 14, 2024

Look like this required SageIntacct credentials. I can take a look 😄

@hungvu193 sure, waiting for @zanyrenney to reassign

@daledah
Copy link
Contributor

daledah commented Aug 14, 2024

Edited by proposal-police: This proposal was edited at 2024-08-14 05:12:17 UTC.

Proposal

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

  1. Selection mode is enabled even if there's no actions in report fields page
  2. Same problem in report field values page but selection only on long press

What is the root cause of that problem?

  1. canSelectMultiple is always true if hasAccountingConnections:

const canSelectMultiple = !hasAccountingConnections && shouldUseNarrowLayout ? selectionMode?.isEnabled : true;

but we hide the header buttons (actions) if hasAccountingConnections:

{!shouldUseNarrowLayout && !hasAccountingConnections && getHeaderButtons()}

  1. This attribute is always true:

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

  1. We should completely disable selection mode if we had accounting connections because there's no corresponding actions on selection:
  • Reuse the below logic, note to replace isSmallScreenWidth with shouldUseNarrowLayout:

const canSelectMultiple = !hasAccountingConnections && (isSmallScreenWidth ? selectionMode?.isEnabled : true);

  • Set this to !hasAccountingConnections as well to prevent selection on long press:

  1. Do the same for ReportFieldsListValuesPage

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

melvin-bot bot commented Aug 19, 2024

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

Copy link

melvin-bot bot commented Aug 19, 2024

📣 @daledah 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 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Aug 20, 2024
@hungvu193
Copy link
Contributor

@zanyrenney This issue is now ready for payment I believe

@zanyrenney
Copy link
Contributor

@hungvu193 @daledah invited you both to the job.

@zanyrenney
Copy link
Contributor

payment summary

@daledah owed $250 awaiting upwork acceptance
@hungvu193 owed $250 paid via ND.

@hungvu193
Copy link
Contributor

Requested on ND

@garrettmknight
Copy link
Contributor

$250 approved for @hungvu193

@daledah
Copy link
Contributor

daledah commented Oct 1, 2024

@daledah owed $250 awaiting upwork acceptance

@zanyrenney Sorry missed this, I applied to the job

@dylanexpensify dylanexpensify moved this to Release 3: Fall 2024 (Nov) in [#whatsnext] #expense Oct 18, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Oct 24, 2024
Copy link

melvin-bot bot commented Oct 24, 2024

This issue has not been updated in over 15 days. @hungvu193, @grgia, @zanyrenney, @daledah eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@hungvu193
Copy link
Contributor

Let's close this one 😄

@github-project-automation github-project-automation bot moved this from Bugs and Follow Up Issues to Done in [#whatsnext] #expense Nov 21, 2024
@daledah
Copy link
Contributor

daledah commented Jan 21, 2025

@zanyrenney Sorry missed this, I applied to the job

@zanyrenney I haven't beed paid here, could you reopen the issue to handle it, thx

@zanyrenney
Copy link
Contributor

Hey @daledah - paid this all out now.

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. External Added to denote the issue can be worked on by a contributor Monthly KSv2 Reviewing Has a PR in review
Projects
Status: Done
Development

No branches or pull requests

8 participants