Grasia/teem

click twice is needed to Join a project in Join button for unregistered users.

Opened this issue ยท 10 comments

click twice is needed to Join a project in Join button for unregistered users.

SessionSvc.loginRequired should be used propertly to solve this issue.

join.js:40
What is joinModel?
Should it be joinModal?

@krshubham, that is right, well seen!

Thanks @atd

I did a quick search for joinModel and only saw that one, I forgot about the difference in capitalization used in the templates join-model vs joinModel. It is great you detect it!

atd commented

๐Ÿ˜‰ ๐Ÿ‘

Yes it should be joinModel only. I was also wondering because it just stopped working! I should've have done that search before asking! ๐Ÿ‘

@atfornes
can we please have some steps to reproduce the issue, I tried this 2-3 times and I was not able to reproduce the issue. Thanks!

@krshubham, the steps are as follows, if you cannot reproduce, we can close the issue.

  1. as not logged in user click in a join button of a project
  2. fill the form with your email and join text and click join
  3. click start participating
  4. register as new user
  5. after registering, the user should be logged in and added to the project.

@atfornes
The modal disappears after I register.
It does not happen in my dev setup, however I can see it happen on the currently deployed app! This should not happen ๐Ÿค”