-
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-07-10] [$1000] Web - site preview is still visible after flag as intimidation #21195
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - message was hide but site preview is visible even after flag as intimidation What is the root cause of that problem?The problem is that the message is being hidden within the ReportActionItemMessage which doesn't include LinkPreviewer and so even when the message is hidden, LinkPreviewer is left visible because it has no rule to include it in the hidden section of the report item. App/src/pages/home/report/ReportActionItem.js Lines 332 to 334 in e6c2704
What changes do you think we should make in order to solve the problem?We need to include a rule to hide the LinkPreviewer when the message is supposed to be hidden. {!isHidden && !_.isEmpty(props.action.linkMetadata) && (
...rest of the code ResultScreen.Recording.2023-06-20.at.5.56.14.PM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Website previewer is not hidden after a report is flagged What is the root cause of that problem?The rendering of the LinkPreviewer is independent of the ReportActionItemMessage, which will be rendered based on the condition of !props.isHidden. However, the LinkPreviewer does not have this check. Here: App/src/pages/home/report/ReportActionItem.js Line 334 in e6c2704
What changes do you think we should make in order to solve the problem?There are two ways of solving this issue
This will insure the LinkPreviewer is rendered under the condition and also fixes the order of the link and reveal button. This is what it will look like if we just add the check leaving it the place it is currently/ Moving below/inside ReportActionItemMessage
Both solution will make sure, the LinkPreviewer will be hidden after the flag and while editing, keeping the right order. What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~011945ec2304a37d15 |
Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
@eVoloshchak do you think it's the same as this? #21191 |
This comment was marked as off-topic.
This comment was marked as off-topic.
📣 @popcorn-del! 📣
|
@eVoloshchak what do you think about the proposals above? |
I think we should proceed with @AmjedNazzal's proposal here 🎀👀🎀 C+ reviewed! |
@eVoloshchak any comment in my proposal? I have improved the UI it looks weird when the preview is below the hide/show button |
📣 @AmjedNazzal You have been assigned to this job by @laurenreidexpensify! |
Thank you! applied on upwork and PR will be ready within a couple of hours. |
@eVoloshchak PR ready for review. |
Triggered auto assignment to @pecanoro ( |
@getusha, while I agree the improved UI is nice, the main fix for this issue was proposed by @AmjedNazzal first. While improvements are always welcome of course, the difference between proposals should be important, meaningful or considerable (source) |
Thanks for your response, I believe the difference is considerable that's why i proposed it after @AmjedNazzal's proposal, i proposed to move it inside ReportActionItemMessage which doesn't require the condition, and if the improvement is needed isn't the change considerable? |
Fix - Web - site preview is still visible after flag as intimidation #21195
🎯 ⚡️ Woah @eVoloshchak / @AmjedNazzal, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
@getusha, we didn't implement the UI changes, so this change wasn't needed. I'd consider that an improvement, while this issue is definitely a bug |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-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 2023-07-10. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@AmjedNazzal and @niravkakadiya25 have been paid in Upwork 👍 @eVoloshchak pls accept the contract and let me know steps above re regression testing so we can issue payment and close this one out, thanks! |
Thank you! |
|
Regression Test Proposal
Do we agree 👍 or 👎 |
@laurenreidexpensify, I've requested the payment for this via NewDot |
@anmurali am assigning you for @eVoloshchak's C+ payment |
ok
…On Tue, 11 Jul 2023 at 00:54, laurenreidexpensify ***@***.***> wrote:
@anmurali <https://github.com/anmurali> am assigning you for @eVoloshchak
<https://github.com/eVoloshchak>'s C+ payment
—
Reply to this email directly, view it on GitHub
<#21195 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BACOQIEW5BGDT25NTLNYROTXPUBEZANCNFSM6AAAAAAZOUXL3Y>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Site preview should also hide after the message is flagged as intimidation
Actual Result:
Site preview is showing even after flagged as intimidation. Message was hidden but site preview is still visible.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.27-6
Reproducible in staging?: y
**Reproducible in production?:**y
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
Screen.Recording.2023-06-14.at.2.48.21.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @niravkakadiya25
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686734496202909
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: