mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-22 22:41:57 +00:00
Forward relevant messages to the frontend
This commit is contained in:
parent
f8ff0bcbb4
commit
09ffe2bdcf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user