-
Notifications
You must be signed in to change notification settings - Fork 88
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
Trying to join two different communities with misleading prompt #1847
Comments
This is a bug yes. If you are already in a community or joining, you should have to leave it before you can join another. It took me a few reads to understand what was happening here. In case this restatement is helpful for anyone else, what is happening here is that clicking new join links will keep joining new communities even if the user never left the previous community. People will lose their accounts so this is not desired. |
Moving to sprint. |
@holmesworcester could you let me know at which point I lost you and I will edit it to clarify? I'm fairly sure that we are talking about two different situations. In point 2 it's said "DON'T register username" so the registration process is actually never triggered. We are safe, no one will loose their accounts. It's only for fresh new users that tries to click on joining link for two different communities before entering their username. |
The confusion comes from the word 'register' since registering happens after somebody joins the community. So 'don't register' would mean that they joined but didn't register. 'Don't choose a username' would be more clear. Okay yes then this isn't as high priority. |
True, in our current process with unregistered and registered users this may be confusing, I'll change this. |
The solution is that it should follow through on what it says. If the user is in a community (even if they have no chosen a username) they should not join a new community. If current community is set in any way (even if username is not chosen) don't process the invite link in any way. |
@holmesworcester what's the factor determining membership in a community? Is it: In case of an a we probably don't have to change anything and we can close this issue. In case of a b or c we should implement a new feature on UI for letting users "leave" (erase network data structures and start from scratch before they choose a username). Another option is to add a path that ignores deep linking mechanism in case of not chosen username but it may be misleading as the user won't be able to say which community he's choosing a username for. |
I think the criteria must be: "user has opened an invite link". Once they have opened an invite link, they have started the process of joining a community and should not accidentally change what community they are joining or have any ambiguity about it. Once they open an invite link, clicking a new invite link should not join a new community, it should tell them that they are already in a community. |
It fits into the criteria of a, which is how it works atm. Does it mean we can close this issue? |
Ok, nevermind. I see the problem is wrong data is being passed under the hood. So we don't change anything from the user perspective, we just correct the network data being processed |
@kingalg could you please check it once again? I'm attaching a video that presents it working fine on my end. I also wrote tests for deep linking behavior in both desktop and mobile and they passes as though everything works fine. Here are the steps I took: Here is the result (couldn't upload the full video as it was too heavy) |
We still don't know what the factor is though |
Me and Emilia have found some tricky bug being hidden in |
…s being stored #1847 (#2068) * fix: mock store readyness for mobile tests * test: deep linking on mobile * test: deep linking on desktop * fix: correct store data injecting #1847 * test: remove component from rendering * chore: update CHANGELOG * test: adjust tests after merging psk work * chore: refactor invitation data mocking * fix: lint * fix: test snapshot for mobile deep linking * chore: skip mobile splash screen tests due to changes made to data mocking
Desktop: [email protected] It's fixed on desktop but there is problem on mobile. I've created separate task for it and put it to the "next sprint" column: #2114 |
Version: [email protected] (but I doubt that it was introduced in this version. Probably something that was already there)
System: all desktop
Steps to recreate:
Text on the popup suggest that the user will join first community that they tried to join.
What happens: the user join second community (or any community that was clicked as last if there is several of them).
@holmesworcester I don't have strong feeling about whether user should join first or last community they try to join but what we have now is misleading, so we need to either make sure that they will join first community as popup suggests or change text of this popup. Let us know what you think is the best idea.
The text was updated successfully, but these errors were encountered: