Skip to content
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

[Icons] improve DX when symfony/http-client is not installed #2678

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

kbond
Copy link
Member

@kbond kbond commented Apr 5, 2025

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues Alternative to #2667
License MIT

Exception when rendering a template w/o http-client:
Screenshot 2025-04-05 at 1 13 18 PM

Exception when running ux:icon:* command w/o http-client:
Screenshot 2025-04-05 at 1 14 50 PM

Output of ux:icons:warm -v when there are "potential" invalid icons:
Screenshot 2025-04-05 at 1 38 06 PM

TODO

@carsonbot carsonbot added Feature New Feature Icons Status: Needs Review Needs to be reviewed labels Apr 5, 2025
@kbond kbond force-pushed the icons/no-http-client branch 2 times, most recently from 1ead83a to 8bc80c3 Compare April 5, 2025 17:39
- throw exception if http-client is not available
- always enable iconify, iconify commands and on-demand registry
- display "potential" missing icons to `ux:icons:warm-cache`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature Icons Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants