From 5d0eb7f4451b2818e648f260edcb1c85d428cce6 Mon Sep 17 00:00:00 2001 From: Guillem Arias Fauste Date: Sat, 6 Jun 2026 16:24:17 +0200 Subject: [PATCH] =?UTF-8?q?fix(goals):=20UI=20polish=20=E2=80=94=20submit?= =?UTF-8?q?=20validation,=20container-responsive=20cards,=20picker=20&=20f?= =?UTF-8?q?ilter=20fixes=20(#2160)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(ds): disabled buttons use not-allowed cursor Tailwind v4 preflight sets cursor:pointer on every <% end %> @@ -139,7 +147,7 @@ · <%= @grid_goals.size %> -
+
<% @grid_goals.each do |goal| %> <%= render Goals::CardComponent.new(goal: goal) %> <% end %> @@ -179,7 +187,7 @@ <%= @archived_goals.size %> <% end %> -
+
<% @archived_goals.each do |goal| %> <%= render Goals::CardComponent.new(goal: goal, filterable: false) %> <% end %> diff --git a/app/views/goals/show.html.erb b/app/views/goals/show.html.erb index 21bc8ec22..6409f4d87 100644 --- a/app/views/goals/show.html.erb +++ b/app/views/goals/show.html.erb @@ -224,7 +224,7 @@ <% end %>
-
" diff --git a/config/locales/views/goals/en.yml b/config/locales/views/goals/en.yml index 031633272..cf2a5a57a 100644 --- a/config/locales/views/goals/en.yml +++ b/config/locales/views/goals/en.yml @@ -2,6 +2,7 @@ en: goals: color_picker: + trigger_label: Choose color and icon color_heading: Color icon_heading: Icon poor_contrast: Poor contrast, choose darker color or @@ -222,9 +223,6 @@ en: days_left: one: 1 day left other: "%{count} days left" - days_left_by: - one: 1 day left · by %{date} - other: "%{count} days left · by %{date}" pace_with_target: "%{avg}/mo · target %{target}/mo" pace_no_target: "%{avg}/mo avg" footer_paused: Paused