mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* Initial enable banking implementation * Handle multiple connections * Amount fixes * Account type mapping * Add option to skip accounts * Update schema.rb * Transaction fixes * Provider fixes * FIX account identifier * FIX support unlinking * UI style fixes * FIX safe redirect and brakeman issue * FIX - pagination max fix - wrap crud in transaction logic * FIX api uid access - The Enable Banking API expects the UUID (uid from the API response) to fetch balances/transactions, not the identification_hash * FIX add new connection * FIX erb code * Alert/notice box overflow protection * Give alert/notification boxes room to grow (3 lines max) * Add "Enable Banking (beta)" to `/settings/bank_sync` * Make Enable Banking section collapsible like all others * Add callback hint to error message --------- Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
17 lines
639 B
Plaintext
17 lines
639 B
Plaintext
<%# locals: (message:) %>
|
|
|
|
<%= tag.div class: "flex gap-3 rounded-lg bg-container p-4 group w-full md:max-w-80 shadow-border-lg",
|
|
data: { controller: "element-removal" } do %>
|
|
<div class="h-5 w-5 shrink-0 p-px text-primary">
|
|
<div class="flex h-full items-center justify-center rounded-full bg-destructive">
|
|
<%= icon "x", size: "xs", color: "white" %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= tag.p message, class: "text-primary text-sm font-medium line-clamp-3 min-w-0", title: message %>
|
|
|
|
<div class="ml-auto">
|
|
<%= icon "x", data: { action: "click->element-removal#remove" }, class: "cursor-pointer" %>
|
|
</div>
|
|
<% end %>
|