You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add TUI table overrides for high-traffic list commands (#4732)
## Why
PR #4731 added curated TUI table overrides for 15 list commands. This
follow-up covers 5 additional commands that are among the most
frequently used in the CLI, but were missing curated columns.
## Changes
Before: these 5 commands used either generic text templates (secrets,
cluster-policies) or raw JSON output (lakeview, pipeline events) with no
curated TUI table columns.
Now: all 5 register curated TableConfig overrides so they show useful
columns in the interactive TUI. Commands that had no text template
override (lakeview list, pipelines list-pipeline-events) also get
template annotations for the non-interactive fallback.
This PR stacks on #4731. It only adds per-command overrides, no engine
changes.
### Post-review fixes
- Sanitize control whitespace (`\n`, `\r`, `\t`) in pipeline event
messages to prevent table row corruption
- Increase MaxWidth for pipeline event Message column from 60 to 200
(pragmatic cap until non-destructive clipping is implemented)
- Remove redundant `PaginatedModel` type alias, use `FinalModel`
interface instead
- Remove duplicate `TestPaginatedErrAccessor` test
- Trim verbose MaxWidth truncation comment
## Test plan
- `go build ./...`
- `make checks` passes
- `make lintfull` passes (0 issues)
- Manual smoke test: verify curated columns for `secrets list-scopes`,
`lakeview list`, `pipelines list-pipeline-events`
0 commit comments