feat(board): show multi-select hint

This commit is contained in:
Thomas Camlong committed 2026-08-21 02:47:05 +02:00
1 parent 49c2846d68
commit 71d307a9cd
2 files changed
+6 -2

No files matched your search

@@ -49,7 +49,7 @@ export const BoardSelectionToolbar = () => {
const appMap = new Map((selectableApps ?? []).map((app) => [app.id, app]));
// Sort items so apps appear first
const sortedSelectedItems = [...selectedItems].sort((itemA, itemB) => {
const sortedSelectedItems = selectedItems.toSorted((itemA, itemB) => {
if (itemA.kind === "app" && itemB.kind !== "app") return -1;
if (itemA.kind !== "app" && itemB.kind === "app") return 1;
return 0;
@@ -201,6 +201,10 @@ export const BoardSelectionToolbar = () => {
</HoverCard.Dropdown>
</HoverCard>
<Text size="xs" c="dimmed" visibleFrom="sm" maw={220} lh={1.25}>
{t("app.action.select.multiSelectTip")}
</Text>
<Divider orientation="vertical" />
{/* Actions */}
+1 -1
View File
@@ -822,7 +822,7 @@
"toggle": "Click to select",
"selected": "Selected",
"multiple": "Add {count}",
"multiSelectTip": "Tip: Hold Shift or Ctrl / ⌘ to select multiple apps at once",
"multiSelectTip": "Tip: Hold Ctrl / ⌘ to select multiple apps at once",
"selectedCount": "{count, plural, one {# selected} other {# selected}}",
"appsSelected": "{count, plural, one {# app selected} other {# apps selected}}",
"customApplication": "Custom application",