create-rezi 0.1.0-alpha.2 → 0.1.0-alpha.21

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.
@@ -1,18 +1,41 @@
1
1
  # __APP_NAME__
2
2
 
3
- Scaffolded with `npm create rezi` using the **__TEMPLATE_LABEL__** template.
3
+ Scaffolded with `create-rezi` using the **__TEMPLATE_LABEL__** template.
4
4
 
5
5
  ## Quickstart
6
6
 
7
7
  ```bash
8
+ # npm
8
9
  npm install
9
- npm start
10
+ npm run start
11
+
12
+ # bun
13
+ bun install
14
+ bun run start
10
15
  ```
11
16
 
12
- ## Keybindings
17
+ ## Controls
13
18
 
14
- - `up` / `down` or `j` / `k`: Move selection
15
- - `f`: Cycle filter
16
- - `enter`: Pin service
17
- - `?`: Toggle help
19
+ - `up` / `down` or `j` / `k`: Move service selection
20
+ - `f`: Cycle health filter (`all`, `warning`, `down`, `healthy`)
21
+ - `s`: Cycle sort field (`service`, `latency`, `errors`, `traffic`)
22
+ - `o`: Toggle sort direction
23
+ - `t`: Cycle theme preset
24
+ - `p` or `space`: Pause/resume live updates
25
+ - `enter`: Pin/unpin selected service
26
+ - `c`: Clear active events feed
27
+ - `d`: Toggle debug counters panel
28
+ - `h`: Open command help modal
18
29
  - `q`: Quit
30
+
31
+ ## What This Template Demonstrates
32
+
33
+ - A production-style EdgeOps control-plane dashboard with deterministic live telemetry.
34
+ - Stable table + inspector + active events workflow using high-level Rezi widgets only.
35
+ - Escalation-oriented UX: critical banner, service inspector guidance, and runbook panel.
36
+
37
+ ## Key Code Patterns
38
+
39
+ - Bounded live update loop and lifecycle cleanup in `src/main.ts` (`simulateTick`, interval setup/teardown).
40
+ - Stable diffing patterns in `src/main.ts` (`ui.table` + `getRowKey` + immutable service updates + fixed-width labels).
41
+ - Interaction and command model in `src/main.ts` (`app.keys`, selection/filter/sort helpers, modal help).
@@ -6,11 +6,12 @@
6
6
  "scripts": {
7
7
  "start": "tsx src/main.ts",
8
8
  "dev": "tsx watch src/main.ts",
9
+ "build": "tsc --pretty false",
9
10
  "typecheck": "tsc --noEmit"
10
11
  },
11
12
  "dependencies": {
12
- "@rezi-ui/core": "^0.1.0-alpha.0",
13
- "@rezi-ui/node": "^0.1.0-alpha.0"
13
+ "@rezi-ui/core": "^0.1.0-alpha.11",
14
+ "@rezi-ui/node": "^0.1.0-alpha.11"
14
15
  },
15
16
  "devDependencies": {
16
17
  "@types/node": "^22.13.1",