mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Coinbase CDP link for API
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user