From d088aa43e50d36acbe202682387d501d1452fe5f Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Fri, 7 Nov 2025 16:39:45 -0600 Subject: [PATCH 1/3] Reorder hotkeys, copy edits in menu --- app/views/my/menus/_boards.html.erb | 2 +- app/views/my/menus/_hotkeys.html.erb | 8 ++++---- app/views/my/menus/_users.html.erb | 2 +- app/views/my/menus/saved_filter/_create.html.erb | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/my/menus/_boards.html.erb b/app/views/my/menus/_boards.html.erb index c881d1f88..b9512da4a 100644 --- a/app/views/my/menus/_boards.html.erb +++ b/app/views/my/menus/_boards.html.erb @@ -3,7 +3,7 @@ <% if user_filtering.boards.any? %> diff --git a/app/views/my/menus/_hotkeys.html.erb b/app/views/my/menus/_hotkeys.html.erb index 4b1792fbb..734d6c157 100644 --- a/app/views/my/menus/_hotkeys.html.erb +++ b/app/views/my/menus/_hotkeys.html.erb @@ -1,8 +1,8 @@ diff --git a/app/views/my/menus/_users.html.erb b/app/views/my/menus/_users.html.erb index b8ca2cb59..c8c4d983c 100644 --- a/app/views/my/menus/_users.html.erb +++ b/app/views/my/menus/_users.html.erb @@ -2,7 +2,7 @@ diff --git a/app/views/my/menus/saved_filter/_create.html.erb b/app/views/my/menus/saved_filter/_create.html.erb index e10d5313f..8c547b857 100644 --- a/app/views/my/menus/saved_filter/_create.html.erb +++ b/app/views/my/menus/saved_filter/_create.html.erb @@ -1,6 +1,6 @@ From 3461a4af8e59e3e3590c673175d8131e37fcb248 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Fri, 7 Nov 2025 17:15:24 -0600 Subject: [PATCH 2/3] We need to be more specific Before this change the `aria-busy` on the turbo frame would trigger the submitting animation --- app/assets/stylesheets/buttons.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/buttons.css b/app/assets/stylesheets/buttons.css index e2710006d..5a5c910d1 100644 --- a/app/assets/stylesheets/buttons.css +++ b/app/assets/stylesheets/buttons.css @@ -40,7 +40,7 @@ pointer-events: none; } - [aria-busy] &:disabled { + form[aria-busy] &:disabled { position: relative; > * { From 1e8f9888b4bf88acd5137f7ba03e53f8db983459 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Fri, 7 Nov 2025 17:24:40 -0600 Subject: [PATCH 3/3] Button to add boards on home --- app/views/events/index/_add_card_button.html.erb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/events/index/_add_card_button.html.erb b/app/views/events/index/_add_card_button.html.erb index c22841cf5..028407b79 100644 --- a/app/views/events/index/_add_card_button.html.erb +++ b/app/views/events/index/_add_card_button.html.erb @@ -2,8 +2,16 @@ <% if board = user_filtering.single_board_or_first %> <%= button_to board_cards_path(board), method: :post, class: "btn btn--link btn--circle-mobile", data: { controller: "hotkey", action: "keydown.c@document->hotkey#click" } do %> <%= icon_tag "add", class: "show-on-touch" %> - Add a card + Add a card C <% end %> <% end %> + +
+ <%= link_to new_board_path, class: "btn btn--link btn--circle-mobile", data: { controller: "hotkey", action: "keydown.b@document->hotkey#click" } do %> + <%= icon_tag "board", class: "show-on-touch" %> + Add a board + B + <% end %> +