Skip to content

Web - Unable to search room after it has been created #6726

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. Go to https://staging.new.expensify.com
  2. Log in with expensifail account
  3. Click on Plus button and Click on New Room
  4. On Room name type any name
  5. On Workspace select any Workspace
  6. Click Create Room
  7. After room created type something
  8. Go to search box and type the room name which you just created.

Expected Result:

We are able to search for this room using its title.

Actual Result:

Room does not show as an option when we search for it.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web

Version Number: 1.1.20-0

Reproducible in staging?: Yes
Reproducible in production?: No

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Video

Expensify/Expensify Issue URL:

Issue reported by: Manan Jadhav & Applause

Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1639336320144000

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    on Dec 13, 2021
  2. OSBotify commented on Dec 13, 2021

    @OSBotify
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  3. MelvinBot commented on Dec 13, 2021

    @MelvinBot
    Contributor

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

  4. added
    Reviewing
    on Dec 13, 2021
  5. self-assigned this
    on Dec 13, 2021
  6. mountiny commented on Dec 13, 2021

    @mountiny
    Contributor

    I have added two more lines to the PR I already raised to fix other two blockers related to this component to fix this issue as well.

  7. mountiny commented on Dec 13, 2021

    @mountiny
    Contributor

    Actually, just noticed that this has also the and unable to search part, which is not solved in that PR, the linked PR only makes sure the tile name is shown, but one still cannot really search and find the room once you click away from it.

    I will split this into two issues then.

  8. changed the title [-]Web - Room name doesn't display in the header after creating and unable to search[/-] [+]Web - Unable to search room after it has been created[/+] on Dec 13, 2021
  9. removed
    Reviewing
    on Dec 13, 2021
  10. removed their assignment
    on Dec 13, 2021
  11. mountiny commented on Dec 13, 2021

    @mountiny
    Contributor

    Alright, so I have updated this issue to be only about the inability to search the room after creating it and created separate deploy locker for the room name here as their solutions are not completely connected and it would be better to have a separate PR to solve this as the PR mentioned above is already covering 3 issues (better for testing and granularity).

  12. 7 remaining items

  13. TomatoToaster commented on Dec 13, 2021

    @TomatoToaster
    Contributor

    You can see from these lines of code:
    https://github.com/Expensify/Auth/blob/6fe483924dfa8f4d5356e97cc2fd662e0569b29d/auth/lib/Account.cpp#L2128-L2133

    We fetch chat reports that are shared with users NOT chat reports that they own.

  14. TomatoToaster commented on Dec 13, 2021

    @TomatoToaster
    Contributor

    Got a PR for this soon ~ just testing it out locally first.

  15. TomatoToaster commented on Dec 14, 2021

    @TomatoToaster
    Contributor

    Ok so that PR didn't work and herein lies the problem:
    https://github.com/Expensify/Auth/blob/c0e21eada76b52827126e2b7d7480cf9ed1032ab/auth/lib/Report.cpp#L402-L406

    It seems like we can't really "share" a report with the person who creates it, so maybe we should remove the creator's accountID from the chat report because other chat reports don't tend to have that.

    Alternatively we could tweak the fetch chats query to include owned reports, but I think the above solution makes more sense. No other chats seem to be "owned" by users who are in them. This will also allow owners to leave rooms they create if they want to as well.

  16. added
    Reviewing
    on Dec 14, 2021
  17. TomatoToaster commented on Dec 14, 2021

    @TomatoToaster
    Contributor

    I'll work on a CQ to fix this issue for existing chatReports. However, we should run it after the above PR goes into production so that we can capture all chatReports that are made incorrectly in production.

  18. MelvinBot commented on Dec 21, 2021

    @MelvinBot
    Contributor

    @TomatoToaster Whoops! This issue is 2 days overdue. Let's get this updated quick!

  19. MelvinBot commented on Dec 23, 2021

    @MelvinBot
    Contributor

    @TomatoToaster Eep! 4 days overdue now. Issues have feelings too...

  20. TomatoToaster commented on Dec 23, 2021

    @TomatoToaster
    Contributor

    Oh I didn't notice this was overdue because the PR was already merged! I still need to make the query to fix the existing chats. That's not a super pressing issue though so I'll make this a weekly. Going to finish workspace chat docs first.

  21. added
    Weekly
    and removed
    Daily
    on Dec 23, 2021
  22. TomatoToaster commented on Jan 6, 2022

    @TomatoToaster
    Contributor

    This should be fixed as of this PR for new Workspace Chats

  23. mvtglobally commented on Jan 11, 2022

    @mvtglobally

    Issue not reproducible during KI retests. (First week)

  24. mvtglobally commented on Jan 18, 2022

    @mvtglobally

    Issue not reproducible during KI retests. (Second week)

  25. mvtglobally commented on Jan 25, 2022

    @mvtglobally

    Issue not reproducible during KI retests. (Third week) Closing

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

Metadata

Metadata

Assignees

Labels

EngineeringReviewingWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions