@sascha384/tic 1.10.2 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/commands.js
CHANGED
|
@@ -39,7 +39,7 @@ const commands = [
|
|
|
39
39
|
id: 'branch',
|
|
40
40
|
label: 'Create branch/worktree',
|
|
41
41
|
category: 'Actions',
|
|
42
|
-
shortcut: '
|
|
42
|
+
shortcut: 'b',
|
|
43
43
|
when: (ctx) => ctx.screen === 'list' && ctx.hasSelectedItem && ctx.gitAvailable,
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -133,7 +133,7 @@ const commands = [
|
|
|
133
133
|
id: 'bulk-menu',
|
|
134
134
|
label: 'Bulk actions menu',
|
|
135
135
|
category: 'Bulk',
|
|
136
|
-
shortcut: '
|
|
136
|
+
shortcut: 'B',
|
|
137
137
|
when: (ctx) => ctx.screen === 'list' && ctx.markedCount > 0,
|
|
138
138
|
},
|
|
139
139
|
// Other
|
|
@@ -34,7 +34,7 @@ export function getShortcuts(screen, capabilities, gitAvailable, hasSyncManager)
|
|
|
34
34
|
}
|
|
35
35
|
actions.push({ key: 'm', description: 'Toggle mark' });
|
|
36
36
|
actions.push({ key: 'M', description: 'Clear all marks' });
|
|
37
|
-
actions.push({ key: '
|
|
37
|
+
actions.push({ key: 'B', description: 'Bulk actions menu' });
|
|
38
38
|
if (capabilities.customTypes) {
|
|
39
39
|
actions.push({ key: 't', description: 'Set type' });
|
|
40
40
|
}
|
|
@@ -60,7 +60,7 @@ export function getShortcuts(screen, capabilities, gitAvailable, hasSyncManager)
|
|
|
60
60
|
other.push({ key: 'r', description: 'Sync' });
|
|
61
61
|
}
|
|
62
62
|
if (gitAvailable) {
|
|
63
|
-
other.push({ key: '
|
|
63
|
+
other.push({ key: 'b', description: 'Branch / worktree' });
|
|
64
64
|
}
|
|
65
65
|
other.push({ key: 'q', description: 'Quit' });
|
|
66
66
|
const groups = [
|
|
@@ -260,7 +260,7 @@ export function WorkItemList() {
|
|
|
260
260
|
refreshData();
|
|
261
261
|
})();
|
|
262
262
|
}
|
|
263
|
-
if (input === '
|
|
263
|
+
if (input === 'b' && gitAvailable && treeItems.length > 0) {
|
|
264
264
|
const item = treeItems[cursor].item;
|
|
265
265
|
const comments = item.comments;
|
|
266
266
|
const config = readConfigSync(process.cwd());
|
|
@@ -324,7 +324,7 @@ export function WorkItemList() {
|
|
|
324
324
|
if (input === 'M') {
|
|
325
325
|
setMarkedIds(new Set());
|
|
326
326
|
}
|
|
327
|
-
if (input === '
|
|
327
|
+
if (input === 'B' && treeItems.length > 0) {
|
|
328
328
|
setShowBulkMenu(true);
|
|
329
329
|
}
|
|
330
330
|
if (input === 'P' && capabilities.fields.priority && treeItems.length > 0) {
|