Skip to content

Conversation

LSantha
Copy link
Collaborator

@LSantha LSantha commented Jan 10, 2020

  • fixed the children of catalog landing page when the catalog landing page is included in navigation.
  • fixed field label and posting in catalog page properties

Related Issue

CIF-1129, CIF-1130

How Has This Been Tested?

Manually, unti testing.

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 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.

 * provide property type in catalog page properties
# Conflicts:
#	ui.apps/src/main/content/jcr_root/apps/core/cif/components/structure/catalogpage/v1/catalogpage/_cq_dialog/.content.xml
 * fix the type of showMainCategories attribute value
 * fix catalog page children in navigation
 * changed label and field description
 * improved posting logic to ensure that the JCR property always has a value
@codecov
Copy link

codecov bot commented Jan 10, 2020

Codecov Report

Merging #176 into master will increase coverage by 0.01%.
The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #176      +/-   ##
============================================
+ Coverage     56.96%   56.97%   +0.01%     
  Complexity      468      468              
============================================
  Files           147      147              
  Lines          4085     4084       -1     
  Branches        711      710       -1     
============================================
  Hits           2327     2327              
+ Misses         1668     1667       -1     
  Partials         90       90
Flag Coverage Δ Complexity Δ
#jest 37.56% <75%> (+0.01%) 0 <0> (ø) ⬇️
#karma 93.54% <ø> (ø) 0 <ø> (ø) ⬇️
#unittests 82.51% <ø> (ø) 468 <ø> (ø) ⬇️
Impacted Files Coverage Δ Complexity Δ
...ponents/src/components/Checkout/checkoutContext.js 26.47% <ø> (ø) 0 <0> (ø) ⬇️
react-components/src/components/Minicart/error.js 20% <0%> (ø) 0 <0> (ø) ⬇️
...ts/src/components/ChangePassword/changePassword.js 100% <100%> (ø) 0 <0> (ø) ⬇️
react-components/src/context/UserContext.js 95.52% <100%> (ø) 0 <0> (ø) ⬇️
...-components/src/components/Minicart/cartContext.js 25% <50%> (+0.55%) 0 <0> (ø) ⬇️

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 60e4d9a...fe1f1e4. Read the comment docs.

if (isCatalogRoot(page)) {
item = new CatalogPageNavigationItem(null, page, currentWcmItem);
} else {
String title = currentWcmItem.getTitle();
Copy link
Contributor

Choose a reason for hiding this comment

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

Only cosmetics and optimized by the compiler but these three variables are not really needed. Code can be reduced to one line.

@cjelger cjelger merged commit 83db0fc into master Jan 14, 2020
@cjelger cjelger deleted the CIF-1129 branch January 14, 2020 13:03
@herzog31 herzog31 added the bug Something isn't working label Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants