Skip to content
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

[$250] Update report actions in CONST.ts to use underscores for readability #40188

Closed
marcaaron opened this issue Apr 12, 2024 · 15 comments
Closed
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@marcaaron
Copy link
Contributor

marcaaron commented Apr 12, 2024

cc @roryabraham This is not really related to Group Chats, but came about in a PR review so creating a ticket to have it cleaned up.

Problem:

In App we have report action strings in CONST.ts that are not using underscores. This makes readability difficult and is inconsistent with the backend code where the same report actions exist and include underscores.

Solution:

Update the consts from here and all references to use underscores to break up the words e.g.

ACTIONABLEMENTIONWHISPER -> ACTIONABLE_MENTION_WHISPER
ADDCOMMENT -> ADD_COMMENT

etc.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01610cbc887eeeda07
  • Upwork Job ID: 1778880452173856768
  • Last Price Increase: 2024-04-12
  • Automatic offers:
    • fedirjh | Reviewer | 0
    • shahinyan11 | Contributor | 0
Issue OwnerCurrent Issue Owner: @garrettmknight
@marcaaron marcaaron self-assigned this Apr 12, 2024
@marcaaron marcaaron added NewFeature Something to build that is a new item. External Added to denote the issue can be worked on by a contributor labels Apr 12, 2024
@melvin-bot melvin-bot bot changed the title Update report actions in CONST.ts to use underscores for readability [$250] Update report actions in CONST.ts to use underscores for readability Apr 12, 2024
Copy link

melvin-bot bot commented Apr 12, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01610cbc887eeeda07

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 12, 2024
Copy link

melvin-bot bot commented Apr 12, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (External)

Copy link

melvin-bot bot commented Apr 12, 2024

Triggered auto assignment to @garrettmknight (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 12, 2024
Copy link

melvin-bot bot commented Apr 12, 2024

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

@shahinyan11
Copy link
Contributor

Dibs

@shahinyan11
Copy link
Contributor

shahinyan11 commented Apr 12, 2024

Is need to make proposal here?

@marcaaron
Copy link
Contributor Author

Nope you're in 😄

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 12, 2024
Copy link

melvin-bot bot commented Apr 12, 2024

📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Apr 12, 2024

📣 @shahinyan11 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@fedirjh
Copy link
Contributor

fedirjh commented Apr 15, 2024

Update the consts from here and all references to use underscores to break up the words e.g.

ACTIONABLEMENTIONWHISPER -> ACTIONABLE_MENTION_WHISPER ADDCOMMENT -> ADD_COMMENT

cc @marcaaron Are we updating both the keys and values?

// Old 
ADDCOMMENT: 'ADDCOMMENT',

// New ? 
ADD_COMMENT: 'ADD_COMMENT', // Update both key and value 
ADD_COMMENT: 'ADDCOMMENT', // OR update just keys ?

@roryabraham
Copy link
Contributor

just keys, not values

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels May 8, 2024
Copy link

melvin-bot bot commented May 8, 2024

This issue has not been updated in over 15 days. @garrettmknight, @marcaaron, @fedirjh, @shahinyan11 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@fedirjh
Copy link
Contributor

fedirjh commented May 19, 2024

cc @garrettmknight This is already deployed to prod and it's overdue payment.

@roryabraham roryabraham added Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 and removed Reviewing Has a PR in review Monthly KSv2 labels May 30, 2024
@melvin-bot melvin-bot bot added the Overdue label May 30, 2024
@garrettmknight
Copy link
Contributor

Payment Summary

Sorry about that! @fedirjh you think this could use a new QA test?

@melvin-bot melvin-bot bot removed the Overdue label May 30, 2024
@fedirjh
Copy link
Contributor

fedirjh commented May 30, 2024

you think this could use a new QA test?

@garrettmknight No, this is simply code refactoring done to enhance readability.

@melvin-bot melvin-bot bot added the Overdue label Jun 3, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

5 participants