From 09ffe2bdcf4639697007056c88e51ee4a82c2800 Mon Sep 17 00:00:00 2001 From: "R. Richard" Date: Wed, 7 Aug 2019 09:49:25 +0200 Subject: [PATCH] Forward relevant messages to the frontend --- tfw/components/frontend/frontend_handler.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tfw/components/frontend/frontend_handler.py b/tfw/components/frontend/frontend_handler.py index 5829ad7..7e35bc5 100644 --- a/tfw/components/frontend/frontend_handler.py +++ b/tfw/components/frontend/frontend_handler.py @@ -4,7 +4,21 @@ from .message_storage import FrontendMessageStorage class FrontendHandler: - keys = ['message', 'queueMessages', 'dashboard', 'console'] + # TODO: do not store dashboard messages like reloadFrontend + keys = [ + 'console.read', + 'console.write', + 'console.showLiveLogs', + 'console.rewriteContentWithProcessLogsOnDeploy', + 'dashboard.layout', + 'dashboard.hideMessages', + 'dashboard.terminalMenuItem', + 'dashboard.reloadFrontend', + 'dashboard.reloadIframe', + 'message.config', + 'message.queue', + 'message.send' + ] def __init__(self): self.connector = None