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
Jack Wills
f906799782
fix: alter the help box link underlining
2023-03-29 17:20:20 +00:00
Jack Wills
d431f85021
feat: use ratatui
2023-03-19 21:08:33 +00:00
Jack Wills
d9f0bd5566
refactor: result return
2023-03-11 21:04:16 +00:00
Jack Wills
8ba37a165b
refactor: reaplace unwrap_or(()) with .ok()
2023-03-09 15:18:00 +00:00
Jack Wills
507660d835
feat: only send relevant mouse events to input handler
2023-03-02 16:01:37 +00:00
Jack Wills
340893a860
fix: correctly set gui error
2023-03-02 05:18:06 +00:00
Jack Wills
cb7518afe6
docs: changelog
2023-03-02 04:13:31 +00:00
Jack Wills
c74f6c1179
refactor: enable_mouse_capture() moved into Ui struct
2023-03-02 04:10:38 +00:00
Jack Wills
9d2e72086b
docs: comment typos
2023-03-02 03:54:55 +00:00
Jack Wills
93f7c07f70
fix: nullify_event_read(), mouse event output fix
2023-03-02 03:48:21 +00:00
Jack Wills
495d5ae789
docs: changelog
2023-03-02 03:20:35 +00:00
Jack Wills
0a1b531116
feat: Acutal fix the the mouse events output
...
The EnableMouseCapture from Crossterm was too broad, by only enabling a subject of the events, 1) performance is improvedand 2) and intermittent bug where mouse events were output to stdout has been removed
2023-03-02 01:09:17 +00:00
Jack Wills
b8f5792d18
refactor: dead code removed
2023-03-01 19:18:36 +00:00
Jack Wills
3437df5988
refactor: ui into a struct
2023-02-28 19:48:49 +00:00
Jack Wills
31bfaa7a95
wip: fix for mouse capture bug
2023-02-28 04:10:31 +00:00
Jack Wills
846e0641d0
wip: mouse capture errors
2023-02-27 19:52:03 +00:00
Jack Wills
b6c3ce21ca
fix: move final stout flush to main.rs
2023-02-27 02:56:38 +00:00
Jack Wills
c0bb5355d6
refactor: app_data methods re-ordered & renamed
2023-01-29 01:52:38 +00:00
Jack Wills
c4d80061da
revert: is_running AtomicBool back to SeqCst
2023-01-28 20:45:02 +00:00
Jack Wills
b4488e4bdb
refactor: major refactor of internal data handling
...
What started off as an inquisitive look at how the gui drawing blocks get the data they require in order to draw to the screen, ended up as a realisation that it could be achieved in a better manner. Basically just use x.get(y), instead of using x[y] all over the place
2023-01-28 20:44:09 +00:00
Jack Wills
93dbc614d1
chore: release v0.2.0
2023-01-21 22:20:40 +00:00
Jack Wills
51c580010a
fix: memory column aligned, closes #20
2023-01-18 02:06:05 +00:00
Jack Wills
0350293de3
refactor: param reduction, AtomicBool to Relaxed
2023-01-14 17:59:33 +00:00