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-04-05] [$125] Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state #38807

Closed
luacmartins opened this issue Mar 22, 2024 · 26 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 External Added to denote the issue can be worked on by a contributor

Comments

@luacmartins
Copy link
Contributor

luacmartins commented Mar 22, 2024

Problem

Offline indicator does not show at the bottom of the page on the Workflows page and for Categories and Tags when showing the empty list component

Screenshot 2024-03-22 at 8 45 01 AM
Screenshot 2024-03-22 at 8 45 36 AM
Screenshot 2024-03-22 at 8 45 40 AM

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01e4a7a9c86981e817
  • Upwork Job ID: 1771187226329485312
  • Last Price Increase: 2024-03-22
  • Automatic offers:
    • GandalfGwaihir | Contributor | 0
@luacmartins luacmartins added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 22, 2024
@luacmartins luacmartins self-assigned this Mar 22, 2024
Copy link

melvin-bot bot commented Mar 22, 2024

Triggered auto assignment to @kadiealexander (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

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

melvin-bot bot commented Mar 22, 2024

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

@melvin-bot melvin-bot bot changed the title Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state [$500] Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state Mar 22, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 22, 2024
Copy link

melvin-bot bot commented Mar 22, 2024

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

@luacmartins luacmartins changed the title [$500] Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state [$125] Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state Mar 22, 2024
Copy link

melvin-bot bot commented Mar 22, 2024

Upwork job price has been updated to $125

@bernhardoj
Copy link
Contributor

I think this is a dupe of #37721?

@askavyblr
Copy link

askavyblr commented Mar 22, 2024

Proposal

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

The offline indicator is not displayed at the bottom of the Workflows page, nor is it shown for Categories and Tags when the empty list component is presented.

What is the root cause of that problem?

offlineIndicatorStyle prop is missing in ScreenWrapper

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

<ScreenWrapper
includeSafeAreaPaddingBottom={false}
style={[styles.defaultModalContainer]}
testID={WorkspaceCategoriesPage.displayName}
shouldShowOfflineIndicatorInWideScreen

need to pass offlineIndicatorStyle in ScreenWrapper, the same thing repeats for Workflows and tag page

What alternative solutions did you explore? (Optional)

N/A

@allgandalf
Copy link
Contributor

Proposal

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

Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state

What is the root cause of that problem?

We do not pass offlineIndicatorStyle in ScreenWrapper:

<ScreenWrapper
includeSafeAreaPaddingBottom={false}
style={[styles.defaultModalContainer]}
testID={WorkspaceCategoriesPage.displayName}
shouldShowOfflineIndicatorInWideScreen
>

<ScreenWrapper
includeSafeAreaPaddingBottom={false}
style={[styles.defaultModalContainer]}
testID={WorkspaceTagsPage.displayName}
shouldShowOfflineIndicatorInWideScreen
>

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

We need to pass offlineIndicatorStyle={styles.mtAuto} to ScreenWrapper

Result

image

@allgandalf
Copy link
Contributor

allgandalf commented Mar 22, 2024

I think this is a dupe of #37721?

Note

the linked issue is for workflow page which will be solved by a different approach (Moving away from flatlist and using scrollView) by that issue, this issue is for Categories and tags Page :)

@luacmartins
Copy link
Contributor Author

I think we should cover the categories/tags page here since that's not covered in that issue

@luacmartins
Copy link
Contributor Author

Both @askavyblr and @GandalfGwaihir have pretty similar solutions so I'm gonna go with the first proposal by @askavyblr

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

melvin-bot bot commented Mar 22, 2024

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

@allgandalf
Copy link
Contributor

@luacmartins they edited their proposal after me

@allgandalf
Copy link
Contributor

This is what their initial proposal was:
image

Then i posted my proposal at 10:06pm IST :
image

Then they duped my proposal at 10:26 pm IST :
image

image

@allgandalf
Copy link
Contributor

c.c. @luacmartins @eVoloshchak

@luacmartins luacmartins assigned allgandalf and unassigned askavyblr Mar 22, 2024
@luacmartins
Copy link
Contributor Author

Thanks for pointing that out @GandalfGwaihir and sorry that I missed that! I'll assign you to the job!

Copy link

melvin-bot bot commented Mar 22, 2024

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

@luacmartins
Copy link
Contributor Author

luacmartins commented Mar 22, 2024

@askavyblr if you edit your proposal, you should post another comment mentioning that it was edited. From our contributing guidelines:

  • If you want to make an entirely new proposal or update an existing proposal, please go back and edit your original proposal, then post a new comment to the issue in this format to alert everyone that it has been updated:

Please follow this procedure next time.

@allgandalf
Copy link
Contributor

PR ready for review @eVoloshchak

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 29, 2024
@melvin-bot melvin-bot bot changed the title [$125] Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state [HOLD for payment 2024-04-05] [$125] Offline indicator is not at bottom of page on Workflows, and Categories, Tags empty state Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 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 Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

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

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

Copy link

melvin-bot bot commented Mar 29, 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:
  • [@GandalfGwaihir] Determine if we should create a regression test for this bug.
  • [@GandalfGwaihir] 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.
  • [@kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@kadiealexander
Copy link
Contributor

@GandalfGwaihir please don't forget the checklist!

@kadiealexander kadiealexander added Daily KSv2 and removed Weekly KSv2 labels Apr 5, 2024
@allgandalf
Copy link
Contributor

actually @eVoloshchak is the C+ here , i’m C, melvin messes up sometimes 😆

@allgandalf
Copy link
Contributor

Or no they were unassigned, @luacmartins reviewed the PR themself

@luacmartins
Copy link
Contributor Author

This feature was in development at the time, so I don't think the checklist is applicable.

@kadiealexander
Copy link
Contributor

kadiealexander commented Apr 7, 2024

Payouts due:

  • Contributor: $125 @GandalfGwaihir

Upwork job is here.

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

6 participants