Commit Graph

43 Commits

Author SHA1 Message Date
Jack Wills 93e1279b1f chore: Rust 1.80 linting 2024-07-25 14:30:24 +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 d33dce3eec chore: update to ratatui v0.26.0 2024-02-05 22:11:49 +00:00
Jack Wills 81be75f27f chore: Rust 1.75.0 linting 2023-12-31 00:06:16 +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
Jack Wills faeaca0cd1 refactor: set_info_box take &str 2023-10-18 10:44:49 +00:00
Jack Wills e17aad06cd feat: replace loading enum with FRAMES const 2023-06-14 20:47:40 +00:00
Jack Wills 18b838a0fc chore: release v0.3.0 2023-03-30 20:06:08 +00:00
Jack Wills b25f8b18f4 feat: clear delete_map on set_delete_container(None) 2023-03-30 19:29:40 +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 e8f5cf9c6f refactor: get_horizotal/vertical contraints into single method 2023-02-27 14:50:04 +00:00
Kian-Meng Ang a0e2eb38ae docs: fix typos
Found via `typos --format brief`
2023-02-03 10:21:16 +08: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 9dcd0509ef refactor: derive Default for GuiState 2023-01-18 02:01:01 +00:00
Jack Wills bf9dcac704 chore: Rust 1.66 linting 2022-12-15 16:34:24 +00:00
Jack Wills a98e8b7260 chore: cargo fmt 2022-10-16 00:00:41 +00:00
Jack Wills 9e9d51559a feat: use gui_status for various gui states 2022-10-15 00:23:26 +00:00
Jack Wills 90e26c300e wip: gui_status, should use a hashset? 2022-10-14 21:26:20 +00:00
Jack Wills 59797685df fix: loading icon color & shifting, closes #15 2022-10-13 02:33:05 +00:00
Jack Wills 62fb224786 refactor: String::from("") > String::new() 2022-10-07 03:04:06 +00:00
Jack Wills e76878f424 refactor: Impl Copy where able to 2022-10-01 19:57:27 +00:00
Jack Wills 37d8791672 chore: comment typos 2022-09-19 21:59:09 +00:00
Jack Wills 76677316fd chore: release v0.1.4 2022-09-07 14:53:01 +00:00
Jack Wills 66583e1b03 feat: is_loading use HashSet<Uuid>
each set loading function uses a unique uuid, so that the loading animation will always be played, previously would stop on any remove_loading call
2022-09-07 14:33:03 +00:00
Jack Wills 34275b0220 refactor: gui const fn's take self 2022-09-07 13:59:40 +00:00
Jack Wills bfc9cf9b39 wip: Docker file 2022-09-04 15:49:41 -04:00
Jack Wills 1bd61d4ce8 chore: linting nursery 2022-08-04 13:01:16 +00:00
Jack Wills 1263662bd9 chore: linting pedantic 2022-08-04 12:56:45 +00:00
Jack Wills 4fdef153bf chore: release v0.1.0 2022-07-23 04:24:11 +00:00
Jack Wills 3dd1c1323b refactor: dead code removed 2022-07-23 04:22:56 +00:00
Jack Wills a70d6fa968 refacor: creation & drawing of headers 2022-07-22 20:38:22 +00:00
Jack Wills 96ca208197 wip: header+column widths 2022-07-22 19:38:19 +00:00
Jack Wills 28bf0e603d refactor: docker functions 2022-04-29 17:03:50 +00:00
Jack Wills 679203cf2d feat: docker_recv for all docker commands 2022-04-29 16:10:14 +00:00
Jack Wills b10f927481 feat: show id column 2022-04-29 01:03:06 +00:00
Jack Wills 1017850a6c feat: refactored centered box to diplay in any of 9 areas 2022-04-28 21:25:27 +00:00
Jack Wills bb29c0ebfa fix: cargo fmt added to create_release 2022-04-25 02:53:14 +00:00
Jack Wills 5101f60aaa init commit 2022-04-25 02:44:39 +00:00