-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[TwigBridge] Add emojify
twig filter
#54432
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this have a change in TwigBundle to register the new extension when the symfony/emoji component is installed ?
Do you plan to handle locale and emoji data ? How would the method change ? Should we implement all at once ? |
-- Will you make the change in TwigBundle in a following PR or want to release both at same time ? |
No need I guess... |
Done ππΌ |
Good idea. ππΌ Thanks |
I now allows all catalog, and let the Emoji transliterator do all the checks. |
Maybe a minor doubt about the name... as the slug filter is just "slug" and not "slugify" ... maybe "| Nice "most important PR of the year" ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
(I left an optional request; feel free to ignore it if you think it's clear enough as it is)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was fine with "emojify" personnaly, looks more like a verb than just "emoji" ("slug" is already a verb so "slugify" is not needed? does that work?)
Pr rebased, and updated |
emoji
twig filteremojify
twig filter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The most important PR of 7.1! π
Thank you @lyrixx. |
This PR was merged into the 7.1 branch. Discussion ---------- [TwigBundle] re-allow Twig bridge 6.4 and 7.0 | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT The change was not necessary in #54432. Commits ------- 40d2155 re-allow Twig bridge 6.4 and 7.0
My most important PR of the year I guess π