The personal finance app for everyone (by everyone)
Ruby
Linter
sokiee71c0735824c1
diff --git a/app/components/DS/select.html.erb b/app/components/DS/select.html.erbindex 4b07ccd7b2..170d3ee26a 100644--- a/app/components/DS/select.html.erb+++ b/app/components/DS/select.html.erb@@ -33,7 +33,7 @@<%= helpers.icon("search", class: "absolute inset-0 ml-2 transform top-1/2 -translate-y-1/2") %></div><% end %>- <div data-list-filter-target="list" data-select-target="content" class="flex flex-col gap-0.5 max-h-64 overflow-auto"+ <div data-list-filter-target="list" data-select-target="content" class="flex flex-col gap-0.5 max-h-64 overflow-auto"role="listbox" tabindex="-1"><% items.each do |item| %><% is_selected = item[:value] == selected_value %>@@ -91,4 +91,4 @@<% end %></div></div>-</div>\ No newline at end of file+</div>diff --git a/app/views/admin/users/index.html.erb b/app/views/admin/users/index.html.erbindex ac30a0062c..6d10e05708 100644--- a/app/views/admin/users/index.html.erb+++ b/app/views/admin/users/index.html.erb@@ -53,7 +53,7 @@<% pending_invitations = @invitations_by_family[family.id] || [] %><details class="bg-container-inset rounded-lg overflow-hidden group"data-controller="admin-invitation-delete"- data-admin-invitation-delete-delete-all-label-value="<%= t('.invitations.delete_all') %>">+ data-admin-invitation-delete-delete-all-label-value="<%= t(".invitations.delete_all") %>"><summary class="flex items-center justify-between gap-4 px-4 py-3 cursor-pointer select-none hover:bg-surface-hover"><div class="flex items-center gap-3"><%= icon "users", class: "w-5 h-5 text-secondary shrink-0" %>@@ -75,7 +75,7 @@</span><% elsif sub %><span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium- <%= sub.active? ? 'bg-green-100 text-green-800' : 'bg-surface text-secondary' %>">+ <%= sub.active? ? "bg-green-100 text-green-800" : "bg-surface text-secondary" %>"><%= sub.status.humanize %></span><% else %>diff --git a/app/views/pending_duplicate_merges/new.html.erb b/app/views/pending_duplicate_merges/new.html.erbindex f2eb8bc122..580603f621 100644--- a/app/views/pending_duplicate_merges/new.html.erb+++ b/app/views/pending_duplicate_merges/new.html.erb@@ -52,7 +52,7 @@<div class="flex-1 text-sm"><div class="font-medium text-primary"><%= entry.name %></div><div class="text-xs text-secondary">- <%= I18n.l(entry.date, format: :short) %> •+ <%= I18n.l(entry.date, format: :short) %> •<%= number_to_currency(entry.amount.abs, unit: Money::Currency.new(entry.currency).symbol) %></div></div>diff --git a/app/views/transactions/_attachments.html.erb b/app/views/transactions/_attachments.html.erbindex 7dc5df74c6..8688e6285c 100644--- a/app/views/transactions/_attachments.html.erb+++ b/app/views/transactions/_attachments.html.erb@@ -13,7 +13,7 @@} do |form| %><div class="space-y-3"><div>- <div class="flex flex-col items-center justify-center w-full py-8 border border-secondary border-dashed rounded-xl cursor-pointer bg-surface-inset hover:bg-surface-inset-hover transition-colors text-center px-4"+ <div class="flex flex-col items-center justify-center w-full py-8 border border-secondary border-dashed rounded-xl cursor-pointer bg-surface-inset hover:bg-surface-inset-hover transition-colors text-center px-4"data-action="click->attachment-upload#triggerFileInput"><div data-attachment-upload-target="uploadText" class="flex flex-col items-center">@@ -28,7 +28,7 @@<%= form.file_field :attachments,multiple: true,- accept: Transaction::ALLOWED_CONTENT_TYPES.join(','),+ accept: Transaction::ALLOWED_CONTENT_TYPES.join(","),class: "hidden",data: {attachment_upload_target: "fileInput",diff --git a/app/views/transactions/searches/filters/_tag_filter.html.erb b/app/views/transactions/searches/filters/_tag_filter.html.erbindex 0c6b938739..8ba4fd0cc4 100644--- a/app/views/transactions/searches/filters/_tag_filter.html.erb+++ b/app/views/transactions/searches/filters/_tag_filter.html.erb@@ -20,7 +20,7 @@<span class="border text-sm font-medium px-3 py-1 rounded-full inline-flex items-center gap-2"style="background-color: color-mix(in oklab, <%= tag_color %> 10%, transparent);- border-color: color-mix(in oklab, <%= tag_color%> 20%, transparent);+ border-color: color-mix(in oklab, <%= tag_color %> 20%, transparent);color: <%= tag_color %>;"><span class="size-1.5 rounded-full" style="background-color: <%= tag_color %>;"></span><%= tag.name %>