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-05-22] [$250] [QBO] Accounting - "Set up" button is top aligned in respective to "QBO" wording #41301

Closed
2 of 6 tasks
izarutskaya opened this issue Apr 30, 2024 · 29 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

@izarutskaya
Copy link

izarutskaya commented Apr 30, 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: 1.4.68-0
Reproducible in staging?: Y
Reproducible in production?: No, new feature
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Launch New Expensify app.
  2. Go to Account settings > Workspaces > any workspace.
  3. Go to Accounting.

Expected Result:

"Set up" button should be centered in respective to "QBO" wording (like the button with Xero).

Actual Result:

"Set up" button is top aligned in respective to "QBO" wording.

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

Bug6466194_1714450631386!IMG_68C97308C675-1

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018936c575f9a5757c
  • Upwork Job ID: 1785460764337295360
  • Last Price Increase: 2024-05-01
  • Automatic offers:
    • neonbhai | Contributor | 0
Issue OwnerCurrent Issue Owner: @CortneyOfstad
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 30, 2024
Copy link

melvin-bot bot commented Apr 30, 2024

Triggered auto assignment to @CortneyOfstad (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 Apr 30, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 30, 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.

@izarutskaya
Copy link
Author

@CortneyOfstad 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.

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@izarutskaya
Copy link
Author

Production
Screenshot_20240430_105819_New Expensify

@neonbhai
Copy link
Contributor

neonbhai commented Apr 30, 2024

Proposal

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

"Set up" button is top aligned in respective to "QBO" wording

What is the root cause of that problem?

We are missing styles.justifyContentCenter on the set up button in ConnectToQuickbooksOnlineButton here:

<Button
onPress={() => {
if (shouldDisconnectIntegrationBeforeConnecting && integrationToDisconnect) {
setIsDisconnectModalOpen(true);
return;
}
setWebViewOpen(true);
}}
text={translate('workspace.accounting.setup')}
small
/>

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

We will add:

import useThemeStyles from '@hooks/useThemeStyles';
...
const styles = useThemeStyles();

Then:

style={styles.justifyContentCenter}

here:

<Button
onPress={() => {
if (shouldDisconnectIntegrationBeforeConnecting && integrationToDisconnect) {
setIsDisconnectModalOpen(true);
return;
}
setWebViewOpen(true);
}}
text={translate('workspace.accounting.setup')}
small
/>

Result

This works perfectly

Before Screenshot 2024-04-30 at 2 43 14 PM
After Screenshot 2024-04-30 at 2 42 52 PM

@francoisl
Copy link
Contributor

QBO is still behind a beta, not a blocker.

cc @hayata-suenaga @aldo-expensify

@francoisl francoisl removed the DeployBlockerCash This issue or pull request should block deployment label Apr 30, 2024
@aldo-expensify aldo-expensify added Daily KSv2 and removed Hourly KSv2 Daily KSv2 labels Apr 30, 2024
@hayata-suenaga hayata-suenaga added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 30, 2024
@danieldoglas danieldoglas added the External Added to denote the issue can be worked on by a contributor label May 1, 2024
Copy link

melvin-bot bot commented May 1, 2024

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

@melvin-bot melvin-bot bot changed the title Accounting - "Set up" button is top aligned in respective to "QBO" wording [$250] Accounting - "Set up" button is top aligned in respective to "QBO" wording May 1, 2024
Copy link

melvin-bot bot commented May 1, 2024

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

@hayata-suenaga hayata-suenaga changed the title [$250] Accounting - "Set up" button is top aligned in respective to "QBO" wording [QBO] [$250] Accounting - "Set up" button is top aligned in respective to "QBO" wording May 2, 2024
@hayata-suenaga hayata-suenaga changed the title [QBO] [$250] Accounting - "Set up" button is top aligned in respective to "QBO" wording [$250] [QBO] Accounting - "Set up" button is top aligned in respective to "QBO" wording May 2, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 2, 2024
Copy link

melvin-bot bot commented May 2, 2024

📣 @neonbhai 🎉 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 📖

@neonbhai
Copy link
Contributor

neonbhai commented May 5, 2024

Raising PR soon!

@CortneyOfstad
Copy link
Contributor

@neonbhai can you provide an update on the PR by end of day today? Thanks!

@neonbhai
Copy link
Contributor

neonbhai commented May 7, 2024

PR ready for review!

@CortneyOfstad
Copy link
Contributor

Wasn't deployed the staging yet 👍

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 15, 2024
@melvin-bot melvin-bot bot changed the title [$250] [QBO] Accounting - "Set up" button is top aligned in respective to "QBO" wording [HOLD for payment 2024-05-22] [$250] [QBO] Accounting - "Set up" button is top aligned in respective to "QBO" wording May 15, 2024
Copy link

melvin-bot bot commented May 15, 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 May 15, 2024
Copy link

melvin-bot bot commented May 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.73-7 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-05-22. 🎊

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

Copy link

melvin-bot bot commented May 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:

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

@CortneyOfstad
Copy link
Contributor

@Santhosh-Sellavel can you have the checklist above completed as soon as you can? This will help avoid any delays in payment — thank you!

@Santhosh-Sellavel
Copy link
Collaborator

@neonbhai Can you help me with where this got broken? This implementation PR and it was right, somewhere it got broken. Can you give a look?

@neonbhai
Copy link
Contributor

neonbhai commented May 16, 2024

@Santhosh-Sellavel hi, the style got deleted as part of this this commit in #40277

@Santhosh-Sellavel
Copy link
Collaborator

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:

  • [@Santhosh-Sellavel] The PR that introduced the bug has been identified. Link to the PR: Xero authentication flow #40277
  • [@Santhosh-Sellavel] 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: a880061#r1608696318
  • [@Santhosh-Sellavel] 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 Should be caught while testing
  • [@Santhosh-Sellavel] Determine if we should create a regression test for this bug. N/A Simple UI Polish
  • [@Santhosh-Sellavel] 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.
  • [@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 21, 2024
@CortneyOfstad
Copy link
Contributor

Payment Summary

@neonbhai — paid $250 via Upwork
@Santhosh-Sellavel — to be paid $250 via NewDot

@Santhosh-Sellavel
Copy link
Collaborator

Requested on ND

@JmillsExpensify
Copy link

$250 approved for @Santhosh-Sellavel

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
No open projects
Archived in project
Development

No branches or pull requests

10 participants