From 682d16aca16e32e739b8950612f55acc8ba69cf6 Mon Sep 17 00:00:00 2001 From: tony-tvu Date: Mon, 5 Feb 2024 12:23:52 -0600 Subject: [PATCH 1/2] convert js files to jsx --- web/src/app/dialogs/{FormDialog.js => FormDialog.jsx} | 0 .../{DialogContentError.js => DialogContentError.jsx} | 0 .../{DialogTitleWrapper.js => DialogTitleWrapper.jsx} | 0 web/src/app/forms/{Form.js => Form.jsx} | 0 web/src/app/forms/{FormContainer.js => FormContainer.jsx} | 0 web/src/app/forms/{FormField.js => FormField.jsx} | 2 ++ web/src/app/main/{ErrorBoundary.js => ErrorBoundary.jsx} | 0 web/src/app/util/{OtherActions.js => OtherActions.jsx} | 0 .../util/{OtherActionsDesktop.js => OtherActionsDesktop.jsx} | 0 .../app/util/{OtherActionsMobile.js => OtherActionsMobile.jsx} | 0 10 files changed, 2 insertions(+) rename web/src/app/dialogs/{FormDialog.js => FormDialog.jsx} (100%) rename web/src/app/dialogs/components/{DialogContentError.js => DialogContentError.jsx} (100%) rename web/src/app/dialogs/components/{DialogTitleWrapper.js => DialogTitleWrapper.jsx} (100%) rename web/src/app/forms/{Form.js => Form.jsx} (100%) rename web/src/app/forms/{FormContainer.js => FormContainer.jsx} (100%) rename web/src/app/forms/{FormField.js => FormField.jsx} (99%) rename web/src/app/main/{ErrorBoundary.js => ErrorBoundary.jsx} (100%) rename web/src/app/util/{OtherActions.js => OtherActions.jsx} (100%) rename web/src/app/util/{OtherActionsDesktop.js => OtherActionsDesktop.jsx} (100%) rename web/src/app/util/{OtherActionsMobile.js => OtherActionsMobile.jsx} (100%) diff --git a/web/src/app/dialogs/FormDialog.js b/web/src/app/dialogs/FormDialog.jsx similarity index 100% rename from web/src/app/dialogs/FormDialog.js rename to web/src/app/dialogs/FormDialog.jsx diff --git a/web/src/app/dialogs/components/DialogContentError.js b/web/src/app/dialogs/components/DialogContentError.jsx similarity index 100% rename from web/src/app/dialogs/components/DialogContentError.js rename to web/src/app/dialogs/components/DialogContentError.jsx diff --git a/web/src/app/dialogs/components/DialogTitleWrapper.js b/web/src/app/dialogs/components/DialogTitleWrapper.jsx similarity index 100% rename from web/src/app/dialogs/components/DialogTitleWrapper.js rename to web/src/app/dialogs/components/DialogTitleWrapper.jsx diff --git a/web/src/app/forms/Form.js b/web/src/app/forms/Form.jsx similarity index 100% rename from web/src/app/forms/Form.js rename to web/src/app/forms/Form.jsx diff --git a/web/src/app/forms/FormContainer.js b/web/src/app/forms/FormContainer.jsx similarity index 100% rename from web/src/app/forms/FormContainer.js rename to web/src/app/forms/FormContainer.jsx diff --git a/web/src/app/forms/FormField.js b/web/src/app/forms/FormField.jsx similarity index 99% rename from web/src/app/forms/FormField.js rename to web/src/app/forms/FormField.jsx index 96041e8ada..372a8dee25 100644 --- a/web/src/app/forms/FormField.js +++ b/web/src/app/forms/FormField.jsx @@ -285,6 +285,8 @@ FormField.propTypes = { value: p.oneOfType([p.string, p.arrayOf(p.string)]), + destType: p.string, + multiple: p.bool, options: p.arrayOf( diff --git a/web/src/app/main/ErrorBoundary.js b/web/src/app/main/ErrorBoundary.jsx similarity index 100% rename from web/src/app/main/ErrorBoundary.js rename to web/src/app/main/ErrorBoundary.jsx diff --git a/web/src/app/util/OtherActions.js b/web/src/app/util/OtherActions.jsx similarity index 100% rename from web/src/app/util/OtherActions.js rename to web/src/app/util/OtherActions.jsx diff --git a/web/src/app/util/OtherActionsDesktop.js b/web/src/app/util/OtherActionsDesktop.jsx similarity index 100% rename from web/src/app/util/OtherActionsDesktop.js rename to web/src/app/util/OtherActionsDesktop.jsx diff --git a/web/src/app/util/OtherActionsMobile.js b/web/src/app/util/OtherActionsMobile.jsx similarity index 100% rename from web/src/app/util/OtherActionsMobile.js rename to web/src/app/util/OtherActionsMobile.jsx From 72e35a0f8d9135047b67665981808ce3e620834d Mon Sep 17 00:00:00 2001 From: tony-tvu Date: Mon, 5 Feb 2024 12:25:32 -0600 Subject: [PATCH 2/2] remove out of scope field --- web/src/app/forms/FormField.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/src/app/forms/FormField.jsx b/web/src/app/forms/FormField.jsx index 372a8dee25..96041e8ada 100644 --- a/web/src/app/forms/FormField.jsx +++ b/web/src/app/forms/FormField.jsx @@ -285,8 +285,6 @@ FormField.propTypes = { value: p.oneOfType([p.string, p.arrayOf(p.string)]), - destType: p.string, - multiple: p.bool, options: p.arrayOf(