Skip to content

feat(settings): move logo.dev into Providers as an API integration#1922

Merged
canalesb93 merged 2 commits into
mainfrom
feat/logo-into-providers
Jun 25, 2026
Merged

feat(settings): move logo.dev into Providers as an API integration#1922
canalesb93 merged 2 commits into
mainfrom
feat/logo-into-providers

Conversation

@canalesb93

Copy link
Copy Markdown
Owner

Reframes the Providers tab to cover all pluggable APIs — not just bank-data providers — and relocates the logo.dev brand-logo settings there from General → Counterparties.

Why

The Providers tab was bank-only, while logo.dev (counterparty brand logos) lived in a small General → Counterparties section. logo.dev is an external API you plug in, so it belongs with the providers — and the tab can grow into a directory of every API integration.

What changed

  • Tab reframed: subtitle is now "Connect bank-data providers and API integrations to your Breadbox."
  • New "API integrations" section (puzzle icon) with a logo.dev rowimage icon · name · on/off status · chevron — that opens a config drawer, exactly like the bank-provider rows. The tab now reads as one uniform directory of services you plug in.
  • The drawer holds the enable toggle + publishable token (both auto-save via settings.js to the existing 204 endpoints — verified working on this tab) and an info note about the domain-restricted-key referrer gotcha: a restricted key needs this instance's domain in its allowed referrers (wildcard included), else logo.dev 401s and logos fall back to monograms. That's the exact issue surfaced in support recently, now documented in-product.
  • General loses the Counterparties section. ProvidersProps gains CounterpartyLogos/LogoDevToken (from the existing CounterpartyLogoSettings); SettingsProps sheds the now-unused fields.

No new config keys, endpoints, or schema — only where the controls render moves. Default/headless/lite builds + go vet + admin/templates unit tests green.

Providers tab

Providers tab with API integrations section

logo.dev config drawer

logo.dev config drawer with referrer hint

🤖 Generated with Claude Code

Reframe the Providers tab to cover all pluggable APIs, not just bank-data
providers, and relocate the logo.dev brand-logo settings (the counterparty
logos toggle + publishable token) out of General → Counterparties into a
new 'API integrations' section there.

logo.dev now reads as a directory row (image icon · name · on/off status ·
chevron) that opens a config drawer — matching the bank-provider rows — so
the tab is a uniform directory of services you plug in. The drawer holds
the enable toggle and token (both auto-saving via settings.js to the
existing 204 endpoints) plus an info note about the domain-restricted-key
referrer gotcha (a restricted key needs this instance's domain in its
allowed referrers, wildcard included) — the exact 401 a user just hit.

The two config keys + POST endpoints are unchanged; only where they render
moves. ProvidersProps gains CounterpartyLogos/LogoDevToken (populated from
the existing CounterpartyLogoSettings); SettingsProps sheds the now-unused
fields. General loses the Counterparties section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012fRHZ1CTjEZ1xFwQmW27jU
@canalesb93

Copy link
Copy Markdown
Owner Author

@claude remove the banner alert about "domain-restricted".

@claude

claude Bot commented Jun 24, 2026

Copy link
Copy Markdown

Claude finished @canalesb93's task in 9m 29s —— View job


Removing domain-restricted banner alert

  • Understand request: remove the banner alert about domain-restricted keys from providers.templ
  • Read providers.templ to locate the banner
  • Remove the banner alert (+ updated the stale comment above the function)
  • Commit and push

Removed the <div role="note" class="alert ..."> block from the logo.dev drawer and trimmed the now-stale comment above providersLogoDevDrawer that mentioned the referrer note. No other changes.

Commit: 7315e5a

…awer

Co-authored-by: Ricardo Canales <canalesb93@users.noreply.github.com>
@canalesb93 canalesb93 merged commit fc146d0 into main Jun 25, 2026
8 checks passed
@canalesb93 canalesb93 deleted the feat/logo-into-providers branch June 25, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant