-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-03-31] [$1000] Inconsistency in the tooltip texts between 'Edit comment/ Delete comment' & 'Add Reaction' #15867
Comments
Triggered auto assignment to @tjferriss ( |
Bug0 Triage Checklist (Main S/O)
|
Checking on whether we should handle this internally or externally. |
Job added to Upwork: https://www.upwork.com/jobs/~01317e9c8ba89234e9 |
Current assignee @tjferriss is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency in the tooltip texts between 'Edit comment/ Delete comment' & 'Add Reaction' What is the root cause of that problem?We can see throughout the app we use first letter of the first word in upper case and rest in lower case So here real problem is with What changes do you think we should make in order to solve the problem?To make grammar consistence we have to change Within reportActionContextMenu: {
...
addReactionTooltip: 'Add reaction', // *** Make r small in reaction ***
} NOTE: Within expected results of this issue it is mentioned below things.
But as per my observation, throughout the app we capitalise first char of first word in upper case, and rest in lower case. We can see that all entries have first char capital and remaining in small case below and everywhere. Lines 220 to 231 in b69b5f3
This is my observation but we can ask suggestion from design team and do correction as they suggest. What alternative solutions did you explore? (Optional)None |
Triggered auto assignment to @puneetlath ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency in the tooltip texts between 'Edit comment/ Delete comment' & 'Add Reaction' in the report context menu. What is the root cause of that problem?The texts used to display tooltip texts in English are inconsistent. Lines 223 to 230 in 47e5dfb
Our pattern is to use a lowercase letter for the first letter of the second word. So addReactionTooltip: 'Add Reaction' is an exception.
What changes do you think we should make in order to solve the problem?Solution 1: Lines 227 to 228 in f45ebd7
to editComment: 'Edit Comment' and deleteComment: 'Delete Comment' to achieve the expected result.
Solution 2 (preferable): Line 230 in 47e5dfb
addReactionTooltip: 'Add reaction' to follow the majority of cases.
Additionally, other texts in https://github.com/Expensify/App/blob/main/src/languages/en.js and https://github.com/Expensify/App/blob/main/src/languages/es.js (which are not mentioned in the issue) also need fixing. We should confirm the rule of using lowercase and uppercase letters before we can replace all remaining inconsistent texts. What alternative solutions did you explore? (Optional)NA ResultWorking well after the fix: |
Please consider my Proposal I have fixed it yesterday Proposal What is the root cause of that problem? on en.js file addReactionTooltip: 'Add Reaction' R is capital What changes do you think we should make in order to solve the problem? On en.js we need to update addReactionTooltip: 'Add Reaction' 'R' into lower case like that addReactionTooltip: 'Add reaction' Result: |
📣 @ayazhussain79! 📣 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:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@ayazhussain79 Please check the Contributing Guidelines. We first put out a proposal and once accepted only then you start the work on the PR. This is a very straightforward issue and proposals from @PrashantMangukiya @tienifr, both will work and are same. @Expensify/design @shawnborton @puneetlath @tjferriss Can you confirm if we follow any specific case for the tooltips/content? Do nothing is also an option here right? |
I think we generally follow Sentence case for everything, so it would be "Like this" and NOT "Like This" |
Agreed, let's update the |
Okay thanks for the update. Based on the comments above I think we're good with @PrashantMangukiya's proposal here |
@puneetlath Forgot to tag you in the above comment. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.88-2 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-03-31. 🎊 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:
|
@mananjadhav and @avi-shek-jha can you both please apply for the job on the Upworks so I can process payments: https://www.upwork.com/jobs/~01317e9c8ba89234e9 |
@tjferriss do you mind sending in an invite to proposal? I don't have the connects to apply for the job. |
Done. @avi-shek-jha I can't find you in Upworks, can you please apply? |
@tjferriss It looks like you send me offer again on upwork for this project, please cancel it. I already accepted one offer on 17th March. So now it shows two offer for same project. |
@tjferriss I can see another offer is cancelled. |
@tjferriss I've submitted the proposal and applied for the job. Thank you |
@mananjadhav can you help with the checklist? |
PR that introduce this bug is #15210 where we added Emoji Reactions. I think we don't need a regression test here, what do you think @puneetlath @tjferriss ? and do you think it warrants for a discussion on |
@tjferriss Ping for Upwork |
Payments have been sent. I agree with not needing a regression test. |
@tjferriss Should I also eligible for timeline bonus as pr merged within three busines. |
Yes, my mistake. I should have flagged this when initially reviewing the payments. I've sent both you and @mananjadhav the speed bonus. |
Thanks @tjferriss |
@tjferriss Received Payments + Timeline bonus. Thanks you for your time. |
@tjferriss Please close the contract on Upwork, so I can submit good rating. Thank you. |
I think we're good to go here, so closing out. @tjferriss please reopen if there's something outstanding. |
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:
Edit comment and Delete comment should be changed to Edit Comment & Delete Comment ('C' in capital form) to maintain consistency with Add Reaction text, since all these icons are present in the same menu
Actual Result:
Edit comment and delete comment are not consistent with Add Reaction text
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.82-3
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:
Recording.1680.mp4
letters-2023-03-10_20.37.22.mp4
Expensify/Expensify Issue URL:
Issue reported by: @avi-shek-jha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678460555350449
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: