voxmedia / autotune

Platform for reusable news tools
BSD 3-Clause "New" or "Revised" License
414 stars 33 forks source link

Live Preview: Page must be refreshed each time after saving for preview to load #318

Open jhdouglas opened 8 years ago

jhdouglas commented 8 years ago

When a user makes a change to a blueprint, it must be saved to retain those edits. Currently, if a user makes any edit to a project and saves that project, then the page must be reloaded in order to see the preview. If the page is not refreshed then the preview just continually indicates it’s loading.

1) Navigate to Autotune on staging 2) Create new project using live preview blueprint (http://staging.autotune.voxmedia.com/projects/polygon-my-timeline-neat) 3) Make an edit to any field 4) Save project 5) When it’s finished building attempt to preview 6) Observe preview never loads 7) Refresh page and return to preview 8) Note it displays

livepreview

caseymm commented 8 years ago

Also would like to get a :+1: on this from @ryanmark. It works, but I want to make sure that there isn't a different way that I should be doing this. Relevant change: https://github.com/voxmedia/autotune/commit/0c617bb0ffffa3ccb14c2b28200f3103aeaf6f78

katieodowd commented 8 years ago

@caseymm does this still need review?