Skip to content

Examples for the six new components#91

Merged
meszmate merged 1 commit intomainfrom
feature/examples-batch-7
Apr 23, 2026
Merged

Examples for the six new components#91
meszmate merged 1 commit intomainfrom
feature/examples-batch-7

Conversation

@meszmate
Copy link
Copy Markdown
Owner

@meszmate meszmate commented Apr 23, 2026

Summary

One runnable example per recently-merged feature, all wired into `build.zig` so they show up as `run-*` targets:

Run target Demonstrates
`zig build run-braille_canvas` Animated bouncing ball + crosshair grid via direct pixel drawing
`zig build run-rich_log` Live log stream with level filter (`l`), search (`/`), follow-mode
`zig build run-screen_stack` Home → Settings → modal Confirm flow with stack breadcrumb
`zig build run-action_system` One ActionRegistry feeding both auto-footer and Ctrl-P palette
`zig build run-data_table` Wide table with two frozen columns and cell-level cursor
`zig build run-dev_console` Emits log entries to `dev_console.log` and `tcp/7878` simultaneously

Each example is a standalone Model so it doubles as a smoke test for the API and a copy-paste starting point.

Test plan

  • `zig build` — all 44 examples compile (six new + 38 existing)
  • `zig build test` — full suite passes
  • Run each new example interactively and confirm keys behave

One runnable example per recently-merged feature, wired into build.zig
as run-* targets:

  zig build run-braille_canvas  — animated bouncing ball with grid
  zig build run-rich_log        — live log stream with filter & search
  zig build run-screen_stack    — three-screen flow with modal dialog
  zig build run-action_system   — registry feeding footer + palette
  zig build run-data_table      — wide table with frozen first column
  zig build run-dev_console     — emits log to file + tcp port 7878

Each example is a standalone Model with an obvious interaction loop so
it doubles as both a smoke test and a copy-paste starting point.
@meszmate meszmate merged commit 0c04ffc into main Apr 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant