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

Materials Should Special Case Snap! Embeds #219

Open
1 of 2 tasks
cycomachead opened this issue Dec 11, 2021 · 1 comment
Open
1 of 2 tasks

Materials Should Special Case Snap! Embeds #219

cycomachead opened this issue Dec 11, 2021 · 1 comment

Comments

@cycomachead
Copy link
Member

I'm submitting a ..

  • Bug Report
  • Feature Request

If you embed a snap project we should replace the URL with a snap! embed page

@cycomachead
Copy link
Member Author

Turn a url like this:
https://snap.berkeley.edu/project?username=avi_shor&projectname=stamps
Into:
https://snap.berkeley.edu/embed?projectname=stamps&username=avi_shor&showTitle=true&showAuthor=true&editButton=true&pauseButton=true

Format of a "correct" URL
https://snap.berkeley.edu/embed?projectname={PROJECT_NAME}&username={USERNAME}&showTitle=true&showAuthor=true&editButton=true&pauseButton=true

Conditions: snap.berkeley.edu has query username and projectname --> "fixed" url

@cycomachead cycomachead added this to the Spring 2024 milestone Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant