From dcb674835c37d8fcc62b9e45a682b03e95f97de9 Mon Sep 17 00:00:00 2001 From: ampersandru <43594741+ampersandru@users.noreply.github.com> Date: Mon, 27 Oct 2025 04:18:45 -0700 Subject: [PATCH] Added a clickable drop down arrow that reveals list of instructions for Brand Fetch Client ID (#246) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added a clickable drop down arrow that reveals list of instructions for Brand Fetch Client ID Signed-off-by: ampersandru <43594741+ampersandru@users.noreply.github.com> * Updated html code based on recommendations Signed-off-by: ampersandru <43594741+ampersandru@users.noreply.github.com> * Update _brand_fetch_settings.html.erb Signed-off-by: ampersandru <43594741+ampersandru@users.noreply.github.com> * Small edit for consistency with Twelve Data settings flow * HTML linting * Missed an extra closing tag. --------- Signed-off-by: ampersandru <43594741+ampersandru@users.noreply.github.com> Signed-off-by: Juan José Mata Co-authored-by: Juan José Mata --- .../hostings/_brand_fetch_settings.html.erb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/app/views/settings/hostings/_brand_fetch_settings.html.erb b/app/views/settings/hostings/_brand_fetch_settings.html.erb index fb2a24aa2..b2e2960ee 100644 --- a/app/views/settings/hostings/_brand_fetch_settings.html.erb +++ b/app/views/settings/hostings/_brand_fetch_settings.html.erb @@ -4,14 +4,23 @@ <% if ENV["BRAND_FETCH_CLIENT_ID"].present? %>

You have successfully configured your Brand Fetch Client ID through the BRAND_FETCH_CLIENT_ID environment variable.

<% else %> -

<%= t(".description") %>

-
    +
    + <%= t(".description") %> +
    + (show details) +
    1. - Visit brandfetch.com and create a free Brand Fetch Developer account. + Visit brandfetch.com and create a free Brand Fetch Developer account. +
    2. +
    3. + Go to the Logo API page. +
    4. +
    5. + Tap the eye icon under the "Your Client ID" section to reveal your Client ID and paste it below.
    6. -
    7. Go to the Logo API page.
    8. -
    9. Tap the eye icon under the "Your Client ID" section to reveal your Client ID and paste it below.
    +
    +
    <% end %>