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 2023-06-02] [$1000] On task title editing page when title field is empty than error message is This field is required instead of please enter a title #19023

Closed
6 tasks done
kavimuru opened this issue May 16, 2023 · 58 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kavimuru
Copy link

kavimuru commented May 16, 2023

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:

  1. Launch the app -> Login in account
  2. Click on FAB button -> Click on Assign task option
  3. Enter title -> Assign task -> Click on confirm task -> will navigate to task detail page
  4. On task detail page click on Task (name) -> clear title field and press save -> Notice error message is This field is required instead of please enter a title

Expected Result:

On task title editing page error message should be please enter a title when empty

Actual Result:

On task title editing page error message is This field is required which is not inconsistent to other pages of task

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.14.9
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: Any additional supporting documentation

ffd

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01af6e96d10c81b9cb
  • Upwork Job ID: 1660741242395484160
  • Last Price Increase: 2023-05-22
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 16, 2023

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

@melvin-bot

This comment was marked as off-topic.

@kavimuru
Copy link
Author

Proposal

by
@Dhairya Senjaliya

Please re-state the problem that we are trying to solve in this issue.

  • On task title editing page when title field is empty than error message is This field is required instead of please enter a title

What is the root cause of that problem?

The reason is we are using general form error common.error.fieldRequired

What changes do you think we should make in order to solve the problem?

We have already defined an error message if task name is empty which is newTaskPage.pleaseEnterTaskName
We just need to replace old message with new one on validate() inside the TaskTitlePage.js

      if (_.isEmpty(values.title)) {
-        errors.title = props.translate('common.error.fieldRequired');
+        errors.title = props.translate('newTaskPage.pleaseEnterTaskName');
      }

What alternative solutions did you explore? (Optional)

  • N/A

@alexpensify alexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 17, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 17, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 17, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@alexpensify
Copy link
Contributor

alexpensify commented May 17, 2023

@sophiepintoraetz - I've run out of time to continue looking into this one. I'm OOO until Wednesday, May 24, and following the new process. I'm reassigning the Bug label to identify if this is a bug and continue the process to avoid stalling it. Thank you!

@sophiepintoraetz

This comment was marked as outdated.

@sophiepintoraetz sophiepintoraetz added the Needs Reproduction Reproducible steps needed label May 19, 2023
@sophiepintoraetz
Copy link
Contributor

Ah, I needed to confirm the task by sharing first - I am able to reproduce
IMG_0883

@sophiepintoraetz sophiepintoraetz added Engineering and removed Needs Reproduction Reproducible steps needed labels May 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 19, 2023

Triggered auto assignment to @flodnv (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@melvin-bot melvin-bot bot added the Overdue label May 22, 2023
@sophiepintoraetz sophiepintoraetz removed their assignment May 22, 2023
@melvin-bot melvin-bot bot removed the Overdue label May 22, 2023
@sophiepintoraetz sophiepintoraetz added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 22, 2023

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

@melvin-bot

This comment was marked as off-topic.

@sophiepintoraetz
Copy link
Contributor

@greg-schroeder - in case there's any movement on the issue between Al coming back in office on Wed - assigning you in case something happens!

@flodnv
Copy link
Contributor

flodnv commented May 24, 2023

I personally much prefer specific error messages than seeing This field is required everywhere. Let's go with the original first proposal then.

@dhairyasenjaliya
Copy link
Contributor

agree since we already have customized messages no reason to stick to default messages @flodnv

@luacmartins
Copy link
Contributor

Makes sense. Let's do it!

@dhairyasenjaliya
Copy link
Contributor

PR updated @flodnv

@alexpensify
Copy link
Contributor

@greg-schroeder and @sophiepintoraetz - I appreciate your help here! I'm back online and removing your assignment.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels May 26, 2023
@melvin-bot melvin-bot bot changed the title [$1000] On task title editing page when title field is empty than error message is This field is required instead of please enter a title [HOLD for payment 2023-06-02] [$1000] On task title editing page when title field is empty than error message is This field is required instead of please enter a title May 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.18-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-06-02. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

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:

  • [@eVoloshchak] The PR that introduced the bug has been identified. Link to the PR:
  • [@eVoloshchak] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@eVoloshchak] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@eVoloshchak] Determine if we should create a regression test for this bug.
  • [@eVoloshchak] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@alexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@alexpensify
Copy link
Contributor

@eVoloshchak - When you get a chance, please fill out the checklist above. Thanks!

@alexpensify
Copy link
Contributor

@eVoloshchak and @dhairyasenjaliya - To prepare for the payment date, please apply to the job in Upwork:

https://www.upwork.com/jobs/~01af6e96d10c81b9cb

Thanks!

@alexpensify
Copy link
Contributor

@eVoloshchak - When you get a chance, please apply for the job in Upwork so I'm ready for the payment date on June 2. Thanks!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 1, 2023
@alexpensify
Copy link
Contributor

We are on track for payment tomorrow. I don't see an Urgency Bonus here but I did notice that @dhairyasenjaliya reported the bug and fixed it, so I will include that in the payment process.

@dhairyasenjaliya
Copy link
Contributor

@alexpensify I believe this should be eligible for urgency bonus since PR was created within same day but after that we were discussing the right message it took some time to decide and changes were done back and forth so for that and for that reason it got bit delay

@eVoloshchak
Copy link
Contributor

Will finish-up the checklist today

@alexpensify
Copy link
Contributor

@dhairyasenjaliya - Thank you for flagging the concerns here, it looks like the automation missed the notice. I went back to manually audited the project and I see the assignment was on May 22. The PR was merged on May 24, so I will factor in the urgency bonus when I work on the payment process later today.

@eVoloshchak eVoloshchak mentioned this issue Jun 2, 2023
55 tasks
@eVoloshchak
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: Tasks Detailed View #17940

  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/17940/files#r1214579816

  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: Don't think an additional discussion is needed here, this was just the wrong text used

  • Determine if we should create a regression test for this bug. A very minor bug with extremely low impact. Regression test isn't needed here

@alexpensify
Copy link
Contributor

@eVoloshchak and @dhairyasenjaliya - the payments have been prepared in Upwork. Please accept and I can complete the process.

@dhairyasenjaliya
Copy link
Contributor

done @alexpensify

@alexpensify
Copy link
Contributor

@eVoloshchak and @dhairyasenjaliya - everyone has been paid in Upwork. I'll wait to confirm again on Monday, then will close the GH.

@alexpensify
Copy link
Contributor

I'm closing this GH and the job in Upwork. Great work here!

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

9 participants