Grasia / teem

Teem is a web tool and mobile app for collaboration in communities, which facilitates onboarding of newcomers

Home Page:http://teem.works/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

atfornes opened this issue · 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!

😉 👍

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 🤔