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

[$500] LHN-When no activity, WS can be marked as Unread but not announce, admin room. #37475

Closed
4 of 6 tasks
izarutskaya opened this issue Feb 29, 2024 · 9 comments
Closed
4 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@izarutskaya
Copy link

izarutskaya commented Feb 29, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.45
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team

Action Performed:

  1. Launch app
  2. Tap on icon on top left
  3. Tap plus icon and create new workspace
  4. Tap on chat icon below in footer
  5. Tap fab --- start chat
  6. Tap room
  7. Enter all details and create a room with this new workspace
  8. Navigate to LHN
  9. Long press Workspace report( no activity) and mark as unread
  10. Note it turns to bold
  11. Long press admin/room/announce report ( no activity) and mark as unread
  12. Note, the report is not shown in bold

Expected Result:

When no activity, WS can be marked as Unread similarly it should work for announce, admin and room.

Actual Result:

When no activity, Workspace report can be marked as Unread(shown in bold) but announce, admin and room report not shown in bold when user selects mark as unread.

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

Bug6396629_1709184949775.no.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013632650058d49fc1
  • Upwork Job ID: 1763659359403204608
  • Last Price Increase: 2024-03-01
@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

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

@izarutskaya
Copy link
Author

@joekaufmanexpensify 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.

We think that this bug might be related to #vip-vsb.

@joekaufmanexpensify
Copy link
Contributor

Reproduced. I don't see why we wouldn't want to allow you to mark the announce or admins rooms as unread. Further, I can't mark user created rooms as unread on android web, which feels like a bug too.

@joekaufmanexpensify joekaufmanexpensify added the External Added to denote the issue can be worked on by a contributor label Mar 1, 2024
Copy link

melvin-bot bot commented Mar 1, 2024

Job added to Upwork: https://www.upwork.com/jobs/~013632650058d49fc1

@melvin-bot melvin-bot bot changed the title LHN-When no activity, WS can be marked as Unread but not announce, admin room. [$500] LHN-When no activity, WS can be marked as Unread but not announce, admin room. Mar 1, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 1, 2024
Copy link

melvin-bot bot commented Mar 1, 2024

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

@FitseTLT
Copy link
Contributor

FitseTLT commented Mar 1, 2024

@joekaufmanexpensify Why would we need an empty room to be unread we intentionally made it to be always unread when it is an empty activity to fix #36013
If it is a must we need to revert that change

result.isUnread = ReportUtils.isUnread(report) && !!report.lastActorAccountID;
result.isUnreadWithMention = ReportUtils.isUnreadWithMention(report);

and fix #36013 from BE so that the BE resets lastVisibleActionCreated when the last message is deleted from a room/report/chat that only has on message or report action.

@joekaufmanexpensify
Copy link
Contributor

@FitseTLT Interesting. This is not saying that an empty room is always unread, it would be that you have the ability to mark it as unread if you intentionally want to. The change from that issue made it so an end user cannot intentionally mark an empty room as unread?

@FitseTLT
Copy link
Contributor

FitseTLT commented Mar 1, 2024

What I meant was @joekaufmanexpensify We usually want mark as unread to check for some message or chat or room with chats And make it unread for empty chat didn't make sense to me. But if we decide it is a must the solution is reverting that change and fix that specific issue in the BE 👍

@joekaufmanexpensify
Copy link
Contributor

Got it. We can do nothing for now then. I agree this isn't likely to come up much since it only impacts empty rooms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

4 participants