Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow Custom Columns TUI #863

Merged

Conversation

trkelly23
Copy link
Collaborator

@trkelly23 trkelly23 commented Dec 13, 2023

Closes #757

Added:
Custom columns to TUI interface by either the configuration file or command line option
Calculation of column percentage with 40% constant percentage for hosts column.
Unit tests for TuiColumns and Columns classes
cargo test frontend::columns
cargo test config::columns

Tests run:
cargo run -- -u --tui-custom-columns="" -m tui freebsd.org
cargo run -- -u -c ./trippy-config-sample.toml -m tui freebsd.org
cargo run -- -u --tui-custom-columns="" -c ./trippy-config-sample.toml -m tui freebsd.org
cargo run -- -u --tui-custom-columns="" -m tui freebsd.org
cargo run -- -u --tui-custom-columns="thobwd" -m tui freebsd.org

@stappersg stappersg mentioned this pull request Dec 13, 2023
src/config/columns.rs Outdated Show resolved Hide resolved
@trkelly23 trkelly23 force-pushed the Allow-Custom-Columns-tui branch from 9d02f00 to e24bae0 Compare December 15, 2023 21:31
feat: Allow Custom Columns TUI

feat: Allow Custom Columns TUI

feat: Allow Custom Columns TUI

feat: Allow custom TUI Columns

feat: Allow custom TUI Column

feat: allow customizing columns rebased (WIP)

feat: Allow Custom Columns TUI
@trkelly23 trkelly23 force-pushed the Allow-Custom-Columns-tui branch from e24bae0 to c68500a Compare December 16, 2023 13:08
@fujiapple852
Copy link
Owner

LGTM !

@fujiapple852 fujiapple852 merged commit ee5fb8a into fujiapple852:master Dec 16, 2023
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.

Allow customizing columns
2 participants