From 6f3d403491e83bcd8c8839dea745f3f5f5486db8 Mon Sep 17 00:00:00 2001 From: mcbrewster <37322608+mcbrewster@users.noreply.github.com> Date: Wed, 8 Apr 2020 17:34:59 -0600 Subject: [PATCH] Use auto-form for add an edit lookups (#9587) * use auto form * jest -u * fix unreachable statment * complete the owl * jest -u * remove changes to query-view * fix permissions * add test, fix info * add cool highlights * fix formatting * fix capitalization * add optional placeholder * add space --- .../lookup-edit-dialog.spec.tsx.snap | 254 ++++++--- .../lookup-edit-dialog.scss | 4 +- .../lookup-edit-dialog.spec.tsx | 434 +++++++++++++- .../lookup-edit-dialog/lookup-edit-dialog.tsx | 532 ++++++++++++++++-- .../src/views/lookups-view/lookups-view.tsx | 22 +- 5 files changed, 1104 insertions(+), 142 deletions(-) diff --git a/web-console/src/dialogs/lookup-edit-dialog/__snapshots__/lookup-edit-dialog.spec.tsx.snap b/web-console/src/dialogs/lookup-edit-dialog/__snapshots__/lookup-edit-dialog.spec.tsx.snap index cb608233d7e..eb627359295 100644 --- a/web-console/src/dialogs/lookup-edit-dialog/__snapshots__/lookup-edit-dialog.spec.tsx.snap +++ b/web-console/src/dialogs/lookup-edit-dialog/__snapshots__/lookup-edit-dialog.spec.tsx.snap @@ -58,7 +58,7 @@ exports[`lookup edit dialog matches snapshot 1`] = `