From 5bf65ec8ac09ebea204bdd306a8b6460dee8567e Mon Sep 17 00:00:00 2001 From: pmoskrojas <69815070+pmoskrojas@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:39:04 -0400 Subject: [PATCH 01/11] FOUR-12891 Adding Display Screen Accordions and elements --- src/components/vue-form-builder.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/vue-form-builder.vue b/src/components/vue-form-builder.vue index 925ca52ac..fe3543109 100644 --- a/src/components/vue-form-builder.vue +++ b/src/components/vue-form-builder.vue @@ -546,7 +546,8 @@ const controlGroups = { "Nested Screen" ], Navigation: ["Page Navigation"], - Files: ["File Upload", "File Download", "File Preview"], + Dashboards: ["Saved Search Chart", "Analytics Chart"], + Files: ["File Upload", "File Download", "File Preview", "List Table"], Advanced: [ "Bootstrap Component", "Bootstrap Wrapper", @@ -580,10 +581,12 @@ const popoverContentMap = { "Loop": "Format content in a table structure and allow for adding rows", "Nested Screen": "Add a repeatable section of content", "Page Navigation": "Add and reuse another Form within this Form", + "Analytics Chart": "Add a chart from the Analytics Reports", "File Upload": "Add special buttons that link between subpages within this Form", "File Download": "Collect files uploaded into the Form", "File Preview": "Offer a File download", + "List Table": "Create List Table", "Bootstrap Component": "Add a Preview section that displays the content of a File", "Bootstrap Wrapper": @@ -681,6 +684,7 @@ export default { { key: "InputFields", label: "Input Fields" }, { key: "ContentFields", label: "Content Fields" }, { key: "Navigation", label: "Navigation" }, + { key: "Dashboards", label: "Dashboards" }, { key: "Files", label: "Files" }, { key: "Advanced", label: "Advanced" } ], @@ -719,9 +723,12 @@ export default { "Loop", "Nested Screen", "Page Navigation", + "Saved Search Chart", + "Analytics Chart", "File Upload", "File Download", "File Preview", + "List Table", "Bootstrap Component", "Bootstrap Wrapper", "Captcha", From 7afa00d20a4754c982428cfb3d87799d46a55015 Mon Sep 17 00:00:00 2001 From: pmoskrojas <69815070+pmoskrojas@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:21:32 -0400 Subject: [PATCH 02/11] FOUR-12881 Fix Balloon position --- src/components/vue-form-builder.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/vue-form-builder.vue b/src/components/vue-form-builder.vue index fe3543109..e67adee66 100644 --- a/src/components/vue-form-builder.vue +++ b/src/components/vue-form-builder.vue @@ -70,7 +70,10 @@ group.key ]" :key="elementIndex" - v-b-popover.hover.top="element.popoverContent" + v-b-popover.hover.right="{ + content: element.popoverContent, + customClass: 'custom-popover' + }" :boundary="'viewport'" :data-cy="`controls-${element.component}`" :class="{ @@ -1382,6 +1385,9 @@ export default {