feat: show all providers configured + non configured#1813
Merged
tusharmath merged 16 commits intomainfrom Nov 4, 2025
Merged
Conversation
tusharmath
reviewed
Nov 1, 2025
| /// Get the resolved URL or return an error if it's a template | ||
| pub fn to_resolved(&self, provider_id: &ProviderId) -> anyhow::Result<&Url> { | ||
| self.as_resolved() | ||
| .ok_or_else(|| anyhow::anyhow!("Cannot use unconfigured provider: {}", provider_id)) |
tusharmath
reviewed
Nov 3, 2025
- Updated the ProviderRepository trait to return Vec<ProviderEntry> instead of Vec<Provider>. - Changed the return type of get_provider method to return Provider<Url> for better URL handling. - Modified the CliProvider struct to work with ProviderEntry and display domain information correctly. - Adjusted UI and service layers to accommodate the new ProviderEntry structure. - Updated tests to reflect changes in provider handling and ensure proper functionality with the new types. - Refactored provider creation logic to return ProviderEntry and handle unconfigured providers appropriately.
…Map for better data handling
27b9621 to
22a108c
Compare
tusharmath
added a commit
that referenced
this pull request
Nov 4, 2025
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Tushar Mathur <tusharmath@gmail.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.
No description provided.