-
Notifications
You must be signed in to change notification settings - Fork 3k
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-11-27] [$500] PDF preview - Eye icon to show password on password protected PDF file is not working #31101
Comments
Job added to Upwork: https://www.upwork.com/jobs/~017fc5a55459d7aad0 |
Triggered auto assignment to @peterdbarkerUK ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Issue is not reproducible in production 20231109_150413.mp4 |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @danieldoglas ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.PDF preview - Eye icon to show password on password protected PDF file is not working What is the root cause of that problem?This issue is introduced by #24482 where App/src/styles/pointerEventsBoxNone/index.ts Lines 3 to 5 in 8c3e3bc
But they are not exactly the same thing and we don't have .box-none {
pointer-events: none;
}
.box-none * {
pointer-events: auto;
} What changes do you think we should make in order to solve the problem?We should revert this change and just apply What alternative solutions did you explore? (Optional) |
@alitoshmatov's proposal is correct. Not sure if this would be treated as a Deploy Blocker. @danieldoglas let me know we're okay to proceed with the proposal or solve as a regression. |
From https://github.com/necolas/react-native-web/releases/tag/0.19.0
...
But as we can see https://reactnative.dev/docs/view-style-props#pointerevents is not deprecated in |
@getusha can you please check this? |
There is a box-none value e.g. https://github.com/necolas/react-native-web/blob/a3ea2a0a4fd346a1b32e6cef527878c8e433eef8/packages/react-native-web/src/exports/AppRegistry/AppContainer.js#L53 I doubt they will add it if it doesn't exist. |
I'm available to raise a fix PR immediately if assigned, this is a pretty serious issue. ProposalPlease re-state the problem that we are trying to solve in this issue.The eye icon is not responsive, does nothing. This starts appearing after this PR is merged What is the root cause of that problem?There's a What changes do you think we should make in order to solve the problem?Fix upstream in RN web, update to the pattern This is recommended in the RN doc as well https://reactnative.dev/docs/view#pointerevents. In the meantime when the fix is not yet merged to upstream, we can create a fork/a patch-package change to apply it in our App code. What alternative solutions did you explore? (Optional)The |
@mananjadhav please consider my proposal above as well, thanks! |
I think we can fix this by simply adding |
it will work but it's a workaround |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.0-3 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-11-27. 🎊 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.
For reference, here are some details about the assignees on this issue:
|
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:
|
Payment summary:
|
@mananjadhav could you review the regression checklist? This feels like something we should add to TestRail |
I think we have the PR here as the offending PR. Though I think this would've been difficult to detect considering it was an external package upgrade. I agree we should add a regression test for this one. The Test steps from the PR look good to me. wdyt @danieldoglas @peterdbarkerUK ? |
$500 payment approved for @mananjadhav based on this comment. |
Agreed we should make this a regression test @peterdbarkerUK |
Agreed! Dashing out, will take care of it tomorrow |
@JmillsExpensify, @mananjadhav, @danieldoglas, @peterdbarkerUK, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I need to hard-prioritise something else today, so this will now be a Wednesday job. |
Blackholing a star notification |
@JmillsExpensify, @mananjadhav, @danieldoglas, @peterdbarkerUK, @tienifr Eep! 4 days overdue now. Issues have feelings too... |
Ooop, I had this all written out and never hit submit, I clearly got distracted end of last week. All done! |
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: 1.3.97-1
Reproducible in staging?: Y
Reproducible in production?: N
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
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:
Pre-requisite: user should be logged in and must have sent a password protected PDF to any chat.
Expected Result:
The password should be revealed and visible to the user.
Actual Result:
The eye icon is not responsive, does nothing.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6269631_1699514072739.Daso5632_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @peterdbarkerUKThe text was updated successfully, but these errors were encountered: