Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Coinbase CDP link for API

Juan José Mata9855c67bc4b8
diff --git a/app/views/settings/providers/show.html.erb b/app/views/settings/providers/show.html.erb
index 5b38e25cc7..0ab1312c30 100644
--- a/app/views/settings/providers/show.html.erb
+++ b/app/views/settings/providers/show.html.erb
@@ -8,12 +8,16 @@
</div>
<% @provider_configurations.each do |config| %>
- <% next if config.provider_key.to_s.casecmp("simplefin").zero? %>
<%= settings_section title: config.provider_key.titleize, collapsible: true, open: false do %>
<%= render "settings/providers/provider_form", configuration: config %>
<% end %>
<% end %>
+ <%# Providers below are hardcoded because they manage Family-scoped connections %>
+ <%# (via their own models like SimplefinItem, LunchflowItem, etc.) rather than global settings. %>
+ <%# They require custom UI for connection management, status display, and sync actions. %>
+ <%# The controller excludes them from @provider_configurations (see prepare_show_context). %>
+
<%= settings_section title: "Lunch Flow", collapsible: true, open: false do %>
<turbo-frame id="lunchflow-providers-panel">
<%= render "settings/providers/lunchflow_panel" %>
@@ -38,7 +42,7 @@
</turbo-frame>
<% end %>
- <%= settings_section title: "#{t('.coinbase_title')} (beta)", collapsible: true, open: false do %>
+ <%= settings_section title: "Coinbase (beta)", collapsible: true, open: false do %>
<turbo-frame id="coinbase-providers-panel">
<%= render "settings/providers/coinbase_panel" %>
</turbo-frame>
diff --git a/config/locales/views/settings/en.yml b/config/locales/views/settings/en.yml
index d314ae077e..10e2acc52d 100644
--- a/config/locales/views/settings/en.yml
+++ b/config/locales/views/settings/en.yml
@@ -149,7 +149,7 @@ en:
coinbase_title: Coinbase
coinbase_panel:
setup_instructions: "To connect Coinbase:"
- step1_html: Go to <a href="https://www.coinbase.com/settings/api" target="_blank" class="text-primary underline">Coinbase API Settings</a>
+ step1_html: Go to <a href="https://portal.cdp.coinbase.com/projects/api-keys" target="_blank" class="text-primary underline">Coinbase API Settings</a>
step2: Create a new API key with read-only permissions (view accounts, view transactions)
step3: Copy your API key and API secret and paste them below
api_key_label: API Key