Skip to content

[HOLD for payment 2024-04-05] [Wave Collect] [Ideal Nav] Issues with the bold (unread) status on Workspace Item #35682

Closed

Description

@hayata-suenaga

Action Performed:

The workspace item on the Workspace Switcher should be bold when there are any unread chat/report in that workspace. This indicator, however, isn't working consistently.

Sometimes, the workspace item is bold even when there is no unread chat in that workspace. And sometimes, it's not bold when there is a unread chat/report.

The following is the reproduction step for the latter issue.

  1. Create a workspace if you don't have one yet.
  2. Go to a workspace (not Expensify one).
  3. Right click (or long press) a chat and click Mark as unread on the popover that appears
  4. Click the Workspace Switcher.
  5. Look for the current workspace name. Confirm that the workspace name is bold.
  6. Go back to the workspace.
  7. Right click the same chat and click Mark as read
  8. Go back to Workspace Switcher
  9. Confirm the current workspace is not bold
Screen.Recording.2024-01-22.at.7.26.44.PM.mov

Workaround:

N/A

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

Vides are attached above.

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0183bc22eb2779a4b0
  • Upwork Job ID: 1763580448153239552
  • Last Price Increase: 2024-03-01

Activity

  1. added
    Daily
    Bug
    on Feb 2, 2024
  2. moved this to Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals) in [#whatsnext] Wave 08 - Collect Plan Adminson Feb 2, 2024
  3. melvin-bot commented on Feb 2, 2024

    @melvin-bot

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

  4. hayata-suenaga commented on Feb 2, 2024

    @hayata-suenaga
    ContributorAuthor

    @mateuuszzzzz I believe you're working on this regression? can you comment on this GH issue so that I can assign you?

  5. Christinadobrzyn commented on Feb 2, 2024

    @Christinadobrzyn
    Contributor

    Ah good catch! I can reproduce this - we'll see if @mateuuszzzzz is working on this!

  6. cdOut commented on Feb 5, 2024

    @cdOut
    Contributor

    Hello, I'll be working on this one and take it from @mateuuszzzzz.

  7. trjExpensify commented on Feb 5, 2024

    @trjExpensify
    Contributor

    Nice, assigned you @cdOut!

  8. ikevin127 commented on Feb 5, 2024

    @ikevin127
    Contributor

    While debugging a similar issue (#35766) which was closed as a dupe of this one I noticed the following:

    • within the ReportUtils.isUnread function we're checking the lastReadTime which if undefined will fallback to empty string
    • in WorkspacesSettingsUtils we're using Onyx.connect to get allReports
    • sometimes for certain workspaces -> reports within that workspace will initially have the lastReadTime as undefined
    • undefined lastReadTime defaults to empty string which when compared to an existing lastVisibleActionCreated date string, isUnread always returns true

    Considering these, I tend to think that the RC here might come from the Onyx.connect -> allReports data which might first initialize some report variables as undefined - while shortly after to become defined but the function doesn't register the data change and remains with initial isUnread status.

    Hope this helps w/ debugging ✌️

  9. 87 remaining items

  10. Christinadobrzyn commented on Apr 12, 2024

    @Christinadobrzyn
    Contributor

    Ah okay! I'll move this to weekly since payment due is all that's left.

  11. Christinadobrzyn commented on Apr 24, 2024

    @Christinadobrzyn
    Contributor

    holding for @situchan to accept this Upwork offer - https://www.upwork.com/nx/wm/offer/101773908

  12. Christinadobrzyn commented on May 3, 2024

    @Christinadobrzyn
    Contributor

    Dmd @situchan to see if they are back and can accept the offer

  13. Christinadobrzyn commented on May 8, 2024

    @Christinadobrzyn
    Contributor

    moving this to monthly since payment is all that's needed. @situchan let me know when you're back b/c I'll need to make a new offer

  14. situchan commented on May 17, 2024

    @situchan
    Contributor

    Sorry for late. I am back. Can you please send new offer?

  15. Christinadobrzyn commented on May 17, 2024

    @Christinadobrzyn
    Contributor
  16. Christinadobrzyn commented on Jun 13, 2024

    @Christinadobrzyn
    Contributor

    Paid @situchan in upwork based on this payment summary - #35682 (comment)

    Closing!

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringInternalMonthly

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions