From 2e94cd660ca863743ee17146187c716e4774196f Mon Sep 17 00:00:00 2001
From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
Date: Fri, 8 Jul 2022 09:35:32 +0200
Subject: [PATCH] Playground form (#1129)
* playground form
* playground context fields
* playground interactive json form
* add playground route
* remove memo from select options generation
* add toast when playground context parsing fails
* add error handling when adding a fiedl to playground context
* remove playground context options memo
---
frontend/src/component/menu/Header/Header.tsx | 6 +
.../__snapshots__/routes.test.tsx.snap | 10 ++
frontend/src/component/menu/routes.ts | 11 ++
.../playground/Playground/Playground.tsx | 92 ++++++++++
.../PlaygroundCodeFieldset.tsx | 162 ++++++++++++++++++
.../PlaygroundConnectionFieldset.tsx | 104 +++++++++++
6 files changed, 385 insertions(+)
create mode 100644 frontend/src/component/playground/Playground/Playground.tsx
create mode 100644 frontend/src/component/playground/Playground/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx
create mode 100644 frontend/src/component/playground/Playground/PlaygroundConnectionFieldset/PlaygroundConnectionFieldset.tsx
diff --git a/frontend/src/component/menu/Header/Header.tsx b/frontend/src/component/menu/Header/Header.tsx
index facdb236ce..d79afd3e7a 100644
--- a/frontend/src/component/menu/Header/Header.tsx
+++ b/frontend/src/component/menu/Header/Header.tsx
@@ -127,6 +127,12 @@ const Header: VFC = () => {
Feature toggles
+
+ Playground
+