Skip to content

IBX-11909: new main menu design#1944

Open
tischsoic wants to merge 12 commits into
ds-developmentfrom
new-menu
Open

IBX-11909: new main menu design#1944
tischsoic wants to merge 12 commits into
ds-developmentfrom
new-menu

Conversation

@tischsoic

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-11909

Description:

For QA:

Documentation:


for (const tooltipNode of tooltipsNode) {
bootstrap.Tooltip.getOrCreateInstance(tooltipNode).hide();
const tooltipInstance = bootstrap.Tooltip.getInstance(tooltipNode);

@tischsoic tischsoic Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note: fix needed to avoid creating tooltip instances when hiding tooltips, which circumvent our parse function's custom logic.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@tischsoic tischsoic marked this pull request as ready for review June 23, 2026 07:21
@tischsoic tischsoic requested a review from a team June 23, 2026 07:21
@ibexa-workflow-automation-1 ibexa-workflow-automation-1 Bot requested review from GrabowskiM, OstafinL, albozek, alekmick and dew326 and removed request for a team June 23, 2026 07:22
Comment on lines +50 to +52
padding: 1px 0;
margin-left: 12px;
margin-top: 8px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
padding: 1px 0;
margin-left: 12px;
margin-top: 8px;
padding: calculateRem(1px) 0;
margin-left: calculateRem(12px);
margin-top: calculateRem(8px);

Comment thread src/lib/Menu/MainMenuBuilder.php
display: flex;
flex-direction: column;
width: calculateRem(264px);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change

Comment on lines +186 to +188
margin-top: 8px;
margin-left: 10px;
padding: 1px 0;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
margin-top: 8px;
margin-left: 10px;
padding: 1px 0;
margin-top: calculateRem(8px);
margin-left: calculateRem(10px);
padding: calculateRem(1px) 0;

overflow: hidden;

> .ibexa-main-menu__items-list {
margin-left: 28px;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
margin-left: 28px;
margin-left: calculateRem(28)px;

} %}

<a {{ knp_menu.attributes(link_attributes) }}>{{ block('label') }}</a>
<a {{ knp_menu.attributes(link_attributes) }}>!!{{ block('label') }}</a>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
<a {{ knp_menu.attributes(link_attributes) }}>!!{{ block('label') }}</a>
<a {{ knp_menu.attributes(link_attributes) }}>{{ block('label') }}</a>

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.

7 participants