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

Bookmarking doesn't reload page #2

Open
BrianZanti opened this issue Mar 23, 2020 · 0 comments
Open

Bookmarking doesn't reload page #2

BrianZanti opened this issue Mar 23, 2020 · 0 comments

Comments

@BrianZanti
Copy link
Collaborator

Background: When a user bookmarks a video the page reloads which means if they were watching a video, the video starts over making for a frustrating user experience. We can use JavaScript to make a POST request to /api/v1/bookmarks.

This story should make a fetch call to an internal API.

The app currently uses Stimulus JS and there are already examples of how to make a fetch call to an internal API. Review that code and use it as a template.

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