Commit Graph

237 Commits

Author SHA1 Message Date
Jack Wills c5bbffdb5f feat: ctrl scroll modifier
Use the `ctrl` button to scroll by a factor of ten
2025-08-21 15:19:10 +00:00
Jack Wills 8939ac0345 feat: show horizontal scroll title
Show a horizontal scroll title, with arrows, if available
2025-08-18 14:02:00 +00:00
Jack Wills 696e9e0872 refactor: redraw get_clear() use a swap 2025-08-15 11:13:00 +00:00
Jack Wills 50edbc0cc0 feat: clear screen & redraw
New keymap key to clear the screen & redraw. Useful if gui shows any glitches
2025-08-15 01:07:34 +00:00
Jack Wills 79d19ceeb8 chore: Rust 1.89 linting
#![allow(clippy::collapsible_if)] used, due to Zigbuild version @ 1.87.0
2025-08-14 23:51:38 +00:00
Jack Wills c190f0206c feat: horizontally scroll across log
By default, use left and right arrow keys to horizontally scroll over the lines of logs, also has various refactors to reduced to size of the vec of logs sent to the ui renderer
2025-08-14 23:20:44 +00:00
Jack Wills 4b81c6caaf tests: add more whole layout tests 2025-06-18 07:57:00 +00:00
Jack Wills bf6aa13598 fix: gui_state param name 2025-06-17 23:03:32 +00:00
Jack Wills b8cdea9759 docs: example config 2025-06-17 22:08:50 +00:00
Jack Wills 9cc9f466f8 fix: remove log_panel_set_zero 2025-06-17 22:08:37 +00:00
Jack Wills f79e41a58a fix: change log panel increase
Only reduce/increase log panel height when it is visible
2025-06-17 19:32:18 +00:00
Jack Wills b40b6b197e refactor: dead code removed 2025-06-16 22:55:31 +01:00
Jack Wills ecefa302b9 refactor: reduce lines of log cloned
Instead of cloning every single line of logs, now we only clone those logs that are visible +- a padding.

Containers with hunders or thousands of lines of logs can see a huge reducing in CPU and memory usage
2025-06-16 20:54:40 +00:00
Jack Wills 6edf99e084 feat: change log panel size, closes #50 2025-06-16 16:34:22 +00:00
Jack Wills cfc2decd8d test: fix tests for MacOS, closes #61
(I think) due to differences Backspace/Delete is handled in MacOS as compared to Linux/Windows, some tests were failing.
`oxker` default keymap doesn’t use Backspace or Delete, but a note has been added to the function in case it ever comes up again in the future.
2025-04-22 15:03:24 +00:00
Jack Wills 230174b3c3 tests: fixed version String
Fix the version to `0.00.000` in test mode
2025-04-19 15:58:37 +00:00
Jack Wills d0caa9271b refactor: rename ChartType to ChartVariant, 2025-04-17 15:48:58 +00:00
Jack Wills bca67116f3 refactor: rename ChartType to ChartVariant 2025-04-16 15:35:08 +00:00
Jack Wills a468827f02 fix: config merging
Embarrassingly, settings from the newly implemented config file where not being correctly applied. This *should* now be fixed.
Change the show standard error default to true
2025-04-16 15:16:16 +00:00
Jack Wills 9362d7b481 test: Use insta, closes #57
Use insta for UI tests, adds snapshots of UI layout
2025-04-16 11:24:08 +00:00
Jack Wills 9acf60334c chore: Rust 1.86.0 linting 2025-04-14 11:47:00 +00:00
Jack Wills 8fc845415d docs: typo 2025-02-23 14:25:29 +00:00
Jack Wills a1f31c6c88 fix: update_redraw on delete container change 2025-02-23 14:24:04 +00:00
Jack Wills bb4eec2b5e refactor: headers::draw() 2025-02-23 13:14:22 +00:00
Jack Wills 1394da9033 docs: changelog 2025-02-21 22:54:52 +00:00
Jack Wills 7e4a960b88 feat: update Rust edition to 2024 2025-02-21 22:45:06 +00:00
Jack Wills f90e831239 feat: filter panel colors 2025-02-21 22:00:12 +00:00
Jack Wills bfc295c50e fix: Only re-draw the screen if data/layout has changed 2025-02-21 16:40:34 +00:00
Jack Wills 53625e67cb fix: reduce render execution in the err loop 2025-02-21 11:41:26 +00:00
Jack Wills 17a5e7a258 feat: set log timezone, closes #56
Implement a CLI arg, and config file setting, for changing the timezone of the Docker logs timestamp
2025-02-21 11:03:19 +00:00
Jack Wills f4d54e1ba8 feat: config file, closes #47
Enable use of a config file, with custom keymap and custom colours
2025-02-16 12:54:35 +00:00
Jack Wills 08b1e34054 fix: cargo fmt 2024-12-05 20:14:11 +00:00
Jack Wills de76bc2293 refactor: draw_block
make TX & RX color consts,
refactor filter_by_spans
2024-12-05 17:45:16 +00:00
Jack Wills 69f6c96b70 refactor: remove input_poll_rate from Ui, instead use const POLL_RATE 2024-12-04 22:24:46 +00:00
Jack Wills 35aec5060f refactor: pass &FrameDate into draw_frame() 2024-12-04 21:28:10 +00:00
Jack Wills b596916b97 docs: changelog 2024-12-04 09:23:47 +00:00
Jack Wills 6e2f82db81 refactor: FrameData::from()
use &Arc<Mutex<T>> instead of MutexGuard<T>
2024-12-03 23:46:38 +00:00
Jack Wills 57781701ff refactor: FrameData 2024-12-03 23:25:30 +00:00
Jack Wills 356ea5549b refactor: get_filter
combine filter_term and term_by into a tuple, and insert into FrameData, to reduce .lock() calls
2024-12-03 21:59:00 +00:00
Jack Wills 9b22f5da18 tests: fix logs tests 2024-12-03 21:29:49 +00:00
Jack Wills 1a8dab654a refactor: remove app_data param from generate_lock()
insert data into FrameData instead
2024-12-03 20:42:24 +00:00
Jack Wills 1b26997d25 feat: ContainerPorts use ipaddr 2024-12-03 20:39:51 +00:00
Jack Wills e5927f781a refactor: Remove numerous clones()
get_container_name_by_id clone, init_all_log refactor to remove clones,
remove id.clone() by using SpawnId.get_id()
2024-12-03 19:54:02 +00:00
Jack Wills c739637b91 feat: --no-stderr cli arg, closes #52
New cli argument which will remove stderr output from logs, defaults to false
2024-12-03 15:01:56 +00:00
Jack Wills 751d997a3d chore: Rust 1.83 linting 2024-11-28 14:27:47 +00:00
Jack Wills 5ee48d5708 refactor: dead code removed 2024-11-19 08:27:45 +00:00
Jack Wills ba6a952413 refactor: dead code removed, methods renamed 2024-11-18 10:28:27 +00:00
Jack Wills 2860426d57 refactor: help_box closure fn 2024-11-16 11:32:33 +00:00
Jack Wills c058c5a301 refactor: Rust 1.82 linting 2024-10-21 16:32:33 +00:00
Jack Wills 578ed9f085 revert: expect lint
Expect lint was causing issues with crates/docker builds, revert until fix is found
2024-09-07 21:25:14 +00:00