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

[Hold for payment 2022-12-06] [$1000] Error for Duplicate Room name is not translated to spanish #12939

Closed
kavimuru opened this issue Nov 22, 2022 · 29 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Nov 22, 2022

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:

  1. Change Room Name to existing name
  2. Observe the error message

Expected Result:

Error Message should be displayed in Espanol

Actual Result:

Error message is displayed in English

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.30-0
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:
Screenshot 2022-11-22 at 11 06 18 PM
10

Expensify/Expensify Issue URL:
Issue reported by: @varshamb
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669138878378109

View all open jobs on GitHub

Upwork Automation - Do Not Edit

@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 22, 2022

Triggered auto assignment to @Christinadobrzyn (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@Puneet-here
Copy link
Contributor

Pasting my solution from the slack thread
We just need to add this validation at ReportSettingsPage.js

        if (ValidationUtils.isExistingRoomName(this.state.newRoomName, this.props.reports, this.props.report.policyID)) {
            errors.newRoomName = this.props.translate('newRoomPage.roomAlreadyExistsError');
        }

And the code below at withOnyx

        reports: {
            key: ONYXKEYS.COLLECTION.REPORT,
        }

It is already approved here.

@iwiznia iwiznia added the External Added to denote the issue can be worked on by a contributor label Nov 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 22, 2022

Current assignee @Christinadobrzyn is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Nov 22, 2022

Job added to Upwork: https://www.upwork.com/jobs/~0127ca6f5c680f935b

@varshamb
Copy link
Contributor

I was about to propose similar solution which is proposed on slack after I reported the bug.



https://expensify.slack.com/archives/C049HHMV9SM/p1669138878378109

@melvin-bot
Copy link

melvin-bot bot commented Nov 22, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 22, 2022

Triggered auto assignment to @Luke9389 (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot changed the title Error for Duplicate Room name is not translated to spanish [$1000] Error for Duplicate Room name is not translated to spanish Nov 22, 2022
@iwiznia iwiznia assigned iwiznia and unassigned Luke9389 Nov 22, 2022
@iwiznia
Copy link
Contributor

iwiznia commented Nov 22, 2022

Taking over from @Luke9389 since I already discussed this in slack. @parasharrajat can you double check the proposal from @Puneet-here ?

@varshamb
Copy link
Contributor

@parasharrajat @iwiznia

I was about to propose similar solution which is proposed on slack after I had reported the bug.



https://expensify.slack.com/archives/C049HHMV9SM/p1669138878378109

@parasharrajat
Copy link
Member

parasharrajat commented Nov 22, 2022

Checking...
Checked...

Waiting for confirmation internally about the backend vs frontend error before moving forward.

@iwiznia
Copy link
Contributor

iwiznia commented Nov 23, 2022

@varshamb sorry, but it's a first come first served and Puneet's proposal was first. You will still get the reporting bonus though.

@parasharrajat
Copy link
Member

parasharrajat commented Nov 23, 2022

@Puneet-here 's proposal looks good. We are only focusing on the front-end errors for now.

Note: @varshamb You can optionally propose a solution on slack as well with the bug report.

@Puneet-here Please keep your proposals on GH.

cc: @iwiznia

🎀 👀 🎀 C+ reviewed

@varshamb
Copy link
Contributor

@iwiznia It's not about bonus at all!
My question is: as per policy is it allowed to post solution on slack channel where they are not reporter?
i.e. one can propose solution for the Bug which is reported by others in Stack channel
#expensify-bugs.

Cc: @Christinadobrzyn @parasharrajat

@Puneet-here
Copy link
Contributor

@Puneet-here Please keep your proposals on GH.

Thanks! I will keep it in mind. In this case I posted the solution in the thread because it was easy to explain the issue that way.

@Puneet-here
Copy link
Contributor

I have raised the PR here.

@iwiznia
Copy link
Contributor

iwiznia commented Nov 23, 2022

My question is: as per policy is it allowed to post solution on slack channel where they are not reporter?
i.e. one can propose solution for the Bug which is reported by others in Stack channel #expensify-bugs.

AFAIK yes, you can, but there's risk we decide not to fix the bug (and thus the proposal is "wasted").

@varshamb
Copy link
Contributor

@iwiznia
@flodnv is referring this.

@iwiznia
Copy link
Contributor

iwiznia commented Nov 23, 2022

ok, maybe I am wrong and should've not skipped the process, just wanted to get the issue resolved quickly.

@varshamb
Copy link
Contributor

ok, maybe I am wrong and should've not skipped the process, just wanted to get the issue resolved quickly.

Ok, I haven't proposed a solution on slack as the Proposal of another contributor was already accepted on Slack.

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Nov 24, 2022

Sorry, catching up here, @iwiznia are you good with #12939 (comment)?

Ah, regarding @varshamb - that is a good point. So maybe we should update our contributor guidelines (Step 3. under Finding Jobs) to request contributors post a proposal in the GH if there is one created - otherwise post a proposal in slack? I'm might be wrong but I'm unsure how much the Slack chat is monitored after a job is created in Upwork and the focus moves to the GH.

@iwiznia
Copy link
Contributor

iwiznia commented Nov 24, 2022

Sorry, catching up here, @iwiznia are you good with #12939 (comment)?

Yep

Ah, regarding @varshamb - that is a good point. So maybe we should update our contributor guidelines (Step 3. under Finding Jobs) to request contributors post a proposal in the GH if there is one created - otherwise post a proposal in slack? I'm might be wrong but I'm unsure how much the Slack chat is monitored after a job is created in Upwork and the focus moves to the GH.

There's a thread about this here https://expensify.slack.com/archives/C02NK2DQWUX/p1669203099566179

@iwiznia iwiznia removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 25, 2022
@Christinadobrzyn
Copy link
Contributor

Thanks @iwiznia!

Hired the following in the Upwork job - https://www.upwork.com/jobs/~0127ca6f5c680f935b

  • @varshamb $250 for reporting
  • @Puneet-here $1000 for the fix and it looks like you're eligible for 50% bonus since the PR was raised in three days
  • @parasharrajat $1000 for the C+

@varshamb thank you so much for bringing up the proposal in Slack conversation. Based on this discussion, we will update our guidelines to request that contributors only post a proposal in Slack if a GH isn't created. If the GH is created, the proposal needs to be in the GH for us to see it. Let me know if you have any questions!

@melvin-bot
Copy link

melvin-bot bot commented Nov 28, 2022

📣 @Puneet-here You have been assigned to this job by @Christinadobrzyn!
Please apply to this job in Upwork 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 📖

@varshamb
Copy link
Contributor

@varshamb thank you so much for bringing up the proposal in Slack conversation. Based on this discussion, we will update our guidelines to request that contributors only post a proposal in Slack if a GH isn't created. If the GH is created, the proposal needs to be in the GH for us to see it. Let me know if you have any questions!

@Christinadobrzyn So what I understand is, one can submit Proposal on Slack (even though he/she is not reporter) till the GH isn't created.

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Nov 29, 2022

Hum, that is a good point/question. I believe the option to post in slack is designed only for the reporter as it gives the reporter a chance to propose a solution before it gets to GH where anyone can propose a solution. The expected workflow is:

  1. Post a bug in Expensify-open-source
  2. Post your proposal at the same time
  3. The QA team will create a GH with the bug and the proposal
  4. Other contributors can post a proposal

The intention was to solve the issue where a reporter had a solution but waited for a GH to be created and they ended up losing the opportunity for the job because they weren't the first to post in the GH.

I believe we don't want a non-reporter to post a proposal in Slack but let me check with my team to see if they have thoughts on that. (posted here for my own tracking)

@varshamb
Copy link
Contributor

varshamb commented Nov 29, 2022

@Christinadobrzyn in this case a Proposal was posted on slack by a non-reporter.

The process mentioned in contributing guidelines wasn't followed. A proposal was posted and approved directly on slack.

Because of this, I lost the opportunity to propose a solution on slack and github.

@Christinadobrzyn
Copy link
Contributor

Thank you for the additional information @varshamb, sorry I should've read the original reporting Slack post. I do see that is the case, we're discussing changes to the proposal review process because of this. I'm sorry this happened but we're working on a change that will hopefully make sure this doesn't happen again.

@parasharrajat
Copy link
Member

This was deployed on PROD in 1.2.31-8 #12976 9 days back. Should be ready for payout.

@luacmartins luacmartins changed the title [$1000] Error for Duplicate Room name is not translated to spanish [Hold for payment 2022-12-06] [$1000] Error for Duplicate Room name is not translated to spanish Dec 6, 2022
@Christinadobrzyn
Copy link
Contributor

Ah, looks like the Melvinbot prompt to pay wasn't working for this one - https://expensify.slack.com/archives/C07J32337/p1670302655519719

Sorry for the delay! Paying now...

@varshamb $250 for reporting
@Puneet-here $1000 for the fix and 50% bonus
@parasharrajat $1000 for the C+ and 50% bonus

Closed the Upwork job and this GH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants