Merge pull request #1534 from basecamp/jz-11-7-25

JZ 11-7-25
This commit is contained in:
Jason Zimdars
2025-11-07 17:25:31 -06:00
committed by GitHub
6 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
pointer-events: none;
}
[aria-busy] &:disabled {
form[aria-busy] &:disabled {
position: relative;
> * {
@@ -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" %>
<span>Add a card</span>
<span class="overflow-ellipsis">Add a card</span>
<kbd class="hide-on-touch">C</kbd>
<% end %>
<% end %>
</div>
<div class="header__actions header__actions--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" %>
<span class="overflow-ellipsis">Add a board</span>
<kbd class="hide-on-touch">B</kbd>
<% end %>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<li class="popup__item" data-filter-target="item" data-navigable-list-target="item">
<%= icon_tag "add", class: "popup__icon" %>
<%= link_to new_board_path, class: "popup__btn btn" do %>
<span class="overflow-ellipsis">Add board</span>
<span class="overflow-ellipsis">Add a board</span>
<% end %>
</li>
<% if user_filtering.boards.any? %>
+4 -4
View File
@@ -1,8 +1,8 @@
<div class="nav__hotkeys margin-block-end-half" role="list">
<%= filter_hotkey_link "Home", root_path, 1, "home" %>
<%= filter_hotkey_link "New board", new_board_path, 2, "board-add" %>
<%= filter_hotkey_link "Assigned to me", cards_path(assignee_ids: [Current.user.id]), 3, "clipboard" %>
<%= filter_hotkey_link "Added by me", cards_path(creator_ids: [Current.user.id]), 4, "person-add" %>
<%= filter_hotkey_link "Notifications", notifications_path, 5, "bell" %>
<%= filter_hotkey_link "Assigned to me", cards_path(assignee_ids: [Current.user.id]), 2, "clipboard" %>
<%= filter_hotkey_link "Added by me", cards_path(creator_ids: [Current.user.id]), 3, "person-add" %>
<%= filter_hotkey_link "Notifications", notifications_path, 4, "bell" %>
<%= filter_hotkey_link "My Profile", user_path(Current.user), 5, "person" %>
<%= filter_hotkey_link "Settings", account_settings_path, 6, "settings" %>
</div>
+1 -1
View File
@@ -2,7 +2,7 @@
<li class="popup__item" data-filter-target="item" data-navigable-list-target="item">
<%= icon_tag "add", class: "popup__icon" %>
<%= link_to account_join_code_path, class: "popup__btn btn" do %>
<span class="overflow-ellipsis">Add people</span>
<span class="overflow-ellipsis">Invite people</span>
<% end %>
</li>
@@ -1,6 +1,6 @@
<li class="popup__item overflow-ellipsis" data-navigable-list-target="item" data-filter-target="item" id="filter-custom-create">
<%= icon_tag "bookmark", class: "popup__icon" %>
<%= link_to cards_path(expand_all: true), class: "popup__btn btn" do %>
<strong class="txt-small">Create a new filter</strong>
<span>Add a filter</span>
<% end %>
</li>