Forward relevant messages to the frontend

This commit is contained in:
R. Richard 2019-08-07 09:49:25 +02:00
parent f8ff0bcbb4
commit 09ffe2bdcf

View File

@ -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