Skip to content

Conversation

cjelger
Copy link
Contributor

@cjelger cjelger commented May 8, 2020

This creates the basic content required to extend the WCM Core Component Library with commerce components. The PR includes a first example with the product component, that will have to be extended in follow-up PRs for all the CIF components.

How Has This Been Tested?

Manually tested.

Screenshots (if appropriate):

Screenshot 2020-05-08 at 12 01 34

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:

  • 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 and the overall coverage did not decrease.
  • All unit tests pass on CircleCi.
  • I ran all tests locally and they pass.

cjelger added 9 commits May 7, 2020 11:20
…ide components

- configure CIF section of the core components library
…ide components

- removed unneeded image
- moved dependency version to parent pom
…ide components

- reverted version change for the components
…ide components

- add documentation to generate the venia.css file
@codecov
Copy link

codecov bot commented May 8, 2020

Codecov Report

Merging #265 into master will decrease coverage by 0.01%.
The diff coverage is 50.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #265      +/-   ##
============================================
- Coverage     63.20%   63.19%   -0.02%     
- Complexity      752      755       +3     
============================================
  Files           172      172              
  Lines          5360     5360              
  Branches        840      842       +2     
============================================
- Hits           3388     3387       -1     
  Misses         1856     1856              
- Partials        116      117       +1     
Flag Coverage Δ Complexity Δ
#jest 40.82% <ø> (ø) 0.00 <ø> (ø)
#karma 94.88% <ø> (ø) 0.00 <ø> (ø)
#unittests 85.10% <50.00%> (-0.05%) 755.00 <0.00> (+3.00) ⬇️
Impacted Files Coverage Δ Complexity Δ
...onents/internal/models/v1/product/ProductImpl.java 84.34% <50.00%> (-0.87%) 45.00 <0.00> (+3.00) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4f4d5b...67b518e. Read the comment docs.

…ide components

- allow coverage to decrease by max 10%
*
******************************************************************************/
/*******************************************************************************
* ADOBE CONFIDENTIAL
Copy link
Member

Choose a reason for hiding this comment

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

This should not be here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file is generated: this header is coming from one of the css file, actually https://github.com/adobe/aem-cif-project-archetype/blob/master/src/main/archetype/ui.apps/src/main/content/jcr_root/apps/__appsFolderName__/clientlibs/theme/components/minicart/flow.css but there might be more with the "wrong" header. I didn't want to use any plugin to remove headers/comments or minimise the file: I'd rather invest more time to automate this in a separate issue.

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
allowProxy="{Boolean}true"
categories="[venia-theme]"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we use a different name instead of "Venia"?
Before you ask, I don't have another suggestion :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd keep venia, we do really use the venia theme from the archetype. ;-)

@cjelger cjelger added documentation Documentation issue To Verify labels May 11, 2020
examples/pom.xml Outdated
<groupId>com.adobe.commerce.cif</groupId>
<artifactId>core-cif-components-parent</artifactId>
<version>0.10.2-SNAPSHOT</version>
<relativePath>parent/pom.xml</relativePath>
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be ../parent/pom.xml

@cjelger cjelger merged commit f1db876 into master May 12, 2020
@cjelger cjelger deleted the CIF-890 branch May 12, 2020 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation issue To Verify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants