Skip to content

fix: improve column width handling for rli agent list#199

Merged
jrvb-rl merged 3 commits intomainfrom
jrvb/fix-agent-list-width
Apr 8, 2026
Merged

fix: improve column width handling for rli agent list#199
jrvb-rl merged 3 commits intomainfrom
jrvb/fix-agent-list-width

Conversation

@jrvb-rl
Copy link
Copy Markdown
Contributor

@jrvb-rl jrvb-rl commented Apr 7, 2026

The previous code had fixed column widths that were sometimes too narrow, leading to some odd wrapping behavior and difficult-to-read output. This change calculates column widths dynamically to ensure that there is enough space. No columns are truncated, so if the terminal is too small, output will just wrap. This is ugly, but at least doesn't lose information.

@jrvb-rl jrvb-rl requested review from james-rl and jason-rl April 7, 2026 23:41
Copy link
Copy Markdown
Contributor

@jason-rl jason-rl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious if the list.ts of other stuff already follow this pattern, a separate PR can do so

Comment thread src/commands/agent/list.ts Outdated
Comment thread src/commands/agent/list.ts Outdated
Copy link
Copy Markdown
Contributor

@james-rl james-rl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me.

@jrvb-rl jrvb-rl merged commit d4aa73f into main Apr 8, 2026
15 checks passed
@jrvb-rl jrvb-rl deleted the jrvb/fix-agent-list-width branch April 8, 2026 01:35
jrvb-rl pushed a commit that referenced this pull request Apr 23, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.16.0](v1.15.0...v1.16.0)
(2026-04-23)


### Features

* add agent/axon TUI screens and align list commands with pagination
([#205](#205))
([1481d7a](1481d7a))
* add secret config to bmj, toggle available to show public benchmarks
for new jobs ([#156](#156))
([86cda21](86cda21))
* better handling of RUNLOOP_BASE_URL
([#216](#216))
([f4b59fd](f4b59fd))
* extract shared object detail fields and fix ResourcePicker height
([#204](#204))
([b685b65](b685b65))
* improve agent support in interactive rli
([#209](#209))
([4aa5ca6](4aa5ca6))
* update agents support in rli command line
([#200](#200))
([512d41f](512d41f))


### Bug Fixes

* "Showing 1-0 of 0" in TUI, cache unfiltered total count through search
reset ([#196](#196))
([8170888](8170888))
* don't reset settings TUI menu cursor on back
([#198](#198))
([7a0796d](7a0796d))
* harden dependency security posture
([#211](#211))
([198ad1e](198ad1e))
* improve column width handling for rli agent list
([#199](#199))
([d4aa73f](d4aa73f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants