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

Join event button not available #457

Open
rth opened this issue Nov 4, 2020 · 4 comments
Open

Join event button not available #457

rth opened this issue Nov 4, 2020 · 4 comments
Labels

Comments

@rth
Copy link
Collaborator

rth commented Nov 4, 2020

We have seen reports of some users not seeing any join event button on the event page on https://ramp.studio (using ramp-board 0.6.2). For instance,

image

There were no obvious Javascript errors client side.

It looks like something in this logic is not quite right,

{% if approved %}
<li class="btn-success" style="pointer-events: none;">
<a>Event joined <span class="sr-only">(current)</span></a>
</li>
{% elif current_user.access_level in ['user', 'admin'] %} {% if
asked %}
<li class="btn-danger" style="pointer-events: none;">
<a>Waiting approval... <span class="sr-only">(current)</span></a>
</li>
{% else %}
<li class="btn-primary">
<a href="/events/{{ event.name }}/sign_up">Join event <span class="sr-only">(current)</span></a>
</li>
{% endif %} {% endif %}

In particular, this was an event with event sign_up validation necessary. Users platform sign_up was validated (and they were logged-in).

The workaround is to manually append /sign_up to the URL (which works).

@rth rth added the bug label Nov 4, 2020
@maikia
Copy link
Contributor

maikia commented Nov 4, 2020

Do you think it might be a problem of a browser (do you know which one they used)? Do they see it when they use another browser? (I have seen similar issue but with the approve button when using firefox but not when using chrome)

@rth
Copy link
Collaborator Author

rth commented Nov 4, 2020

There were like 11 people out of 40 having this issue with different browsers (both Chrome and Firefox). That button is generated on the backend as far as I can tell, so browser shouldn't matter I think.

@joelgarde
Copy link

I had the issuer both with Firefox and Chromimum. Tried without ad-blocker with no success. Tried again after login-out and login-in again, still no button.

adding /sign_up to the challenge url gave me a notification.

no_button
added_sign_up

@joelgarde
Copy link

I had the issuer both with Firefox and Chromimum. Tried without ad-blocker with no success. Tried again after login-out and login-in again, still no button.

adding /sign_up to the challenge url gave me a notification.

no_button
added_sign_up

Update: The button did appear once the request was accepted.

green_button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants