frontend
frontend copied to clipboard
Handle url error better when invalid blueprint url is provided
Breaking change
Proposed change
Type of change
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (thank you!)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
Example configuration
Additional information
- This PR fixes or closes issue:
- This PR is related to issue or discussion:
- Link to documentation pull request:
Checklist
- [x] The code change is tested and works locally.
- [x] There is no commented out code in this PR.
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for www.home-assistant.io
Summary by CodeRabbit
Summary by CodeRabbit
-
New Features
- Introduced localized error messaging for various error scenarios, providing clearer guidance and links to documentation.
- Added a specific error message for invalid URLs, improving user feedback on URL formatting issues.
-
Bug Fixes
- Enhanced robustness of URL validation by ensuring spaces are encoded correctly, preventing issues with improperly formatted URLs.