Skip to content
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

Merged
merged 29 commits into from Jan 16, 2023
Merged

Conversation

barshat7
Copy link
Collaborator

@barshat7 barshat7 commented Oct 13, 2022

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Proxy Components

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

sling:resourceType="${appId}/components/page"
guideComponentType="fd/af/templates">
<guideContainer
fd:version="2.0"

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.

Copy link
Collaborator Author

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"

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"

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"

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@barshat7 barshat7 changed the title WIP - Cq 4348367 changes for forms cc Cq 4348367 changes for forms cc Oct 17, 2022
@barshat7 barshat7 added this to the 40 milestone Oct 17, 2022
@@ -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>

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"

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"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto for Item 2

@@ -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>
Copy link
Collaborator

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"/>
Copy link
Collaborator

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

@rismehta
Copy link
Collaborator

We also need to update template type and template

Copy link
Contributor

@sakshi-arora1 sakshi-arora1 left a 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/>

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.

@@ -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'}"/>

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.

@barshat7 barshat7 closed this Nov 1, 2022
@barshat7 barshat7 reopened this Dec 22, 2022
@barshat7 barshat7 changed the title Cq 4348367 changes for forms cc - Do Not Merge Cq 4348367 changes for forms cc Dec 22, 2022
barshatr and others added 11 commits January 3, 2023 13:32
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()
```
@barshat7 barshat7 removed the request for review from pankaj-parashar January 12, 2023 09:04
@barshat7 barshat7 closed this Jan 12, 2023
@barshat7 barshat7 deleted the CQ-4348367_changes_for_forms_cc branch January 12, 2023 10:20
@barshat7 barshat7 restored the CQ-4348367_changes_for_forms_cc branch January 12, 2023 10:21
@barshat7 barshat7 reopened this Jan 12, 2023
@vladbailescu vladbailescu merged commit 0867f0a into develop Jan 16, 2023
@vladbailescu vladbailescu deleted the CQ-4348367_changes_for_forms_cc branch January 16, 2023 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants