Files
sure/app/views/settings/hostings/_yahoo_finance_settings.html.erb
Camilo Agudelo 7657f2d08c Improve Yahoo Finance reliability and Colombian listing support (#2738)
* Prevent Yahoo crumb cache poisoning

* Make Yahoo Finance health status rate-limit aware

* Normalize Yahoo Colombian listings

Map Yahoo's BVC code to XBOG so search results derive Colombia from canonical exchange metadata and price requests use the .CL suffix with a COP fallback.

Spec: .scratch/normalize-yahoo-colombia-listings/spec.md

* Move Yahoo health checks to background
2026-07-22 06:53:48 +02:00

23 lines
735 B
Plaintext

<div class="space-y-4">
<div>
<h2 class="font-medium mb-1"><%= t(".title") %></h2>
<p class="text-secondary text-sm mb-4"><%= t(".description") %></p>
</div>
<% health = yahoo_finance_health_presentation(@yahoo_finance_health_status) %>
<div class="space-y-4">
<div class="flex items-center space-x-3">
<div class="w-3 h-3 <%= health[:status_class] %> rounded-full"></div>
<p class="text-sm text-secondary">
<%= health[:status_text] %>
</p>
</div>
<% if health[:alert] %>
<%= render DS::Alert.new(
title: health.dig(:alert, :title),
message: health.dig(:alert, :message),
variant: health.dig(:alert, :variant)
) %>
<% end %>
</div>
</div>