mirror of
https://github.com/we-promise/sure.git
synced 2026-04-24 22:44:14 +00:00
* 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
16 lines
497 B
Plaintext
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>
|