-
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
[$250] Update report actions in CONST.ts to use underscores for readability #40188
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01610cbc887eeeda07 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @garrettmknight ( |
|
Dibs |
Is need to make proposal here? |
Nope you're in 😄 |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @shahinyan11 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
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 ? |
just keys, not values |
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! |
cc @garrettmknight This is already deployed to prod and it's overdue payment. |
Payment Summary
Sorry about that! @fedirjh you think this could use a new QA test? |
@garrettmknight No, this is simply code refactoring done to enhance readability. |
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
Issue Owner
Current Issue Owner: @garrettmknightThe text was updated successfully, but these errors were encountered: