Files
sure/app/views/settings/providers/show.html.erb
soky srm 96713ee8b4 Add support for dynamic config UI (#256)
* Add support for dynamic config UI

* Add support for section description

* Better dynamic class settings

Added dynamic_fields hash field - Stores all undeclared settings
[] method - Checks declared fields first, then falls back to dynamic hash
[]= method - Updates declared fields normally, stores others in hash
No runtime field declaration - Fields are never dynamically created on the class

* FIX proper lookup for provider keys

- Also validate configurable values properly.
- Change Provider factory to use Rails autoloading (Zeitwerk)

* Fix factory

The derive_adapter_name method relies on string manipulation ("PlaidAccount".sub(/Account$/, "") + "Adapter" → "PlaidAdapter"), but we already have explicit registration in place.

* Make updates atomic, field-aware, and handle blanks explicitly

* Small UX detail

* Add support for PlaidEU in UI also

- This looks like partial support atm
2025-10-29 13:11:04 +01:00

16 lines
497 B
Plaintext

<%= content_for :page_title, "Bank Sync Providers" %>
<div class="space-y-8">
<div>
<p class="text-secondary mb-4">
Configure credentials for third-party bank sync providers. Settings configured here will override environment variables.
</p>
</div>
<% @provider_configurations.each do |config| %>
<%= settings_section title: config.provider_key.titleize do %>
<%= render "settings/providers/provider_form", configuration: config %>
<% end %>
<% end %>
</div>