New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cq 4348367 changes for forms cc #996
Conversation
...c/main/content/jcr_root/conf/__appId__/settings/wcm/template-types/af-page-v2_1/.content.xml
Outdated
Show resolved
Hide resolved
sling:resourceType="${appId}/components/page" | ||
guideComponentType="fd/af/templates"> | ||
<guideContainer | ||
fd:version="2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fd:version="2.1" for everything related to core components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
cq:lastModifiedBy="admin" | ||
cq:templateType="/conf/headless01/settings/wcm/template-types/af-core-component-page-v2" | ||
jcr:primaryType="cq:PageContent" | ||
jcr:title="Blank With Core Components V2.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title needs update
sling:resourceType="${appId}/components/page" | ||
guideComponentType="fd/af/templates"> | ||
<guideContainer | ||
fd:version="2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fd:version="2.1"
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="wcm/core/components/policies/mapping"/> | ||
<guideContainer | ||
cq:policy="${appId}/components/adaptiveForm/formcontainer/default" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not able to see this policy in this PR. can you pls point me to the correct place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 540 in f57c7f9
<formcontainer jcr:primaryType="nt:unstructured"> |
src/main/archetype/pom.xml
Outdated
@@ -74,15 +74,15 @@ | |||
<aio.runtime.namespace>${env.AIO_RUNTIME_NAMESPACE}</aio.runtime.namespace> | |||
<aio.runtime.auth>${env.AIO_RUNTIME_AUTH}</aio.runtime.auth> | |||
#end | |||
<core.wcm.components.version>2.19.0</core.wcm.components.version> | |||
<core.wcm.components.version>2.21.0</core.wcm.components.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there's no requirement of update of wcm core, we can skip it.
fieldType="panel" | ||
jcr:title="Accordion"> | ||
<item_1 jcr:primaryType="nt:unstructured" | ||
jcr:title="item_1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets haveItem 1
as title instead of item_1.
layout="responsiveGrid"/> | ||
<item_2 jcr:primaryType="nt:unstructured" | ||
jcr:title="item_2" | ||
name="item_2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto for Item 2
src/main/archetype/pom.xml
Outdated
@@ -74,15 +74,15 @@ | |||
<aio.runtime.namespace>${env.AIO_RUNTIME_NAMESPACE}</aio.runtime.namespace> | |||
<aio.runtime.auth>${env.AIO_RUNTIME_AUTH}</aio.runtime.auth> | |||
#end | |||
<core.wcm.components.version>2.19.0</core.wcm.components.version> | |||
<core.wcm.components.version>2.21.0</core.wcm.components.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be changed.
@@ -3,5 +3,5 @@ | |||
jcr:description="Adaptive Form Container component" | |||
jcr:primaryType="cq:Component" | |||
jcr:title="Adaptive Form Container component" | |||
sling:resourceSuperType="core/fd/components/form/container/v1/container" | |||
sling:resourceSuperType="core/fd/components/form/container/v2/container" | |||
componentGroup="${appTitle} - Adaptive Forms"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have a hidden component group
We also need to update template type and template |
...apps/src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/accordion/.content.xml
Outdated
Show resolved
Hide resolved
.../src/main/content/jcr_root/apps/__appId__/components/adaptiveForm/fileinput/_cq_template.xml
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -7,6 +7,9 @@ | |||
#if ( $isSpaProject ) | |||
<spa-app-template /> | |||
<spa-page-template /> | |||
#end | |||
#if ( $includeFormsheadless ) | |||
<blank-af-v2/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank-af-v2 is required for forms core components. it should be included irrespective of headless flag.
...etype/ui.apps/src/main/content/jcr_root/apps/__appId__/components/page/customfooterlibs.html
Show resolved
Hide resolved
@@ -20,6 +20,7 @@ | |||
#end | |||
#if ( $includeFormsheadless == "y" ) | |||
<sly data-sly-call="${symbol_dollar}{clientlib.css @ categories='${appId}.forms.react'}" /> | |||
<sly data-sly-test="${symbol_dollar}{!wcmmode.edit}" data-sly-call="${symbol_dollar}{clientlib.css @ categories='core.forms.components.runtime.all'}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clientlibs should be included outside of headless flag. if includeForms or includeFormsEnrollment or communication is true.
… to only include headless spa
This reverts commit 859be02.
This reverts commit d4c6226.
Switch to ubuntu-20.04 as the update to 22.04 (https://github.blog/changelog/2022-11-09-github-actions-ubuntu-latest-workflows-will-use-ubuntu-22-04/) seems to be causing tests failures: ``` 2023-01-10T12:53:01.6940591Z [INFO] [INFO] Compiling @angular/router/testing : es2015 as esm2015 2023-01-10T12:53:05.2477787Z [INFO] [INFO] 10 01 2023 12:53:05.245:INFO [karma-server]: Karma v5.2.3 server started at http://localhost:9876/ 2023-01-10T12:53:05.2478369Z [INFO] [INFO] 10 01 2023 12:53:05.247:INFO [launcher]: Launching browsers ChromeHeadless with concurrency unlimited 2023-01-10T12:53:05.2497125Z [INFO] [INFO] (node:2292) [log4js-node-DEP0004] DeprecationWarning: Pattern %d{DATE} is deprecated due to the confusion it causes when used. Please use %d{DATETIME} instead. 2023-01-10T12:53:05.2498554Z [INFO] [INFO] (node:2292) [log4js-node-DEP0004] DeprecationWarning: Pattern %d{DATE} is deprecated due to the confusion it causes when used. Please use %d{DATETIME} instead. 2023-01-10T12:53:05.2505232Z [INFO] [INFO] 10 01 2023 12:53:05.250:INFO [launcher]: Starting browser ChromeHeadless 2023-01-10T12:53:05.2641898Z [INFO] [INFO] (node:2292) [log4js-node-DEP0004] DeprecationWarning: Pattern %d{DATE} is deprecated due to the confusion it causes when used. Please use %d{DATETIME} instead. 2023-01-10T12:53:07.0112167Z [INFO] [INFO] 10 01 2023 12:53:07.010:ERROR [launcher]: Cannot start ChromeHeadless 2023-01-10T12:53:07.0112824Z [INFO] [INFO] 2023-01-10T12:53:07.0113978Z [INFO] [INFO] DevTools listening on ws://127.0.0.1:9222/devtools/browser/b96a691d-ec85-4600-a87b-dc10ca506918 2023-01-10T12:53:07.0114595Z [INFO] [INFO] [0110/125305.697634:WARNING:gpu_process_host.cc(1265)] The GPU process has crashed 1 time(s) 2023-01-10T12:53:07.0162860Z [INFO] [INFO] [0110/125305.837689:WARNING:gpu_process_host.cc(1265)] The GPU process has crashed 2 time(s) 2023-01-10T12:53:07.0163597Z [INFO] [INFO] [0110/125305.968590:WARNING:gpu_process_host.cc(1265)] The GPU process has crashed 3 time(s) 2023-01-10T12:53:07.0166297Z [INFO] [INFO] [0110/125306.089230:WARNING:gpu_process_host.cc(1265)] The GPU process has crashed 4 time(s) 2023-01-10T12:53:07.0166760Z [INFO] [INFO] [0110/125306.209451:WARNING:gpu_process_host.cc(1265)] The GPU process has crashed 5 time(s) 2023-01-10T12:53:07.0167158Z [INFO] [INFO] [0110/125306.329345:WARNING:gpu_process_host.cc(1265)] The GPU process has crashed 6 time(s) 2023-01-10T12:53:07.0167866Z [INFO] [INFO] [0110/125306.329371:FATAL:gpu_data_manager_impl_private.cc(407)] GPU process isn't usable. Goodbye. 2023-01-10T12:53:07.0168464Z [INFO] [INFO] #0 0x5565114edb39 base::debug::CollectStackTrace() ```
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Proxy Components
Types of changes
Checklist: