-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Pay on 3/8][$750] New room can be created with blank name - Reported by Abhishek Raj Pandey #6967
Comments
Triggered auto assignment to @nkuoch ( |
I am Abhishek Raj Pandey. Here is my GH Handle: @ABee-Tech |
Triggered auto assignment to @mallenexpensify ( |
This is because we're storing Two approaches:
I'll go with the first approach as it'll be a small fix and not require changes across the page. |
Here is my proposal I have submitted into slack thread just after a minute I found the bug. Proposal:In the line: 131 of file pages/workspace/WorkspaceNewRoomPage.js
to:
|
@ABee-Tech Why would you want to set the default value as '#' in the constructor? |
Thanks for the proposal's guys. @ABee-Tech I will have the same question as @mananjadhav. Apart from it point 2 looks good. I have also, thinking why don't we always keep the roomName without we also need a backend solution to throw an error when the room name is empty. There should be a backend validation as well. |
Exactly what I said in the second approach here. It is much cleaner than having
And removing |
Point 2 looks great. In that way, the code will not get messy using |
Could you please post a proposal based on point 2? |
Proposal for the solution to avoid using too many
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @marcaaron ( |
This is still in review. Also dropping a note here that we identified an improvement and @ABee-Tech has agreed to do a small refactor and there will be a fee increase. |
👍, in the future @marcaaron will you mention the amount and tag the CM in the comment? I updated the amount in the title to $500, I'm assuming that's the new total price, let me know if now. Since I've already hired @ABee-Tech , I don't think upping the job price in Upwork will make a difference. |
Triggered auto assignment to @dylanexpensify ( |
@dylanexpensify I'm out next week so auto-added you to keep 👀 on this til I'm back, then I'll take back over. |
Requested changes on the PR... Close to finish line. |
@mallenexpensify @marcaaron So, do doubling the fee means doubling the total amount [$500] which I get for finding the issue [$250] and proposal [$250]? Or, only for proposal one only. And, also if you don't mind would you reevaluate the compensation? As it has been more than a month working on the PR. Applied more reusable codes. Can it be increased? It's okay if you reject the request for reevaluation. |
@ABee-Tech , the doubling is specific to fixing the issue. So, currently for this, you're set to receive $500 for the fix plus $250 for reporting, $750 in total. As for increasing the compensation for the fix, the main reasons for that would be if there was increased scope, where additional work was needed outside of the specific bug reported in the OP. Do you think there was? If not, outside of how long the process has taken, can you provide other specific reasoning why you think an increase would be warranted? |
Here is the link to the proposal: #6967 (comment) I think I have done more work than needed due to some of the merge conflicts on the way and extra changes like change in form behavior and work on other pages than I told to work on. I will explain the things I have worked on within (2022/01/09 to 2022/02/20) 43 days:
|
@mallenexpensify Thank you for asking. I have mentioned above how I think increase would be warranted. |
I spoke with @marcaaron about the compensation, we've agreed to increase the amount to $750 because combining the initial fix with the increase in scope created additional work. Thanks @ABee-Tech for the outline above. Per https://github.com/Expensify/App/blob/main/CONTRIBUTING.md payment will be made 7 days after the PR is deployed to production, assuming there are no regressions. |
Thank you @mallenexpensify for acknowledging my request to re-evaluate the amount. And, thank you @marcaaron @parasharrajat for all your due efforts and support. |
@mallenexpensify, @parasharrajat, @marcaaron, @ABee-Tech Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR is merged to PROD. But why, the title is not updated? 🤔 |
Weird, thanks for the ping @parasharrajat . |
D'oh, I paid @ABee-Tech $250 for the reporting the issue on the Upwork job that was closed. |
@mallenexpensify That's fine. I have again applied for the job from that link you have provided. |
Hired both @ABee-Tech and @parasharrajat , let me know when accepted and I'll pay |
@mallenexpensify accepted |
@ABee-Tech and @parasharrajat paid $750/each |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
User should not be able to save a room without a name
Actual Result:
Room created without name
Context: (More details in Slack tread)
As per code in line 166, if shouldDisableSubmit is true then the create room button disables and when it becomes false create room button becomes enabled. The problem here is when we put the room's name on "Room Name" field the function called checkAndModifyRoomName() in line 105 will put hash symbol i.e "#" in front of room name in line 111. we don't see "#" on field because the value on room name field is given without "#" symbol using substr this.state.roomName.substr(1) in line 151.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.24-0
Reproducible in staging?: Y
Reproducible in production?: N (new feature)
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug.mp4
Expensify/Expensify Issue URL:
Issue reported by: @ABee-Tech
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1640874300265900
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: