Skip to content

[Site] Use ux-icons (1/2) #1936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2024
Merged

[Site] Use ux-icons (1/2) #1936

merged 1 commit into from
Jun 26, 2024

Conversation

smnandre
Copy link
Member

First pass to switch from the old custom Icon component to ux-icons

Next step (once feature available on ux-icons)

  • configure class & data-attributes auto-attributes
  • use <twig:ux:icon instead of <twig:Icon

@carsonbot carsonbot added Site ux.symfony.com Status: Needs Review Needs to be reviewed labels Jun 22, 2024
@smnandre smnandre requested a review from kbond June 22, 2024 10:48
@smnandre
Copy link
Member Author

Let's ignore the cs-twig for now... that will require some work to fix the Twig CS Fixer "UX parser" i suppose

(poke @VincentLanglet if you have an idea to where i should start)

@VincentLanglet
Copy link

Let's ignore the cs-twig for now... that will require some work to fix the Twig CS Fixer "UX parser" i suppose

(poke @VincentLanglet if you have an idea to where i should start)

This is supposed to be fixed in 2.10.0 version https://github.com/VincentLanglet/Twig-CS-Fixer/releases/tag/2.10.0
I assume you need to bump the version
https://github.com/symfony/ux/blob/2.x/ux.symfony.com/composer.lock#L11840-L11841

@smnandre
Copy link
Member Author

Oh that's a great news :) Thank you !

@smnandre
Copy link
Member Author

Remaining cs-twig failures are fixed in #1935

@smnandre smnandre force-pushed the site/use-ux-icons branch from 15267f2 to 6a8d9aa Compare June 26, 2024 15:45
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Jun 26, 2024
@kbond kbond force-pushed the site/use-ux-icons branch from bd7b267 to 314723c Compare June 26, 2024 21:06
@kbond
Copy link
Member

kbond commented Jun 26, 2024

Thanks Simon.

@kbond kbond merged commit b6e4d16 into symfony:2.x Jun 26, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Site ux.symfony.com Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants