Closed simanerush closed 1 year ago
right now it only works for PDF previews, and HTML previews give you an empty PDF. we'd have to fix that first but then yeah
i'm also not super happy with where I have the preview button, because it implies that you're previewing the version of the file in the editor and not the last saved version, which is the truth
The latest commit I just pushed resolves my last concern — maybe not perfectly, but good enough to merge.
The other thing that was suggested by one of my coworkers was that we have a "Save & Preview" button, so that you can make changes, save them, and preview them, all without returning to the file list screen. They suggested either separate buttons or some sort of drop-down menu on the Save button
That could be a separate change made later, though
should this be merged into main?