-
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 regression test] [$1000] Tooltip not shown for emoji picker button on hover the outer part, it only shown for hovering the icon #13455
Comments
Triggered auto assignment to @kadiealexander ( |
Proposal :- We need to wrap diff --git a/src/components/EmojiPicker/EmojiPickerButton.js b/src/components/EmojiPicker/EmojiPickerButton.js
index 32af3ed59..f199850be 100644
--- a/src/components/EmojiPicker/EmojiPickerButton.js
+++ b/src/components/EmojiPicker/EmojiPickerButton.js
@@ -28,6 +28,7 @@ const defaultProps = {
const EmojiPickerButton = (props) => {
let emojiPopoverAnchor = null;
return (
+ <Tooltip text={props.translate('reportActionCompose.emoji')}>
<Pressable
ref={el => emojiPopoverAnchor = el}
style={({hovered, pressed}) => ([
@@ -39,14 +40,15 @@ const EmojiPickerButton = (props) => {
nativeID={props.nativeID}
>
{({hovered, pressed}) => (
- <Tooltip text={props.translate('reportActionCompose.emoji')}>
+
<Icon
src={Expensicons.Emoji}
fill={StyleUtils.getIconFillColor(getButtonState(hovered, pressed))}
/>
- </Tooltip>
+
)}
</Pressable>
+ </Tooltip>
);
}; After Fix :- Screen.Recording.2022-12-09.at.5.36.35.AM.mov |
From this SO: https://stackoverflow.com/c/expensify/questions/14418
|
Current assignee @kadiealexander is eligible for the External assigner, not assigning anyone new. |
Job added to Upwork: https://www.upwork.com/jobs/~01e647d4e751c0a2f6 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @thienlnam ( |
Proposal Wrap App/src/components/EmojiPicker/EmojiPickerButton.js Lines 31 to 49 in 216bbe9
|
Proposal: |
Proposal |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@asimimamabdullah Please direct all setup and environment problems not related to the issue to #expensify-open-source here As for the other conversation happening here, we're aware of the lack of clarity around proposals before the External label, and have a couple fixes that will be coming out soon. But yes, contributors should not be posting until the external label is applied. I'm going to minimize all conversation that is not related to the issue. If you have additional questions, please bring it to #expensify-open-source |
After internal discussion, proposals before External label is applied are still acceptable as stated in the current version of contributing.md. |
1 minor issue I am seeing for the above proposals is due to the vertical margin applied to the emoji button showing tooltip even though we hover on the top and bottom part. Issue Updated Proposal Wrap
Line 1482 in ed3e2dc
remove marginVertical property
9c0cb7b4-9cbf-4adc-b389-ef96cd1ebf05.webm |
I believe this is intentional as all Icons have margin and tool tips are visible while hovering at top and bottom of all buttons in chat composer. My Proposal #13455 (comment) was to match all other icons tooltip visibility in Chat Composer. After Fix #13455 (comment) :- Screen.Recording.2022-12-10.at.7.18.06.AM.mov |
I don't think it is intentional and according to me, it might not be a good user experience. I have raised the same here. To make the item center I think it's better to use |
@aimane-chnaif any thoughts on the above? |
I'm going OOO for a family emergency, if this needs action while I'm away please re-add the |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.41-4 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 2022-12-27. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
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:
|
@kadiealexander applied. thank you |
I extended the contract while Kadie is out. In the meantime, we're still waiting on the regression period to pass. |
@thienlnam, @kadiealexander, @aimane-chnaif, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
For BugZero Checklist, I don't think any PR caused regression. The issue existed from the beginning when tooltip added to emoji picker button here. |
@JmillsExpensify regression period passed already |
@JmillsExpensify or @kadiealexander kindly bump ^ |
I'm not assigned here but I can help. Assigning myself. |
It looks like we have the following:
Upwork job is here. All contributors have been paid out. |
That means we only lack the BZ checklist. @thienlnam do you agree with @aimane-chnaif that we're good on your items? If so, let's get those checked off. |
Yeah I agree, checked those items off |
Thank you for your help @JmillsExpensify, I was unfortunately OOO sick. I've proposed a regression test update in Slack here :) |
Awesome thank you! |
@thienlnam, @kadiealexander, @aimane-chnaif, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Closing this out, from the discussion here there is no regression test needed https://expensify.slack.com/archives/C01SKUP7QR0/p1673912860873499 |
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:
Hover on the emojipicker button icon surrounding pressable area
Expected Result:
Tooltip should shown for entire button
Actual Result:
Tooltip only shows on hover the icon
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.37-2
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
ff5be293-b6dd-4ede-8cde-239f39379a3f.webm
Expensify/Expensify Issue URL:
Issue reported by: @Pujan92
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1670532553163569
View all open jobs on GitHub
Recording.1074.mp4
ff5be293-b6dd-4ede-8cde-239f39379a3f.webm
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: