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 2023-04-07] [$1000] DEV: Preview of the image is showing broken and does not display image #16636

Closed
3 of 6 tasks
kavimuru opened this issue Mar 28, 2023 · 28 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Mar 28, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Go to chat and upload any image.
  2. Press on that image to see preview.

Expected Result:

Preview should be full screen and should show image.

Actual Result:

Web: Preview screen is divided into 2 parts and does not display content and images
Mobile Native: Error (see attachment)

Workaround:

unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number:
Reproducible in staging?: Occurs in Main branch
Reproducible in production?: Occurs in Main branch
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @ArekChr
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679991710703309

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01936dec4fc845c81d
  • Upwork Job ID: 1640771855856402432
  • Last Price Increase: 2023-03-28
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 28, 2023
@kavimuru kavimuru added the Needs Reproduction Reproducible steps needed label Mar 28, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Mar 28, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@situchan situchan mentioned this issue Mar 28, 2023
54 tasks
@trjExpensify
Copy link
Contributor

trjExpensify commented Mar 28, 2023

I can't test this on dev, but seems like we believe it's a regression from this PR. CC: @stitesExpensify @luacmartins @perunt

Adding external but if #14652 goes to staging this becomes a deploy blocker I think.

@trjExpensify trjExpensify added External Added to denote the issue can be worked on by a contributor and removed Needs Reproduction Reproducible steps needed labels Mar 28, 2023
@melvin-bot melvin-bot bot changed the title DEV: Preview of the image is showing broken and does not display image [$1000] DEV: Preview of the image is showing broken and does not display image Mar 28, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new.

@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 28, 2023
@MelvinBot
Copy link

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

@situchan
Copy link
Contributor

Proposal

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

attachment modal views are broken

What is the root cause of that problem?

#14652 caused this regression.

<KeyboardAvoidingView
behavior="padding"
style={styles.w100}
shouldApplyToAndroid
>
{content}
</KeyboardAvoidingView>

KeyboardAvoidingView height is not stretched. Neither flex: 1 nor height: '100%' is added in style.
But we can't simply add these styles because emoji picker doesn't need to be stretched.

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

  • completely remove android specific KeyboardAvoidingView introduced in this PR
  • revert changes in BaseModal (return normal view as before)
  • pass avoidKeyboard={true} to PopoveWithMeasuredContent in EmojiPicker component
    this is to push emoji picker above keyboard on iOS
  • pass statusBarTranslucent={false} to PopoveWithMeasuredContent in EmojiPicker component
    this is to push emoji picker above keyboard on Android

@kavimuru kavimuru added the DeployBlockerCash This issue or pull request should block deployment label Mar 28, 2023
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Mar 28, 2023
@OSBotify
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.

@MelvinBot
Copy link

Current assignee @cristipaval is eligible for the Engineering assigner, not assigning anyone new.

@MelvinBot
Copy link

📣 @SeniorEng! 📣

Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Screen Shot 2022-11-16 at 4 42 54 PM

Format:

Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@kadiealexander
Copy link
Contributor

@situchan recognised that #16641 is a duplicate issue with the same root cause as this issue. @cristipaval @sobitneupane can I assign you both to this one as well to ensure it's covered?

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Mar 29, 2023
@luacmartins
Copy link
Contributor

We reverted the offending PR. This should be fixed once the staging CP is finished.

@luacmartins luacmartins self-assigned this Mar 29, 2023
@stitesExpensify stitesExpensify self-assigned this Mar 29, 2023
@trjExpensify
Copy link
Contributor

Awesome, thanks.

@luacmartins
Copy link
Contributor

We shipped the fix and this is solved. Closing.

@luacmartins luacmartins reopened this Mar 30, 2023
@luacmartins luacmartins removed the DeployBlockerCash This issue or pull request should block deployment label Mar 30, 2023
@luacmartins
Copy link
Contributor

Reopening to process payments

@luacmartins luacmartins added Daily KSv2 and removed Hourly KSv2 labels Mar 30, 2023
@trjExpensify
Copy link
Contributor

@ArekChr can you apply here on Upwork please, so I can pay you for the bug report? Thanks! https://www.upwork.com/jobs/~01936dec4fc845c81d

@cristipaval
Copy link
Contributor

Hey @trjExpensify! @ArekChr is from Callstack.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Mar 31, 2023
@melvin-bot melvin-bot bot changed the title [$1000] DEV: Preview of the image is showing broken and does not display image [HOLD for payment 2023-04-07] [$1000] DEV: Preview of the image is showing broken and does not display image Mar 31, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 31, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.92-2 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 2023-04-07. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Mar 31, 2023

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:

@trjExpensify
Copy link
Contributor

Ah, right. Duh!

Reopening to process payments

@luacmartins we're all good here, yeah?

@luacmartins
Copy link
Contributor

If we paid everyone out, then we are good!

@trjExpensify
Copy link
Contributor

Ha, well there's no-one to pay out I don't think? 😅

@luacmartins
Copy link
Contributor

Ah just saw the previous comments. All good then! Closing.

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. Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2
Projects
None yet
Development

No branches or pull requests

10 participants