// SPDX-License-Identifier: GPL-3.0-only // Included within App: navigation is transient and has no save authority. Json news_view_ = {{"folder", "inbox"}, {"query", ""}, {"feedback", ""}}; std::string news_dialog_, news_return_focus_; Json news_undo_; uint64_t news_undo_revision_ = 0; std::shared_ptr news_world_; const DataSource *news_source_ = nullptr; float news_scroll_ = 0.f; bool news_restore_scroll_ = false; std::string render_news(); std::string render_news_widget(const Json &); std::string render_news_feed(const Json &); std::string render_news_art(const Json &, double size = 150); std::string render_news_detail(const Json &); bool dispatch_news(const std::string &, Rml::Element *); bool news_event(Rml::Event &); void reset_news(bool preserve_view = false); void news_before_render(); void news_after_render(); void news_update_feed(); bool news_commit(const Json &, const std::string &, bool remember = true);