-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 2024-10-4][$250] Profile - There is tooltip for Profile Share button but no tooltip for Workspace Share button #48418
Comments
Triggered auto assignment to @zanyrenney ( |
@zanyrenney FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-09-03 01:31:02 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Profile - There is tooltip for Profile Share button but no tooltip for Workspace Share button What is the root cause of that problem?The button isn't wrapped with App/src/pages/workspace/WorkspaceProfilePage.tsx Lines 269 to 275 in e60b821
What changes do you think we should make in order to solve the problem?
Note Every suggested option above may require minor styling changes also if we don't use the same component at both places.
Optional: We can modify the What alternative solutions did you explore? (Optional)
What alternative solutions did you explore? (Optional) 2
Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is tooltip for Profile Share button but no tooltip for Workspace Share button What is the root cause of that problem?We haven't added the tooltip in the workspace profile page. What changes do you think we should make in order to solve the problem?Wrap this button in a
We can do the same for delete button Note We can't wrap the button directly in the tooltip as suggested in the other proposal. We need to wrap it in a view first. What alternative solutions did you explore? (Optional) |
Proposal Updated
|
Job added to Upwork: https://www.upwork.com/jobs/~01df3c5b108dfdd9f0 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is no tooltip for the Workspace Share button as there is for the Profile Share button. What is the root cause of that problem?The previous implementation did not include a tooltip for the Workspace Share button. When attempting to directly wrap the What changes do you think we should make in order to solve the problem?To address this issue, We can add a
File: App/src/pages/workspace/WorkspaceProfilePage.tsx
Line: 274 to 291 <View style={[styles.flexRow, styles.mt6, styles.mnw120, styles.gap2]}>
<Tooltip text={translate('common.shareCode')}>
<PressableWithFeedback
accessibilityLabel={translate('common.shareCode')}
accessibilityRole="button"
accessible
onPress={onPressShare}
style={[styles.button, styles.flexRow, styles.gap1, styles.p3]}
>
<Icon
src={Expensicons.QrCode}
width={variables.iconSizeSmall}
height={variables.iconSizeSmall}
fill={theme.icon}
/>
<Text style={styles.buttonMediumText}>{translate('common.share')}</Text>
</PressableWithFeedback>
</Tooltip>
</View> |
📣 @haris-ali9211! 📣
|
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is no tooltip for the Workspace Share button as there is for the Profile Share button. What is the root cause of that problem?Tooltip not added for button. What changes do you think we should make in order to solve the problem?Wrap this button in a ToolTip with Pressable
|
@c3024 can you get to these proposals? thanks! |
i'll be OOO next week so if we get proposals ready please ask for another engineer to review |
@bondydaa, @zanyrenney, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Sure. Thanks. I'll update today. |
@Expensify/design The actual result of the issue states:
Can you please confirm:
|
Hmm I feel like we usually don't use tooltips on buttons with labels, so I am cool with removing it. As for the font size differences, it does look like the font size on the Profile's share button is too big. This should easily be fixed by passing in the correct |
@c3024, Updated alternative 1 section in my proposal. Sorry, it's messed up a bit but I tried to keep the alternative 1 section very clear and understandable. |
@Krishna2323 's proposal LGTM! 🎀 👀 🎀 C+ Reviewed |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hi! Just to confirm from here - it looks like we want to move forward with @Krishna2323's alternative solution, removing the tooltip and updating the button on the Profile Page? If so, I'd probably go with updating the Let me know if I'm understanding correctly, and I can assign! I also feel like this is probably a $125 issue, since it's very minor - @bondydaa / @zanyrenney what do you think? |
Yes, that’s correct. Apologies for not being fully clear. |
No worries! This was helpful. Assigning now, and we'll stick to $250 on this one since that was what was shown when proposals were submitted/reviewed. |
📣 @c3024 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
how are we getting along here @Krishna2323 @c3024 ? |
PR yet to be opened. I think @Krishna2323 will soon open a PR. |
@c3024, PR ready for review ^ |
melvin is doing an awful job recently on the automations - this was deployed to prod on 9/27, according to the comments on the PR.... |
Triggered auto assignment to @sonialiap ( |
Hi! I am going OOO tomorrow when this payment is due, back on 7th october. please could you handle the payment? I would be happy to take it back if there are any blockers when I am back. thanks! |
Payment summary: |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.27-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
In Step 4 and 7, there should be consistency whether tooltip is required for Share code button
Actual Result:
There is tooltip when hovering over Share button in Profile page (Step 4), but there is no tooltip when hovering over Share button in Workspace Profile page
The font used in Profile Share button is also larger than Workspace Profile Share button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6590725_1725293163834.20240903_000032.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: