fix: auto-start feedback wizard on boot, fix shell show [n] rendering

This commit is contained in:
Rene Fichtmueller 2026-03-29 16:23:34 +02:00
parent 990c989fa3
commit 08e9b8d962
2 changed files with 8 additions and 7 deletions

View File

@ -3013,16 +3013,17 @@ function termBoot() {
' <span style="' + G + ';font-weight:600">PeerCortex Feedback Terminal</span> <span style="' + MUT + '">v0.5.0</span>',
'<span style="' + DIM + '">────────────────────────────────────────────</span>',
'',
'Available commands:',
' <span style="' + G + '">send</span> — submit feedback or bug report',
' <span style="' + G + '">help</span> — show this menu',
' <span style="' + G + '">clear</span> — clear terminal',
'',
'Type <span style="' + G + '">send</span> and press Enter to start.',
'Got feedback? A bug? A wild idea?',
'This goes straight to the editorial team.',
''
];
var delay = 0;
lines.forEach(function(l) { setTimeout(function(){ termPrint(l); }, delay); delay += 35; });
// Auto-start wizard after boot sequence
var autoDelay = lines.length * 35 + 350;
setTimeout(function() {
if (termStep === 0) { termStartWizard(); }
}, autoDelay);
}
function termStartWizard() {

View File

@ -391,7 +391,7 @@ function showHelp(authed) {
} else {
print(' <span style="' + G + '">list</span> — show all feedback entries');
print(' <span style="' + G + '">list [category]</span> — filter by category (bug, feature, design, general)');
print(' <span style="' + G + '">show <n></span> — show full message for entry #n');
print(' <span style="' + G + '">show [n]</span> — show full message for entry #n');
print(' <span style="' + G + '">stats</span> — category + ASN statistics');
print(' <span style="' + G + '">export</span> — download all entries as JSON');
print(' <span style="' + G + '">refresh</span> — reload entries from server');