Commit graph

8 commits

Author SHA256 Message Date
Till Wegmueller
d3841462cf
chore(format): Format code
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2026-01-25 23:16:36 +01:00
Till Wegmueller
c0a7f7e3f2
Add ANSI escape sequence parsing for enhanced log rendering
- Replace plain text rendering with `ansi_to_text` for displaying logs with styled ANSI sequences in TUI.
- Implement parsing logic for SGR parameters to apply text styling (e.g., bold, italic, colors).
- Extend TUI functionality to support dynamic styling based on ANSI codes.

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2026-01-25 23:15:12 +01:00
Till Wegmueller
e76f4c0278
Add configuration support and enhance logs handling in TUI
- Introduce `Config` command to manage local `ciadm` settings, including `set-base-url` for persisting logs-service URLs.
- Improve TUI with log category selection and navigation using the Tab key.
- Refactor logs retrieval to support category-based display and enhance error handling.
- Add local configuration file utilities for storing and loading settings.
- Update dependencies to include the `kdl` crate for configuration management.

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2026-01-25 22:54:35 +01:00
Till Wegmueller
9306de0acf
Add TUI support and logs-client crate for enhanced job and log management
- Introduce a Terminal User Interface (TUI) to enable interactive browsing of jobs and logs.
- Add a new `logs-client` crate to handle communication with the logs service, including job listing and log retrieval.
- Extend `ciadm` to include new commands: `jobs`, `logs`, and `tui`, for interacting with the logs service.
- Enhance the CLI to support repository filtering, job status retrieval, and detailed log viewing.
- Refactor dependencies and organize logs-related functionality for modularity and reusability.

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2026-01-25 22:31:11 +01:00
Till Wegmueller
633f658639
chore: format code with cargo fmt
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-11-18 15:43:18 +01:00
Till Wegmueller
033f9b5ab0
Format 2025-11-01 14:56:46 +01:00
Till Wegmueller
374dff5c04
Simplify variable initialization and remove unused imports across multiple crates 2025-11-01 14:44:42 +01:00
Till Wegmueller
a71f9cc7d1
Initial Commit
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-10-25 20:01:08 +02:00