JohnAdders / climate_narrative

CBES/NGFS scenario analysis narrative tool to support smaller firms
MIT License
3 stars 7 forks source link

Content editor #255

Closed krzmip closed 2 years ago

krzmip commented 2 years ago

A new tab that (after adding enable_editor: Y in the secret file) allows to edit exposure_class (sector) files. The editor utilizes WYSIWYG editor from package shinymarkdown to facilitate text formatting. It even allows to add images (they are added as inline data though, not uploaded as separate files). Closes #248 .

Apart from this, I added a minor feature to sleep in the report production process (by adding report_sleep: x, where x is time in seconds), which may be helpful to investigate async report production.

UPDATE (9 Aug): I added password protection for the content editor, the password is set in the secret file under the name "editor_code"