From 8a0c7e4b7395cb71a1a399577c282962d8c9f131 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Wed, 28 Oct 2026 16:08:20 -0300 Subject: [PATCH 01/17] Add a form outline to improve UX in large forms --- .htaccess | 56 --------------------------------------------- bin/build-plugin.sh | 2 ++ 2 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 .htaccess diff --git a/.htaccess b/.htaccess deleted file mode 100644 index 570dad17c5..0000000000 --- a/.htaccess +++ /dev/null @@ -1,56 +0,0 @@ -# Only allow direct access to specific Web-available files. - -# Apache 2.2 - - Order Deny,Allow - Deny from all - - -# Apache 2.4 - - Require all denied - - -# Allow all JavaScript files - - - Allow from all - - - - Require all granted - - - -# Allow all CSS files - - - Allow from all - - - - Require all granted - - - -# Allow all font files - - - Allow from all - - - - Require all granted - - - -# Allow all image files - - - Allow from all - - - - Require all granted - - diff --git a/bin/build-plugin.sh b/bin/build-plugin.sh index 296f60adc7..5763085cd0 100755 --- a/bin/build-plugin.sh +++ b/bin/build-plugin.sh @@ -62,6 +62,8 @@ fi # Run the build. status "Installing dependencies..." npm install +# npm install can replace a symlinked node_modules, so forget any npm path bash cached from it. +hash -r status "Generating build..." npm run build status "Minimizing JS..." From cb4b421fb95d41ed67fe38db75157ab218c5901b Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Wed, 28 Oct 2026 16:09:03 -0300 Subject: [PATCH 02/17] Add a form outline to improve UX in large forms --- classes/views/frm-forms/form.php | 14 ++ css/frm_admin.css | 2 +- js/formidable_admin.js | 2 +- js/src/admin/admin.js | 2 + js/src/admin/formOutline.js | 193 ++++++++++++++++++ .../components/builder/_form-outline.scss | 71 +++++++ resources/scss/admin/frm_admin.scss | 1 + 7 files changed, 283 insertions(+), 2 deletions(-) create mode 100644 js/src/admin/formOutline.js create mode 100644 resources/scss/admin/components/builder/_form-outline.scss diff --git a/classes/views/frm-forms/form.php b/classes/views/frm-forms/form.php index 829eb68c9e..46ce49657e 100644 --- a/classes/views/frm-forms/form.php +++ b/classes/views/frm-forms/form.php @@ -46,6 +46,20 @@ ?> + = 10 ) : ?> +
+ +
+ + + +

+
+
+ +