From c2d84eef870b040eb1472f0f98ade1193a0aad13 Mon Sep 17 00:00:00 2001 From: egorgripasov Date: Sat, 18 Jul 2020 12:48:43 -0400 Subject: [PATCH 1/2] Display BotFactory logs. --- packages/console-app/src/containers/panels/bots/Bots.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/console-app/src/containers/panels/bots/Bots.js b/packages/console-app/src/containers/panels/bots/Bots.js index 5e903c0..e79344c 100644 --- a/packages/console-app/src/containers/panels/bots/Bots.js +++ b/packages/console-app/src/containers/panels/bots/Bots.js @@ -11,8 +11,10 @@ import Panel from '../../../components/Panel'; import Toolbar from '../../../components/Toolbar'; import BotRecords from './BotRecords'; +import LogPoller from '../../../components/LogPoller'; const TAB_RECORDS = 'records'; +const TAB_LOG = 'log'; const useStyles = makeStyles(theme => ({ root: {} @@ -29,6 +31,7 @@ const Bots = () => { setTab(value)}> + } @@ -36,6 +39,10 @@ const Bots = () => { {tab === TAB_RECORDS && ( )} + + {tab === TAB_LOG && ( + + )} ); }; From a4c36959f0b906fe2a88282d79b6b491a40d5413 Mon Sep 17 00:00:00 2001 From: egorgripasov Date: Mon, 20 Jul 2020 11:24:33 -0400 Subject: [PATCH 2/2] Add wns tab for Bot Factories. --- packages/console-app/src/containers/panels/wns/WNSRecords.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/console-app/src/containers/panels/wns/WNSRecords.js b/packages/console-app/src/containers/panels/wns/WNSRecords.js index 30fd136..1b31a16 100644 --- a/packages/console-app/src/containers/panels/wns/WNSRecords.js +++ b/packages/console-app/src/containers/panels/wns/WNSRecords.js @@ -30,6 +30,7 @@ const types = [ { key: 'wrn:service', label: 'Service' }, { key: 'wrn:app', label: 'App' }, { key: 'wrn:bot', label: 'Bot' }, + { key: 'wrn:bot-factory', label: 'Bot Factory' }, { key: 'wrn:type', label: 'Type' } ];