project-compass 3.9.2 → 3.9.4
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/package.json +1 -1
- package/src/cli.js +4 -3
- package/src/components/Navigator.js +1 -1
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -52,14 +52,14 @@ function loadConfig() {
|
|
|
52
52
|
showArtBoard: true,
|
|
53
53
|
showHelpCards: false,
|
|
54
54
|
showStructureGuide: false,
|
|
55
|
-
maxVisibleProjects:
|
|
55
|
+
maxVisibleProjects: 3,
|
|
56
56
|
...parsed,
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
} catch (error) {
|
|
60
60
|
console.error(`Ignoring corrupt config: ${error.message}`);
|
|
61
61
|
}
|
|
62
|
-
return {customCommands: {}, showArtBoard: true, showHelpCards: false, showStructureGuide: false, maxVisibleProjects:
|
|
62
|
+
return {customCommands: {}, showArtBoard: true, showHelpCards: false, showStructureGuide: false, maxVisibleProjects: 3};
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
function useScanner(rootPath) {
|
|
@@ -375,7 +375,8 @@ function Compass({rootPath, initialView = 'navigator'}) {
|
|
|
375
375
|
if (shiftCombo('s')) { console.clear(); setConfig(prev => { const next = {...prev, showStructureGuide: !prev.showStructureGuide}; saveConfig(next); return next; }); return; }
|
|
376
376
|
if (shiftCombo('a')) { clearAndSwitch(mainView === 'navigator' ? 'studio' : 'navigator'); return; }
|
|
377
377
|
if (shiftCombo('p')) { clearAndSwitch(mainView === 'navigator' ? 'registry' : 'navigator'); return; }
|
|
378
|
-
if (shiftCombo('n')) { clearAndSwitch(mainView === 'navigator' ? 'architect' : 'navigator'); return; }
|
|
378
|
+
if (shiftCombo('n')) { clearAndSwitch(mainView === 'navigator' ? 'architect' : 'navigator'); return; }
|
|
379
|
+
if (shiftCombo('o')) { clearAndSwitch(mainView === 'navigator' ? 'ai' : 'navigator'); return; }
|
|
379
380
|
if (shiftCombo('x')) { console.clear(); setTasks(prev => prev.map(t => t.id === activeTaskId ? {...t, logs: []} : t)); setLogOffset(0); return; }
|
|
380
381
|
if (shiftCombo('e')) { exportLogs(); return; }
|
|
381
382
|
if (shiftCombo('d')) { console.clear(); setActiveTaskId(null); return; }
|