From 3d429c1dea68b215b6d2189b95c77f18f9fe53e0 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Tue, 25 Nov 2025 13:19:33 -0600 Subject: [PATCH] Include full name string so you can type your name to filter --- app/views/cards/assignments/_user.html.erb | 1 + app/views/cards/assignments/new.html.erb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/cards/assignments/_user.html.erb b/app/views/cards/assignments/_user.html.erb index 4dad5a9f7..0d4eff888 100644 --- a/app/views/cards/assignments/_user.html.erb +++ b/app/views/cards/assignments/_user.html.erb @@ -2,6 +2,7 @@ <%= button_to card_assignments_path(card, params: { assignee_id: user.id }), method: :post, class: "popup__btn btn", form_class: "max-width flex-item-grow" do %> <%= local_assigns.fetch(:user_label, user.name) %> + <%= yield if block_given? %> <%= icon_tag "check", size: 18, class: "checked flex-item-no-shrink flex-item-justify-end", style: "--icon-size: 1em" %> <% end %> diff --git a/app/views/cards/assignments/new.html.erb b/app/views/cards/assignments/new.html.erb index cb690da23..6692a53f0 100644 --- a/app/views/cards/assignments/new.html.erb +++ b/app/views/cards/assignments/new.html.erb @@ -15,7 +15,9 @@ type: "search", autocorrect: "off", autocomplete: "off", data: { "1p-ignore": "true", filter_target: "input", action: "input->filter#filter" } %>