Skip to content

Conversation

mnocon
Copy link
Contributor

@mnocon mnocon commented Jun 27, 2025

Copy link

Preview of modified files

Preview of modified Markdown:

@mnocon mnocon force-pushed the add-menu-component-doc branch from f9a39d4 to b7726fa Compare July 10, 2025 07:43

| Name | Description | YAML type |
|---|---|---|
| [Controller](https://github.com/ibexa/twig-components/blob/main/src/lib/Component/ControllerComponent.php) | Renders a Symfony controller |`controller` |
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've ordered these entries alphabetically, no other changes here except adding the menu entry

admin-ui-stylesheet-head:
custom-link-component:
type: stylesheet
custom-html-component:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ordered the examples to match the order from the table

@mnocon mnocon force-pushed the add-menu-component-doc branch from b7726fa to c5e6526 Compare July 10, 2025 07:50
@mnocon mnocon changed the title [WIP] Add menu Twig component doc [Twig Components] Added Menu component Jul 10, 2025
Copy link

code_samples/ change report

Before (on target branch)After (in current PR)

code_samples/back_office/components/twig_components.yaml


code_samples/back_office/components/twig_components.yaml

docs/templating/components.md@69:``` yaml
docs/templating/components.md@70:[[= include_file('code_samples/back_office/components/twig_components.yaml') =]]
docs/templating/components.md@71:```
docs/templating/components.md@83:``` yaml
docs/templating/components.md@84:[[= include_file('code_samples/back_office/components/twig_components.yaml') =]]
docs/templating/components.md@85:```

001⫶ibexa_twig_components:
002⫶ admin-ui-user-menu:

001⫶ibexa_twig_components:
002⫶ admin-ui-user-menu:
003⫶        custom-html-component:
004⫶ type: html
003⫶        custom-controller-component:
004⫶ type: controller
005⫶            arguments:
005⫶            arguments:
006⫶                content: '<b>Hello world!</b>'
007⫶ custom-template-component:
008⫶ type: template
009⫶ arguments:
010⫶ template: '@ibexadesign/ui/component/user_thumbnail/user_thumbnail.html.twig'
011⫶ parameters:
012⫶ user_content:
013⫶ name: "Thumbnail"
014⫶ thumbnail:
015⫶ resource: https://placecats.com/100/100
016⫶ custom-controller-component:
017⫶ type: controller
018⫶ arguments:
019⫶ controller: '\App\Controller\MyController::requestAction'
020⫶ parameters:
021⫶ parameter1: 'custom'
022⫶ parameter2: true
023⫶ admin-ui-stylesheet-head:
024⫶ custom-link-component:
025⫶ type: stylesheet
026⫶ arguments:
027⫶ href: 'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback'
028⫶ rel: stylesheet
029⫶ crossorigin: anonymous
030⫶ integrity: sha384-LN/mLhO/GN6Ge8ZPvI7uRsZpiXmtSkep+aFlJcHa8by4TvA34o1am9sa88eUzKTD
031⫶ type: text/css
032⫶ admin-ui-script-head:
033⫶ custom-script-component:
034⫶ type: script
035⫶ arguments:
036⫶ src: 'https://doc.ibexa.co/en/latest/js/custom.js'
006⫶                controller: '\App\Controller\MyController::requestAction'
007⫶ parameters:
008⫶ parameter1: 'custom'
009⫶ parameter2: true
010⫶ custom-html-component:
011⫶ type: html
012⫶ arguments:
013⫶ content: '<b>Hello world!</b>'
014⫶ admin-ui-user-menu:
015⫶ duplicated_user_menu:
016⫶ type: menu
017⫶ arguments:
018⫶ name: ezplatform_admin_ui.menu.user
019⫶ template: '@ibexadesign/ui/menu/user.html.twig'
020⫶ depth: 1
021⫶ admin-ui-script-head:
022⫶ custom-script-component:
023⫶ type: script
024⫶ arguments:
025⫶ src: 'https://doc.ibexa.co/en/latest/js/custom.js'
026⫶ crossorigin: anonymous
027⫶ defer: false
028⫶ async: true
029⫶ integrity: sha384-Ewi2bBDtPbbu4/+fs8sIbBJ3zVl0LDOSznfhFR/JBK+SzggdRdX8XQKauWmI9HH2
030⫶ type: text/javascript
031⫶ admin-ui-stylesheet-head:
032⫶ custom-link-component:
033⫶ type: stylesheet
034⫶ arguments:
035⫶ href: 'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback'
036⫶ rel: stylesheet
037⫶                crossorigin: anonymous
037⫶                crossorigin: anonymous
038⫶                defer: false
039⫶ async: true
040⫶ integrity: sha384-Ewi2bBDtPbbu4/+fs8sIbBJ3zVl0LDOSznfhFR/JBK+SzggdRdX8XQKauWmI9HH2
041⫶ type: text/javascript
038⫶                integrity: sha384-LN/mLhO/GN6Ge8ZPvI7uRsZpiXmtSkep+aFlJcHa8by4TvA34o1am9sa88eUzKTD
039⫶ type: text/css
040⫶ admin-ui-global-search:
041⫶ custom-template-component:
042⫶ type: template
043⫶ arguments:
044⫶ template: '@ibexadesign/ui/component/user_thumbnail/user_thumbnail.html.twig'
045⫶ parameters:
046⫶ user_content:
047⫶ name: "Thumbnail"
048⫶ thumbnail:
049⫶ resource: https://placecats.com/100/100


Download colorized diff

@mnocon mnocon marked this pull request as ready for review July 10, 2025 08:15
@mnocon mnocon requested a review from wiewiurdp July 10, 2025 08:40
@mnocon mnocon requested a review from a team July 15, 2025 14:15
@ezrobot ezrobot requested review from adriendupuis, dabrt and julitafalcondusza and removed request for a team July 15, 2025 14:15
@mnocon mnocon added Wait with merge PRs that shouldn't be merged instantly Ready for MERGE and removed Needs DOC review labels Jul 16, 2025
@mnocon mnocon changed the base branch from 4.6 to release-4.6.22 August 5, 2025 11:11
@mnocon mnocon force-pushed the add-menu-component-doc branch from c5e6526 to bd89441 Compare August 5, 2025 11:13
@mnocon mnocon merged commit c64cff4 into release-4.6.22 Aug 5, 2025
5 of 7 checks passed
@mnocon mnocon deleted the add-menu-component-doc branch August 5, 2025 11:15
@mnocon mnocon mentioned this pull request Aug 5, 2025
mnocon added a commit that referenced this pull request Aug 6, 2025
* Docs: Add Menu component to Twig Components documentation

* Docs: Extend Twig Components YAML example with Menu component
mnocon added a commit that referenced this pull request Aug 6, 2025
* Added new Twig Component group (#2790)

* Twig Component follow ups (#2792)

* Added Priority for YAML configuration

* Added doc for storefront groups

* Adjusted paths

* Update docs/templating/layout/customize_storefront_layout.md

Co-authored-by: julitafalcondusza <[email protected]>

---------

Co-authored-by: julitafalcondusza <[email protected]>

* [Twig Components] Added Menu component (#2799)

* Docs: Add Menu component to Twig Components documentation

* Docs: Extend Twig Components YAML example with Menu component

* Discounts 4.6.22 (#2810)

* Adjusted code samples

* [Discounts] Added doc for 4.6.22

* Fixed limit mention

* Added update mention

* Removed mentions of OverridePrioritatization

* Wording

* Update code_samples/discounts/src/Command/ManageDiscountsCommand.php

Co-authored-by: Konrad Oboza <[email protected]>

* Fixed highlights

* Review suggestions

* Added missing v prefix

---------

Co-authored-by: Konrad Oboza <[email protected]>

* IBX-9147: Symbol attribute type described in Developer Documentation - v4.6 (#2525)

* Symbol attribute type described

* Fixes after review

* PHP CS Fixes

* Resolved conflicts in product search criteria

* Added composer dependency

* fixes

* review fixes

* PHP & JS CS Fixes

* symbol_attribute_type.md moved to Attributes folder

* fixes; mysql added

* fix in the table

* fix

---------

Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Marek Nocoń <[email protected]>

* Update 4.6.22 (#2851)

* Adjusted code samples

* [Discounts] Added doc for 4.6.22

* Fixed limit mention

* Added update mention

* Removed mentions of OverridePrioritatization

* Wording

* Update code_samples/discounts/src/Command/ManageDiscountsCommand.php

Co-authored-by: Konrad Oboza <[email protected]>

* Fixed highlights

* Review suggestions

* Added missing v prefix

* Added doc for IBX-9933

* Fixed badge

---------

Co-authored-by: Konrad Oboza <[email protected]>

* IBX-9845: Solr9 (#2866)

* Adjusted code samples

* [Discounts] Added doc for 4.6.22

* Fixed limit mention

* Added update mention

* Removed mentions of OverridePrioritatization

* Wording

* Update code_samples/discounts/src/Command/ManageDiscountsCommand.php

Co-authored-by: Konrad Oboza <[email protected]>

* Fixed highlights

* Review suggestions

* Added missing v prefix

* Described requirements

* Added Solr 9 instructions

* Fixed link

* Updated instructions

* Apply suggestions from code review

Co-authored-by: julitafalcondusza <[email protected]>

---------

Co-authored-by: Konrad Oboza <[email protected]>
Co-authored-by: julitafalcondusza <[email protected]>

* Release notes (#2869)

* IBX-10262: Added mention of the renamed class

* Release notes for 4.6.22

* Apply suggestions from code review

Co-authored-by: julitafalcondusza <[email protected]>

* Review fixes

* Fixed link

* Last minute fixes

---------

Co-authored-by: julitafalcondusza <[email protected]>

* Regenerated baseline

* Removed bullet

* Bumped latest tag

* Added PHP API links

* Added mention about Symbol attribute

* Fixed link

* Moved PHP API Symbol links

* symbol_attribute_type.md: Link to PHP API Ref

---------

Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Konrad Oboza <[email protected]>
Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Adrien Dupuis <[email protected]>
mnocon added a commit that referenced this pull request Aug 6, 2025
* Added new Twig Component group (#2790)

* Twig Component follow ups (#2792)

* Added Priority for YAML configuration

* Added doc for storefront groups

* Adjusted paths

* Update docs/templating/layout/customize_storefront_layout.md

Co-authored-by: julitafalcondusza <[email protected]>

---------

Co-authored-by: julitafalcondusza <[email protected]>

* [Twig Components] Added Menu component (#2799)

* Docs: Add Menu component to Twig Components documentation

* Docs: Extend Twig Components YAML example with Menu component

* Discounts 4.6.22 (#2810)

* Adjusted code samples

* [Discounts] Added doc for 4.6.22

* Fixed limit mention

* Added update mention

* Removed mentions of OverridePrioritatization

* Wording

* Update code_samples/discounts/src/Command/ManageDiscountsCommand.php

Co-authored-by: Konrad Oboza <[email protected]>

* Fixed highlights

* Review suggestions

* Added missing v prefix

---------

Co-authored-by: Konrad Oboza <[email protected]>

* IBX-9147: Symbol attribute type described in Developer Documentation - v4.6 (#2525)

* Symbol attribute type described

* Fixes after review

* PHP CS Fixes

* Resolved conflicts in product search criteria

* Added composer dependency

* fixes

* review fixes

* PHP & JS CS Fixes

* symbol_attribute_type.md moved to Attributes folder

* fixes; mysql added

* fix in the table

* fix

---------

Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Marek Nocoń <[email protected]>

* Update 4.6.22 (#2851)

* Adjusted code samples

* [Discounts] Added doc for 4.6.22

* Fixed limit mention

* Added update mention

* Removed mentions of OverridePrioritatization

* Wording

* Update code_samples/discounts/src/Command/ManageDiscountsCommand.php

Co-authored-by: Konrad Oboza <[email protected]>

* Fixed highlights

* Review suggestions

* Added missing v prefix

* Added doc for IBX-9933

* Fixed badge

---------

Co-authored-by: Konrad Oboza <[email protected]>

* IBX-9845: Solr9 (#2866)

* Adjusted code samples

* [Discounts] Added doc for 4.6.22

* Fixed limit mention

* Added update mention

* Removed mentions of OverridePrioritatization

* Wording

* Update code_samples/discounts/src/Command/ManageDiscountsCommand.php

Co-authored-by: Konrad Oboza <[email protected]>

* Fixed highlights

* Review suggestions

* Added missing v prefix

* Described requirements

* Added Solr 9 instructions

* Fixed link

* Updated instructions

* Apply suggestions from code review

Co-authored-by: julitafalcondusza <[email protected]>

---------

Co-authored-by: Konrad Oboza <[email protected]>
Co-authored-by: julitafalcondusza <[email protected]>

* Release notes (#2869)

* IBX-10262: Added mention of the renamed class

* Release notes for 4.6.22

* Apply suggestions from code review

Co-authored-by: julitafalcondusza <[email protected]>

* Review fixes

* Fixed link

* Last minute fixes

---------

Co-authored-by: julitafalcondusza <[email protected]>

* Regenerated baseline

* Removed bullet

* Bumped latest tag

* Added PHP API links

* Added mention about Symbol attribute

* Fixed link

* Moved PHP API Symbol links

* symbol_attribute_type.md: Link to PHP API Ref

---------

Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Konrad Oboza <[email protected]>
Co-authored-by: julitafalcondusza <[email protected]>
Co-authored-by: Adrien Dupuis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for MERGE Wait with merge PRs that shouldn't be merged instantly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants