mirror of
https://github.com/we-promise/sure.git
synced 2026-05-11 22:55:00 +00:00
* Complete Sophtron account mapping * Clarify Sophtron login challenge flow * Add Sophtron connection UI timeout * Treat Sophtron timeout jobs as failed * Reset failed Sophtron connection state * Handle stale Sophtron connection jobs * Advance Sophtron polling timeout * Shorten Sophtron connection timeout * Fix Sophtron modal polling updates * Stabilize Sophtron MFA polling * Give Sophtron OTP challenges more time * Clarify Sophtron institution login failures * Extend Sophtron polling during login progress * Probe Sophtron accounts after completed MFA step * Align Sophtron dialogs with design system * Start Sophtron initial load after linking accounts * Fix Sophtron initial transaction load * Fail Sophtron sync without institution connection * Fix tests * Wrap Sophtron account linking in transaction * Wrap Sophtron provider responses * Fix Sophtron MFA security tests * Guard Sophtron MFA challenge arrays * Respect Sophtron initial load window * Use unique Sophtron MFA answer field ids * Address Sophtron review follow-ups * Fix Sophtron transaction sync refresh * Avoid blocking Sophtron refresh polling * Move Sophtron account helpers to model * Keep Sophtron grouping provider-level * Start new Sophtron institution links * Isolate Sophtron institution connections --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
<%= turbo_frame_tag "modal" do %>
|
|
<%= render DS::Dialog.new do |dialog| %>
|
|
<% dialog.with_header(title: t("sophtron_items.sophtron_setup_required.title")) %>
|
|
<% dialog.with_body do %>
|
|
<div class="space-y-4">
|
|
<div class="rounded-lg border border-primary bg-container-inset p-3">
|
|
<div class="flex items-start gap-3">
|
|
<%= icon("alert-circle", color: "warning", size: "sm", class: "mt-0.5") %>
|
|
<div class="space-y-1 text-sm text-secondary">
|
|
<p class="font-medium text-primary"><%= t("sophtron_items.sophtron_setup_required.heading") %></p>
|
|
<p><%= t("sophtron_items.sophtron_setup_required.description") %></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="rounded-lg border border-primary bg-container-inset p-3 text-sm">
|
|
<p class="font-medium text-primary"><%= t("sophtron_items.sophtron_setup_required.setup_steps_title") %></p>
|
|
<ol class="mt-2 list-decimal space-y-1 pl-5 text-secondary">
|
|
<li><%= t("sophtron_items.sophtron_setup_required.step_1_html") %></li>
|
|
<li><%= t("sophtron_items.sophtron_setup_required.step_2_html") %></li>
|
|
<li><%= t("sophtron_items.sophtron_setup_required.step_3_html") %></li>
|
|
<li><%= t("sophtron_items.sophtron_setup_required.step_4") %></li>
|
|
</ol>
|
|
</div>
|
|
|
|
<div class="flex justify-end">
|
|
<%= render DS::Link.new(
|
|
text: t("sophtron_items.sophtron_setup_required.go_to_provider_settings"),
|
|
href: settings_providers_path,
|
|
variant: :primary,
|
|
data: { turbo: false }
|
|
) %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|