Skip to content

[HOLD for payment 2024-04-05] [$500] Workspace - If title is changed offline, the description is no longer greyed out #37254

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.44-0
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): applausetester+emilio@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Access staging.new.expensify.com
  2. Sign into a valid account
  3. Go to any Workspace setting
  4. Turn off the internet and change the Description (Note that the text will be greyed out)
  5. Still offline, change the title of the WS and observe the description

Expected Result:

User expects the Description to continued greyed out until internet is back online

Actual Result:

The description text turns "normal black" after editing the WS name offline

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6393511_1709000031734.WS_Description_is_no_longer_greyed_out.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a5b48695496946bf
  • Upwork Job ID: 1765718526440808448
  • Last Price Increase: 2024-03-07
Issue OwnerCurrent Issue Owner: @rushatgabhane

Activity

  1. added
    Daily
    Bug
    on Feb 27, 2024
  2. melvin-bot commented on Feb 27, 2024

    @melvin-bot

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

  3. lanitochka17 commented on Feb 27, 2024

    @lanitochka17
    Author

    We think that this bug might be related to #wave8
    CC @zanyrenney

  4. lanitochka17 commented on Feb 27, 2024

    @lanitochka17
    Author

    @sonialiap FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  5. Krishna2323 commented on Feb 27, 2024

    @Krishna2323
    Contributor

    Proposal

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

    Workspace - If title is changed offline, the description is no longer greyed out

    What is the root cause of that problem?

    Here we use SET which removes the other pending fields.

    onyxMethod: Onyx.METHOD.SET,

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

    Spread current pendingFields along with the new one.

                    pendingFields: {
                        ...policy.pendingFields,
                        ...updatedFields
                    },

    We should also do the same with the errors field and this needs to be updated in updateWorkspaceDescription & updateGeneralSettings. There might be other util functions also so we will also make sure that they are also updated like this. In updateWorkspaceDescription we need to get policy using const policy = allPolicies?.[${ONYXKEYS.COLLECTION.POLICY}${policyID}];.

    Also, this need to be done for optimisticData , finallyData & failureData.

    Result

    pending_fields_grayed_out.mp4
  6. melvin-bot commented on Mar 1, 2024

    @melvin-bot

    @sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  7. sonialiap commented on Mar 5, 2024

    @sonialiap
    Contributor

    Reproducible. I've asked in slack if we want to add it to #vip-split

  8. added
    External
    on Mar 7, 2024
  9. changed the title [-]Workspace - If title is changed offline, the description is no longer greyed out[/-] [+][$500] Workspace - If title is changed offline, the description is no longer greyed out[/+] on Mar 7, 2024
  10. melvin-bot commented on Mar 7, 2024

    @melvin-bot
  11. added
    Help Wanted
    on Mar 7, 2024
  12. 55 remaining items

  13. added
    Daily
    and removed
    Weekly
    on Apr 15, 2024
  14. melvin-bot commented on Apr 18, 2024

    @melvin-bot

    @rlinoz, @sonialiap, @rushatgabhane, @Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick!

  15. rushatgabhane commented on Apr 18, 2024

    @rushatgabhane
    Member

    soon soon soon 🔜

  16. sonialiap commented on Apr 22, 2024

    @sonialiap
    Contributor

    @rushatgabhane Looking forward to it 😜

  17. melvin-bot commented on Apr 22, 2024

    @melvin-bot

    @rlinoz, @sonialiap, @rushatgabhane, @Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  18. melvin-bot commented on Apr 24, 2024

    @melvin-bot

    @rlinoz, @sonialiap, @rushatgabhane, @Krishna2323 Huh... This is 4 days overdue. Who can take care of this?

  19. rlinoz commented on Apr 24, 2024

    @rlinoz
    Contributor

    @rushatgabhane friendly bump

  20. rushatgabhane commented on Apr 25, 2024

    @rushatgabhane
    Member

    Updated #37254 (comment)

    we can close after regression test is added

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions