mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
feat(ruflo-console): boot log at 120 ms per area so READY holds about a second
Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
1 parent
05cde94326
commit
ead86804cf
3 files changed
+3
-3
No files matched your search
@@ -19,7 +19,7 @@ const DIM = 0x6b7280
|
||||
const SIGN_ON_MS = 900
|
||||
/** The boot log starts once the handshake is typed, and brings one area online every LOG_MS_PER. */
|
||||
const LOG_FROM_MS = 1500
|
||||
const LOG_MS_PER = 150
|
||||
const LOG_MS_PER = 120
|
||||
|
||||
/** Every area of the console, in menu order: what the boot log brings online. */
|
||||
export const BOOT_MODULES: readonly { name: string; note: string }[] = [
|
||||
|
||||
@@ -168,7 +168,7 @@ describe('BBS boot screen', () => {
|
||||
it('brings every area online in a log under the sign, as many lines as the pane has rows, newest in view, READY last', () => {
|
||||
const rows = BOOT_ROWS + 1 + BOOT_MODULES.length + 1
|
||||
|
||||
// Nothing is logged before the handshake; one line per 150 ms after it.
|
||||
// Nothing is logged before the handshake; one line per 120 ms after it.
|
||||
expect(text(bootPicture('demo', 80, 1_000, 0, 10, rows), 80)).not.toContain('[ OK ]')
|
||||
expect(text(bootPicture('demo', 80, 1_550, 0, 10, rows), 80)).toContain('[ .. ] Missions')
|
||||
expect(text(bootPicture('demo', 80, 1_700, 0, 10, rows), 80)).toContain('[ OK ] Missions')
|
||||
|
||||
@@ -19,7 +19,7 @@ The boot screen was a modem dial-up (`ATDT`, `CONNECT`), the neon sign striking
|
||||
Keep the dial-up and the sign, and add a **boot log** under them that brings every area of the console online:
|
||||
|
||||
- 25 areas, in menu order (Missions, Overview, Swarm, Hive-Mind, Claims, Approvals, Automation, Learning, Neural, Vector Lab, Memory Lab, MetaHarness, Self-Evolution, Security, Federation, x.ruv.io, Plugins & Mods, Skills, Dev Tools, Cost & Budget, Timeline, Events, Performance, AI Terminal, Settings), each with a few words on what it is, then a `READY` line.
|
||||
- One area starts every 150 ms: `[ .. ]` while it starts, `[ OK ]` once the next has begun. The log starts at 1.5 s, after the handshake line is typed.
|
||||
- One area starts every 120 ms: `[ .. ]` while it starts, `[ OK ]` once the next has begun. The log starts at 1.5 s, after the handshake line is typed.
|
||||
- The log fills the pane: `bootPicture` takes the pane's body rows (`state.pane.rows`) and the log uses every row under the sign. In a short pane it scrolls, the newest lines in view and the oldest gone; with no rows known it is the sign alone, as before.
|
||||
- The loading bar now also follows the log, so it moves steadily and reads 100% as `READY` appears, not only when the first reads land.
|
||||
- The boot plays for at least 5.4 s (was 3.2) and at most 8 s (was 6): long enough for the whole log, still ending by itself, still only with the bbs look and the boot option on. The boot picture is up to 90 columns wide (was 72).
|
||||
|
||||
Reference in new issue
Block a user