-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-13] [$1000] Tooltip isn’t shown in previous or next arrow while viewing images ( in web) #16721
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~017dee6b921c17a9dc |
Current assignee @flaviadefaria is eligible for the External assigner, not assigning anyone new. |
Added the external label. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @NikkiWines ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tooltip isn’t shown in previous or next arrow while viewing images ( in web) What is the root cause of that problem?Both left and right button rendered via code below. We can see there is no Tooltip for left (line 166-174) and right (line 177-185) button. So this it the root cause of the problem i.e. Tooltip not shown. App/src/components/AttachmentCarousel/index.js Lines 165 to 186 in c327eb2
What changes do you think we should make in order to solve the problem?Here left/right button positioned via absolute position. So we have to use View and move {!this.state.isBackDisabled && (
<View style={styles.leftAttachmentArrow}>
<Tooltip text={this.props.translate('common.previous')}>
<Button
medium
//style={[styles.leftAttachmentArrow]} // *** Moved style to View ***
innerStyles={[styles.arrowIcon]}
icon={Expensicons.BackArrow}
iconFill={themeColors.text}
iconStyles={[styles.mr0]}
onPress={() => this.cycleThroughAttachments(-1)}
/>
</Tooltip>
</View>
)}
{!this.state.isForwardDisabled && (
<View style={styles.rightAttachmentArrow}>
<Tooltip text={this.props.translate('common.next')}>
<Button
medium
//style={[styles.rightAttachmentArrow]} // *** Moved style to View ***
innerStyles={[styles.arrowIcon]}
icon={Expensicons.ArrowRight}
iconFill={themeColors.text}
iconStyles={[styles.mr0]}
onPress={() => this.cycleThroughAttachments(1)}
/>
</Tooltip>
</View>
)} Within // OLD CODE
// export default withOnyx({
// reportActions: {
// key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,
// canEvict: false,
// },
// })(AttachmentCarousel);
// New code with compose
export default compose(
withOnyx({
reportActions: {
key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,
canEvict: false,
},
}),
withLocalize,
)(AttachmentCarousel); Within common: {
...,
next: 'Next', // **** Already exist
previous: 'Previous', // **** Not exist, So we have to add
...
} Within common: {
...,
next: 'Siguiente', // **** Already exist
previous: 'Previo', // **** Not exist, So we have to add
...
} Note: Spanish translation What alternative solutions did you explore? (Optional)None ResultTooltipPrevNext.mov |
📣 @DeriFirgiawan! 📣 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.
Format:
|
@DeriFirgiawan I can see this is your first time contributing, welcome. Do go through the Contribution Guidelines once. It isn't recommended to post code diffs in your proposal, try to explain what changes you want to propose in plain English. Cheers. |
@DeriFirgiawan Please go Contribution Guidelines and understand process. Avoid posting redundant proposals. Follow our proposal guidelines in the future thanks. |
@NikkiWines this is a fairly straightforward one, let's go with @PrashantMangukiya proposal here.
Could have explained this one briefly, no need to include the whole code & diffs here, thanks! |
@Santhosh-Sellavel got it. Thanks. |
Waiting for @NikkiWines to assign project, So thereafter we can proceed to create pr. |
@NikkiWines, @flaviadefaria, @Santhosh-Sellavel Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@NikkiWines are we good to assign them? |
Sorry, missed this assignment on Friday. Agreed with @Santhosh-Sellavel that @PrashantMangukiya's proposal looks good! Feel free to assign them @flaviadefaria 🙇 |
📣 @PrashantMangukiya You have been assigned to this job by @flaviadefaria! |
@NikkiWines @Santhosh-Sellavel PR is ready for review. |
@NikkiWines or @flaviadefaria Can anyone confirm Spanish copy is good? |
We should use |
@NikkiWines Thanks for the Spanish copy. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.95-0 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-13. 🎊 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:
|
Ping for Upwork |
Ping For Upwork. |
Sorry I was OoO, this had a weekly priority so I didn't reassign it. I'll get to ti by tomorrow at the latest. |
@PrashantMangukiya @Santhosh-Sellavel $1000 + $500 bonus = $1500 payment for both I believe we'll need a regression test for this, @Santhosh-Sellavel can you please propose the the regression test steps? Thanks! |
@flaviadefaria Offer accepted on Upwork. |
Thanks accepted! |
Regression StepsSteps from PR look good to me
|
All done, closing! |
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:
Expected Result:
Tooltip over hover in previous/next icons would be more user friendly.
Actual Result :
Tooltip isn’t shown over hover on previous/next button..
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.91-1
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-03-28.at.2.10.46.PM.mov
Recording.94.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ashimsharma10
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679992234712929
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: