Commit Graph

133 Commits

Author SHA1 Message Date
Jack Wills ffac05a9cd chore: release v0.7.0 2024-08-01 21:59:45 +00:00
Jack Wills 12f24357a6 feat: place image name in logs panel title 2024-08-01 21:35:43 +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 0e927aae17 fix: heading section help margin 2024-07-27 11:07:28 +00:00
Jack Wills 51e9b1da2a refactor: formatting 2024-07-27 09:14:24 +00:00
Jack Wills 2cc2a65d57 tests: fix layout tests with new left alignment 2024-07-26 22:47:19 +00:00
Jack Wills 38a2c52247 Merge branch 'aljazerzen-left-align' into dev 2024-07-25 16:06:59 +00:00
Jack Wills d472d074f6 fix: left align headers,
Remove pointless match statements
2024-07-24 21:07:25 +00:00
Aljaž Mur Eržen 8daa4f5b8a fix tests 2024-07-24 19:04:09 +02:00
Jack Wills 26a2cf55d2 feat: advanced filtering
Allow filtering by name, image name, status, or a combination of all of the three
2024-07-24 14:20:29 +00:00
Aljaž Mur Eržen 4ba27f126c feat: left align text fieds of container block 2024-07-24 00:55:39 +02:00
Jack Wills 91b451c6a3 refactor: filter mode displayed updated 2024-07-15 12:09:56 +00:00
Jack Wills a04ef1b701 tests: refactor all draw tests 2024-07-13 22:08:42 +00:00
Jack Wills 94e4d693ab wip: test refactors 2024-07-12 21:56:35 +00:00
Jack Wills 3aebc8de15 wip: test refactors 2024-07-12 20:28:57 +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 df449a8537 docs: exec not available on windows 2024-05-24 21:47:12 +00:00
Jack Wills ff839af4ef tests: test_draw_blocks_help() with esc text 2024-05-07 18:14:09 +00:00
Jack Wills 7f2f7c34a1 feat: "esc" key function in help box 2024-05-02 13:57:02 +00:00
Jack Wills aa09474053 tests: reduced header section test 2024-04-17 15:19:11 +00:00
Jack Wills 4628803b2b fix: header display when width changes
Only show header when the cumulative header widths is less than the header section width
2024-04-17 15:10:33 +00:00
Jack Wills 867edbecb9 chore: release v0.6.1 2024-02-14 14:39:42 +00:00
Jack Wills d469d71652 revert: debugging code removed 2024-02-14 14:19:45 +00:00
Jack Wills f74ae3f5c3 tests: update port test with new colour 2024-02-14 10:25:32 +00:00
Jack Wills d3b23585b3 fix: ports all listed in white 2024-02-14 09:42:31 +00:00
Jack Wills 6202b7bbfd fix: use long container name in delete popup 2024-02-14 09:33:37 +00:00
Jack Wills 10180d2e08 chore: update dependencies
Some breaking changes in ratatui, should now all have been addressed
2024-02-12 16:20:02 +00:00
Jack Wills d33dce3eec chore: update to ratatui v0.26.0 2024-02-05 22:11:49 +00:00
Jack Wills 0436ff1b73 refactor: draw_block constaints into consts 2024-01-23 21:43:06 +00:00
Jack Wills 7a096a65c4 fix: ports display tweak, plus test 2024-01-18 18:48:33 +00:00
Jack Wills 65a1afcb06 feat: Added ports section, closes #21 2024-01-18 14:30:54 +00:00
Jack Wills 9aab99dbf0 docs: changelog 2024-01-17 16:15:09 +00:00
Jack Wills 53543a1b72 tests: gui tests 2024-01-16 10:38:22 +00:00
Jack Wills 8e9243d884 test: terminal wip 2024-01-14 00:31:38 +00:00
Jack Wills a68794f78d wip: terminal tests 2024-01-14 00:22:26 +00:00
Jack Wills 40ddcb727d fix: header arrow on left 2024-01-06 22:32:09 +00:00
Jack Wills a722731c6a refactor: string_wrapper .get() return &str 2024-01-05 14:14:55 +00:00
Jack Wills e936bb4b78 feat: re-arrange columns + ContainerName + ContainerImage, closes #32
Have container name as first column.
Wrap name and image using the StringWrapper macro, so that can have a custom fmt::Display, which will only show the firs 29 chars of both the name and image name
2024-01-05 13:16:06 +00:00
Jack Wills bd7df7983d chore: release v0.4.0 2023-11-20 17:10:25 +00:00
Jack Wills 39943645c7 style: UI text changes 2023-11-20 14:19:05 +00:00
Jack Wills 5ef24b840b fix: Help menu added missing keys 2023-11-20 12:46:15 +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 ef39082276 chore: release v0.3.1 2023-06-04 00:40:39 +00:00