-
Notifications
You must be signed in to change notification settings - Fork 3
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
Create a "View Story" button in Raintale's GUI #26
Comments
Raintale's GUI is intended to create stories, but not necessarily distribute them. We don't want users to get into the habit of just sharing the story from the server. If the Raintale GUI is updated or reinstalled, the stories may disappear. We should also add a |
I've been thinking about how we could handle this for file outputs. We can modify the template in Here is a crude idea, but we can make it better. See how the Django template language checks for
We could place the button here, which deviates from the interface paradigm used on the rest of the page. If possible, a better idea is to identify this line with an HTML |
A user can view their Raintale story if they know which file link to click on, but this is not friendly.
A better way would be to have a "View Story" button as @himarshaj and I have discussed. It would have to be aware of how to handle different story types, for example:
Create Story From Preset
,Create Story From Template
, andCreate Video Story
this button will link to the file that was generated as part of the storytelling processTell Story With Facebook
andTell Story With Twitter
this button will link to the associated social media postWe need to figure out how Django's template engine can tell the difference. Maybe there is a control flow statement we can use that will change behavior based on the job type. A second challenge is how to read the URL from the output in the case of social media stories so we can alter the behavior of this button.
The template controlling this behavior is in
raintale-gui/templates/jobs/job_view.html
.The text was updated successfully, but these errors were encountered: