Skip to content

Conversation

@wiewiurdp
Copy link
Contributor

@wiewiurdp wiewiurdp commented Aug 12, 2025

🎫 Issue IBX-9855

Related PRs:

Description:

Added isHidden property to ContentTree Node

@wiewiurdp wiewiurdp marked this pull request as ready for review August 13, 2025 07:10
@wiewiurdp wiewiurdp requested a review from a team August 18, 2025 09:48
@ezrobot ezrobot requested review from Steveb-p, ViniTou, adamwojs, alongosz, barw4, ciastektk, konradoboza, mikadamczyk and tbialcz and removed request for a team August 18, 2025 09:48
public $isInvisible;

/** @var bool */
public $isHidden;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public $isHidden;
public bool $isHidden;

Comment on lines 56 to 57
$generator->startValueElement('isHidden', $generator->serializeBool($data->isHidden));
$generator->endValueElement('isHidden');
Copy link
Contributor

Choose a reason for hiding this comment

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

Use valueElement instead.

'', // node name will be provided later by `supplyTranslatedContentName` method
null !== $contentType ? $contentType->getIdentifier() : '',
null === $contentType || $contentType->isContainer(),
$location->isInvisible() || $location->isHidden(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't that behavior change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pawlakadrian pawlakadrian force-pushed the IBX-9855-fixing-visibility-status branch from 36396ef to a9f373a Compare August 20, 2025 12:27
@sonarqubecloud
Copy link

@pawlakadrian pawlakadrian self-requested a review August 21, 2025 12:51
Copy link
Contributor

@pawlakadrian pawlakadrian left a comment

Choose a reason for hiding this comment

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

QA Approved on DXP Commerce 4.6.x-dev

@adamwojs adamwojs merged commit 9467c90 into 4.6 Aug 21, 2025
29 checks passed
@adamwojs adamwojs deleted the IBX-9855-fixing-visibility-status branch August 21, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants