Skip to content

008 ellipsize targets#5

Merged
relmer merged 3 commits into
masterfrom
008-ellipsize-targets
Apr 21, 2026
Merged

008 ellipsize targets#5
relmer merged 3 commits into
masterfrom
008-ellipsize-targets

Conversation

@relmer

@relmer relmer commented Apr 21, 2026

Copy link
Copy Markdown
Owner

No description provided.

relmer added 3 commits April 20, 2026 21:00
…sis module skeleton

- Create src/path_ellipsis.rs with EllipsizedPath struct and ellipsize_path() stub
- Register pub mod path_ellipsis in lib.rs
- Add ellipsize: Option<bool> to Config (SWITCH_COUNT 9→10, SWITCH_MEMBER_ORDER)
- Add ellipsize/ellipsize- to SWITCH_MAPPINGS and switch_name_to_source_index
- Add ellipsize: Option<bool> to CommandLine (bool_switches, is_recognized, apply_config_defaults)
- Add --Ellipsize to help output, synopsis, env var help, config file help, settings display
- Fix bounds check in display_env_var_decoded_settings switch loop
…tegration, --Ellipsize- guard

- 23 unit tests for ellipsize_path() covering all 5 priority levels, spec test data, edge cases
- compute_available_width_for_target() shared by normal and tree displayers
- Normal mode: ellipsize long reparse targets with split-color rendering
- Tree mode: same algorithm, subtracts tree prefix width
- --Ellipsize- bypass renders full target path unchanged
- Fix help output ordering to match TCDir: --Ellipsize after --Tree, before --Depth
- Fix help description padding to match TCDir column alignment
- Add parity_ellipsize_disabled test for --Ellipsize- mode
- Update CHANGELOG.md and README.md for v5.5 ellipsize feature
- All 492 unit tests pass, clippy clean
- Parity tests: 3 previously-failing reparse tests now pass (23/33 total pass)
- 10 remaining parity failures are pre-existing (timing/wide mode, same on master)
@relmer

relmer commented Apr 21, 2026

Copy link
Copy Markdown
Owner Author

Closes #4

@relmer relmer closed this Apr 21, 2026
@relmer relmer reopened this Apr 21, 2026
@relmer relmer merged commit 421134f into master Apr 21, 2026
4 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