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

Create Direct > When creating a direct, people in the list are displaying depend on the workspace #909

Closed
tlle14 opened this issue Sep 13, 2021 · 13 comments
Assignees
Labels
bug Something isn't working Feedback User feedback Major QA - Bug priority

Comments

@tlle14
Copy link
Contributor

tlle14 commented Sep 13, 2021

Precondition

WorkspaceA has 7 people
WorkspaceB has 5 people

Actual Result

When creating a direct chat:

  • When the user is in WorkspaceA, it displays 7 people in the PEOPLE list
  • When the user is in WorkspaceB, it displays only 5 people in the PEOPLE list
video89c314ab-b2dc-41ed-95af-8898ac936c57video.1.mp4

Expected Result

It should display a whole company in the PEOPLE list, shouldn't depend on the workspace.
But with the Guest user, it only displays people in the channel that the Guest is in.

Environment

  • Build version: 3.0.6
  • Device:
    Samsung Galaxy A51 - Android 11 - 6.5 inch
    iPhone 11 Promax - iOS 14.4 - 6.46 inch
  • QA environment
@tlle14 tlle14 added bug Something isn't working Major QA - Bug priority labels Sep 13, 2021
@tlle14
Copy link
Contributor Author

tlle14 commented Sep 13, 2021

Hello @BenoitTallandier could you please confirm the behavior with the guest user in Expected Result? I cannot find the related requirement in Twake.

@BenoitTallandier
Copy link

It is right.
Guest shouldn't be able to see people outside members present in the channels where they are invited.

For internal, they shouldn't see all company user. The list is only active discussion. Of course, internal user can start a discussion with every user in the company. But if the discussion is not started, or if the user hide (~archive) the discussion, it shouldn't be in the list.

@tlle14
Copy link
Contributor Author

tlle14 commented Sep 13, 2021

For internal, they shouldn't see all company user. The list is only active discussion. Of course, internal user can start a discussion with every user in the company. But if the discussion is not started, or if the user hide (~archive) the discussion, it shouldn't be in the list.

The list you mentioned is RECENT CHATS. It won't display archive chats or the not-yet-started discussion.
PEOPLE list is a kind of list which the user can scroll and select somebody to start the discussion.
Please correct me if I'm wrong.
screenshot_39

CC: @BastiaanVanGaalen @bobs4462 @EvGen94 FYI

@BenoitTallandier
Copy link

My bad, I didn't get the point.
You're totally right, an internal user is able to see everyone in this list :)

@tlle14
Copy link
Contributor Author

tlle14 commented Sep 13, 2021

Thank @BenoitTallandier for your confirmation

@tlle14 tlle14 added the Feedback User feedback label Sep 13, 2021
@bmuddha
Copy link
Contributor

bmuddha commented Sep 14, 2021

@RomaricMourgues is there a way to map users to company?

@RomaricMourgues
Copy link
Contributor

No, the only thing you can do is search users in the whole company but not list them all.
Until now it was on purpose. Could we put in this "people" list:

  • The people we recently talked to (got from chats)
  • Then the people from the workspaces
    As soon as you start to "search" you can also complete with other peoples in the company from the search endpoint:

Screenshot 2021-09-14 at 10 46 29

@bmuddha
Copy link
Contributor

bmuddha commented Sep 14, 2021

Well, that's not exactly convenient, as currently search happens on local storage, which is why it's super fast. But if there's no other way around it, we will implement that

@RomaricMourgues
Copy link
Contributor

RomaricMourgues commented Sep 14, 2021 via email

@bmuddha
Copy link
Contributor

bmuddha commented Sep 14, 2021

Oh.....

@bmuddha bmuddha self-assigned this Sep 15, 2021
@tlle14
Copy link
Contributor Author

tlle14 commented Sep 21, 2021

Retest pass!
It displays all company accounts for creating direct chats. But, it does not work for the Guest
https://images.zenhubusercontent.com/309637937/b3004735-3862-41fe-af05-fd88b8b23d76/video5410fdca_9605_4fe3_9ef6_4cd956d89f81video.mp4
Retest after this issue is fixed #958

@bmuddha
Copy link
Contributor

bmuddha commented Sep 24, 2021

I think you can close this one, as it's not really related to #958
After we will allow guests to create direct chats, there will be a totally separate logic for fetching the list of available users

@tlle14
Copy link
Contributor Author

tlle14 commented Sep 24, 2021

Okay, I will remark the logic for Guest on #958 and close this one

@tlle14 tlle14 closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Feedback User feedback Major QA - Bug priority
Projects
None yet
Development

No branches or pull requests

4 participants