Commit Graph

104 Commits

Author SHA1 Message Date
Jack Wills 307810391c tests: updated tests 2026-01-25 09:33:08 +00:00
Jack Wills 0763a1024f feat: set rust-version in Cargo.toml, closes #77
Update zigbuild docker run command to download latest rust version
2025-12-09 11:10:19 +00:00
Jack Wills 96d9469623 feat: log search functionality, closes #72 2025-09-20 22:04:40 +00:00
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 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 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 9cc9f466f8 fix: remove log_panel_set_zero 2025-06-17 22:08:37 +00:00
Jack Wills b40b6b197e refactor: dead code removed 2025-06-16 22:55:31 +01:00
Jack Wills 6edf99e084 feat: change log panel size, closes #50 2025-06-16 16:34:22 +00:00
Jack Wills 9acf60334c chore: Rust 1.86.0 linting 2025-04-14 11:47:00 +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 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 1a8dab654a refactor: remove app_data param from generate_lock()
insert data into FrameData instead
2024-12-03 20:42:24 +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 ba6a952413 refactor: dead code removed, methods renamed 2024-11-18 10:28:27 +00:00
Jack Wills 372f759ca4 chore: Rust 1.81.0 linting 2024-09-05 20:50:54 +00:00
Jack Wills d6238587ff chore: dependencies updated
Replace depreciated ratatui methods
2024-08-15 15:18:29 +00:00
Jack Wills de87681816 feat: unhealthy status, closes #43
Highlight an unhealthy container in Orange, and display "! running" as the state,

refactor: Move dev Docker files to docker directory
2024-08-01 21:35:37 +00:00
Jack Wills d5d8a0dbc5 feat: filter containers, closes #37
Enable filtering of containers, toggled by pressing `F1` or `/`, build on PR #38 from MohammadShabaniSBU
2024-07-12 15:43:42 +00:00
Jack Wills 9b7d575a76 fix: closes #36 Double key strokes on Windows
https://github.com/mrjackwills/oxker/issues/36
2024-05-24 21:43:53 +00:00
Jack Wills d33dce3eec chore: update to ratatui v0.26.0 2024-02-05 22:11:49 +00:00
Jack Wills 65a1afcb06 feat: Added ports section, closes #21 2024-01-18 14:30:54 +00:00
Jack Wills 53543a1b72 tests: gui tests 2024-01-16 10:38:22 +00:00
Jack Wills 4301e4709f fix: Docker Commands hidden
When only one container running, mistakingly hid the Docker Commands section
2024-01-05 13:16:20 +00:00
Jack Wills b608432865 refactor: variable names updated 2023-11-20 10:27:54 +00:00
Jack Wills 56dba91e9a refactor: variable name changes 2023-11-19 23:03:41 +00:00
Jack Wills d200d13c26 refactor: dead code removed 2023-11-19 22:48:49 +00:00
Jack Wills a15da5ed43 feat: export logs feature, closes #1
Save logs to a file.
 `--logs-dir` cli arg to change from the default location.

Refactor of input_handler
2023-11-19 22:25:28 +00:00
Jack Wills 0e5ee143b0 feat: exec mode improvements
Use Bollard library to exec in pure Rust.

`--use-cli` cli arg, will then only try to exec into containers using
Docker.

Only try to exec into a container if the state == Running.
2023-11-18 22:44:39 +00:00
Jack Wills 40090865fd refactor: Multiple UI improvements;
Use FrameData struct to store commonly accessed data, in order to
reduce mutex locks.

rename unpause to resume

use get_selected_panel() function instead of directly
gui_state.selected_panel

debug mode now shows some usefull information
2023-11-16 11:19:42 +00:00
Jack Wills c8077bca0b feat: Docker exec mode, closes #28 2023-11-16 11:19:09 +00:00
Daniel Boll e1998c9fca refactor(draw_blocks.rs): remove unnecessary .as_ref() calls on constraints method to improve code readability
refactor(mod.rs): remove unnecessary .as_ref() calls on constraints method to improve code readability

chore(draw_blocks.rs): format code using rustfmt to improve code readability
chore(draw_blocks.rs): remove unnecessary indentation in NAME_TEXT constant to improve code readability

chore(draw_blocks.rs): remove unnecessary fmt skip directive

Signed-off-by: Daniel Boll <danielboll.academico@gmail.com>
2023-11-16 11:18:49 +00:00
Jack Wills 4e9fb65fe2 chore: Dependencies updated
ratatui v0.24.0 fixes
2023-11-16 11:11:59 +00:00
Jack Wills 3b61a704e2 feat: Clippy mem drop,
re-arrange .lock() ordering, and use `value_capture!`, to satisfy has_significant_drop rule
2023-06-14 20:47:24 +00:00
Jack Wills 591b569e60 feat: value_capture! for draw_frame values 2023-06-14 20:23:05 +00:00
Jack Wills ef39082276 chore: release v0.3.1 2023-06-04 00:40:39 +00:00
Jack Wills 4679ddc885 chore: Spans -> Line, ratatui 0.21 update 2023-06-03 20:30:00 +00:00
Jack Wills 937202fe34 feat: delete container, closes #27
Enable a user to delete a container. A dialog will pop up to ask the user to confirm the deletion. A user can then click on either button, or press N/Y to make a selection
2023-03-30 02:12:03 +00:00