feat: dynamic carrier list via get_carriers service + frontend UX improvements#27
Merged
Merged
Conversation
…rovements - Add GET /api/carriers scraper endpoint derived from CARRIER_PROVIDERS - Add async_get_carriers() to ScraperApiClient - Coordinator lazily fetches supported carriers on first poll (non-fatal) - Add get_carriers SupportsResponse.ONLY service callable from frontend - Frontend carrier dropdown populated dynamically from get_carriers service - Add SpeedX to services.yaml carrier selector and fix services description - Add loading bar animation, Enter-key submit, auto-clear success message - Click-to-copy tracking number with "Copied!" feedback - Show last-updated timestamp per package row - Trim CLAUDE.md to non-derivable content only - Update tests: supported_carriers fixture init, async_get_carriers mock Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
hassfest does not recognize the `response:` key in services.yaml.
Response behavior is controlled via SupportsResponse.ONLY in Python.
Added required `fields: {}` key to match hassfest schema expectations.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET /api/carriersscraper endpoint (derived fromCARRIER_PROVIDERS) +get_carriersHA service (SupportsResponse.ONLY); coordinator lazily fetches and caches on first poll; frontend carrier dropdown now callsget_carrierson load instead of hardcoding USPS/UPS/FedExsupported_carriers = []on__new__-created coordinator fixtures;async_get_carriersdefault mock in conftestTest plan
make testpasses with no regressions/api/carriersreturns[{id, name}, ...]for all carriersget_carriersservice returns the same list in HA Dev Tools🤖 Generated with Claude Code