Merged
Conversation
Contributor
Author
|
Updated to no longer use zip files. Using a waffle_ecto PR, we are able to upload arrays instead of just single items. Interactive projects are now an array of files. A default project will be loaded if the user has it enabled, but no project has been uploaded. The The last thing to do is to ensure old files are being removed from storage (see discord conversation) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Interactive to Glimesh
See building Glimesh post for more info.
Current Status
Currently, the zip files are stored with waffle. The extracted files (what are served to the user) are stored and served locally. This will need to be changed in production. A few other changes will need to be made but I wanted to get some of this reviewed before going any further.
Other Changes
interactiveinteractive_enabledandinteractive_project/interactiverouteRun the example project
An example project is attached. You will need to unzip it and make the following changes.
exampleProjectConfetti.zip
Now to enable it -
Channel settings -> Interactive
Go to your channel and press the interactive button. It should display the project.
Click to show confetti. Alternativly, send the mutation over the API as shown in the js file.
You don't need the
interactivescope but you will need the ID of your channel (sessionID)!