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

Dashboard: restrict social sharing links #22016

Merged
merged 3 commits into from Apr 26, 2018

Conversation

breville
Copy link
Member

Share your project

already had Facebook and Twitter reachability checking, but Twitter link was not working, which is now fixed. A comment in the code asserts that this UI is not reachable by students < 13 years.

screenshot 2018-04-23 23 26 57

New congrats

now does reachability checking and < 13 years checking for the Facebook and Twitter share buttons.

screenshot 2018-04-23 23 25 00

End of puzzle dialog

already hid Facebook and Twitter buttons for < 13 years, now does reachability checking too.

screenshot 2018-04-23 23 24 16

Share your project: already had Facebook and Twitter reachability checking, but Twitter link was not working, which is now fixed.  A comment in the code asserts that this UI is not reachable by students < 13 years.

New congrats: now does reachability checking and < 13 years checking for the Facebook and Twitter share buttons.

End of puzzle dialog: already hid Facebook and Twitter buttons for < 13 years, now does reachability checking too.
Copy link
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment in the code asserts that this UI is not reachable by students < 13 years.

It has very recently become possible to enable project sharing for students under 13, so the comment you're referring to is no longer accurate. This means we would need an under-13 check in the share dialog code as well.

@breville
Copy link
Member Author

@davidsbailey Thanks for an excellent catch. I'd also been curious about that comment and learnt similar, so this PR will be updated to fix the comment and get the additional functionality.

Recent changes now allow students < 13 years to "share your project" if their teacher has allowed it.  A separate bug is tracking that the server currently rejects this sharing.  This change simply updates a related comment.
Copy link
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating!

@breville breville merged commit ef41305 into staging Apr 26, 2018
@breville breville deleted the dashboard-restrict-share-buttons branch April 26, 2018 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants