Skip to content

[HOLD for payment 2023-12-08] [$500] Web - App marks task as unread even when no changes are done #27296

Closed

Description

@kbecciv

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. Open the app
  2. Open task report or raise new task report using any user and any title
  3. Open Description
  4. Without making any changes, click save and observe that task is marked unread

Expected Result:

Task should not be marked as unread if there is no change to any field

Actual Result:

Task is marked as unread even if there is no change to any field

Workaround:

Unknown

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.68.13
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

task.unread.even.on.no.change.mp4
Recording.4426.mp4

Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694345875816589

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014012f6817510a0d1
  • Upwork Job ID: 1701705833501474816
  • Last Price Increase: 2023-10-03
Issue OwnerCurrent Issue Owner: @dylanexpensify

Activity

  1. added
    External
    Daily
    Bug
    on Sep 12, 2023
  2. changed the title [-]Web - App marks task as unread even when no changes are done[/-] [+][$500] Web - App marks task as unread even when no changes are done[/+] on Sep 12, 2023
  3. melvin-bot commented on Sep 12, 2023

    @melvin-bot
  4. melvin-bot commented on Sep 12, 2023

    @melvin-bot

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

  5. added
    Help Wanted
    on Sep 12, 2023
  6. melvin-bot commented on Sep 12, 2023

    @melvin-bot

    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
  7. melvin-bot commented on Sep 12, 2023

    @melvin-bot

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

  8. melvin-bot commented on Sep 12, 2023

    @melvin-bot

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

  9. iamuddeshya commented on Sep 12, 2023

    @iamuddeshya

    Proposal

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

    Task on the sidebar is marked as unread even if the task is saved with no changes made.

    What is the root cause of that problem?

    The editTaskAndNavigate function is calling the API even when there is no change in the current data and the updated data of the task.

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

    Before calling the EditTask API.write function, add a if condition that checks if there has been any change made in the previous state vs updated state of the Task. If not then avoid calling the API to update the task.

    API.write(

    What alternative solutions did you explore? (Optional)

    Most apps disable the Save button until any change has been made. We can write a logic to keep the Save button disabled, and only enable it when there is a change made in the values of the task.

  10. melvin-bot commented on Sep 12, 2023

    @melvin-bot

    📣 @iamuddeshya! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  11. 118 remaining items

  12. JmillsExpensify commented on Dec 15, 2023

    @JmillsExpensify
    Contributor

    $500 payment approved for @sobitneupane based on this comment.

  13. melvin-bot commented on Dec 18, 2023

    @melvin-bot

    @hoangzinh, @sobitneupane, @stitesExpensify, @dylanexpensify Eep! 4 days overdue now. Issues have feelings too...

  14. dylanexpensify commented on Dec 20, 2023

    @dylanexpensify
    Contributor

    nice! Will pay out reporter then close!

  15. dylanexpensify commented on Dec 22, 2023

    @dylanexpensify
    Contributor

    @dhanashree-sawant offer sent!

  16. melvin-bot commented on Dec 26, 2023

    @melvin-bot

    @hoangzinh, @sobitneupane, @stitesExpensify, @dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  17. dhanashree-sawant commented on Dec 28, 2023

    @dhanashree-sawant

    Thanks @dylanexpensify, I have accepted the offer.

  18. melvin-bot commented on Dec 28, 2023

    @melvin-bot

    @hoangzinh, @sobitneupane, @stitesExpensify, @dylanexpensify Huh... This is 4 days overdue. Who can take care of this?

  19. melvin-bot commented on Jan 1, 2024

    @melvin-bot

    @hoangzinh, @sobitneupane, @stitesExpensify, @dylanexpensify 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  20. melvin-bot commented on Jan 2, 2024

    @melvin-bot

    @hoangzinh, @sobitneupane, @stitesExpensify, @dylanexpensify 10 days overdue. I'm getting more depressed than Marvin.

  21. dylanexpensify commented on Jan 4, 2024

    @dylanexpensify
    Contributor

    done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions