Show UI warning to user when they need provider data but have not setup Synth yet #1926
Reference in New Issue
Block a user
Delete Branch "1899-show-ui-warning-when-exchange-rates-are-missing-on-self-hosted-instances"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Simplify provider concerns
Previously, we had an abstract
Providableimplementation that given our sole usage of Synth, made working with provider data a bit confusing.Now, all models that fetch external provider data will have a
[Model]::Providedconcern, which typically will expose aModel.providerclass method. Now, working with the provider is a bit easier:If we add more providers in the future, the
Model::Providedconcern for each model will be responsible for configuring and choosing the desired provider for that type of data.Add UI warning for Synth
If a family does not have Synth configured and meets any of the following criteria, we show a UI warning indicating that historical data is inaccurate.