Jack Wills
38a2c52247
Merge branch 'aljazerzen-left-align' into dev
2024-07-25 16:06:59 +00:00
Jack Wills
9e5cf68b8f
fix: colum width minimums
2024-07-24 21:02:56 +00: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
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
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
b9df4e446a
tests: AppData tests
2024-01-13 22:51:42 +00:00
Jack Wills
27cf53e41f
refactor: rename string_wrapper > unit_struct
2024-01-06 22:05:16 +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
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
650aa0fc91
refactor: DockerData refactors
...
Use a croner in the docker_data, instead of in the ui thread, as this thread will be paused when in exec mode.
is_initilised is again done in docker_data, after stats have been calculated
use bollard from git, waiting for new release due to Docker changes
2023-11-16 11:19:42 +00:00
Jack Wills
09bf70abd2
chore: release v0.3.3
2023-10-21 16:25:42 +00:00
Jack Wills
44f581f5b3
refactor: LogsTZ from &str
2023-10-18 10:25:34 +00:00
Jack Wills
21234c66c3
chore: Rust 1.73 linting
2023-10-05 19:54:05 +00:00
Jack Wills
ca79893df5
refactor: from string impl
...
Remove redudant impl's, use `.as_str()`
2023-09-17 18:41:10 +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
d431f85021
feat: use ratatui
2023-03-19 21:08:33 +00:00
Jack Wills
9d2e72086b
docs: comment typos
2023-03-02 03:54:55 +00:00
Kian-Meng Ang
a0e2eb38ae
docs: fix typos
...
Found via `typos --format brief`
2023-02-03 10:21:16 +08:00
Jack Wills
657ea2d751
feat: Logs in own struct
...
Store the logs, and timestamp into a hashset, so that won't push data into the vec if it's already in the hashset, close #11
2023-01-18 02:04:44 +00:00
Jack Wills
bd7dfcd2c5
feat: align memory columns correctly, closes #20
...
use kB as minimum bytestats unit, screenshot updated
2023-01-14 18:01:38 +00:00
Jack Wills
46d4e5a832
chore: release v0.1.10
2022-12-25 15:48:57 +00:00
Jack Wills
bf9dcac704
chore: Rust 1.66 linting
2022-12-15 16:34:24 +00:00
Jack Wills
e71802fe21
chore: release v0.1.9
2022-12-05 14:06:22 +00:00
Jack Wills
160b8021b1
fix: disallow commands to be sent so an oxker container, closes #19
2022-12-05 03:52:41 +00:00
Jack Wills
cf14ba4989
feat: default order of created time, reset sorted, closes #18
2022-12-04 21:42:54 +00:00
Jack Wills
00af24e944
chore: release v0.1.7
2022-11-13 16:39:47 +00:00
Jack Wills
8f3a151371
chore: aggressive linting, with rust v1.65.0
2022-11-06 01:34:13 +00:00
Jack Wills
283fda6982
chore: release v0.1.6
2022-10-16 02:15:04 +00:00
Jack Wills
a060d03258
refactor: Cpu+Mem stats use tuple struct
2022-10-16 01:23:02 +00:00
Jack Wills
62fb224786
refactor: String::from("") > String::new()
2022-10-07 03:04:06 +00:00
Jack Wills
5660b34d51
refactor: map_or_else to map_or
2022-10-07 02:22:26 +00:00
Jack Wills
6bee4d007a
refactor: clone()'s removed, allow(precision_loss)
2022-10-02 01:14:42 +00:00
Jack Wills
a7b8df6b21
refactor: derive Default for CpuStats + ByteStats
2022-10-01 23:40:25 +00:00
Jack Wills
41cbb84f28
feat: use ContainerId new_type
2022-10-01 23:27:38 +00:00
Jack Wills
6731002ee4
refactor: remove pointless clone()'s & variable declarations
2022-10-01 21:02:38 +00:00
Jack Wills
e76878f424
refactor: Impl Copy where able to
2022-10-01 19:57:27 +00:00
Jack Wills
57c27d06c7
refactor: byte_stats one_kb/mb/gb made into consts
2022-09-19 22:03:00 +00:00
Jack Wills
bfc9cf9b39
wip: Docker file
2022-09-04 15:49:41 -04:00
Jack Wills
d7c2601f95
feat: derive Eq where appropriate
2022-08-27 14:16:58 +00:00
Jack Wills
258ada731b
chore: linting warns removed
2022-08-04 13:29:09 +00:00
Jack Wills
0e11767db8
chore: cargo fmt
2022-08-04 13:18:27 +00: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
3dd1c1323b
refactor: dead code removed
2022-07-23 04:22:56 +00:00
Jack Wills
d0f617820c
feat: spawn docker updates into own thread
...
Collects spawns into a hashmap, then on next update if spawn exists in hash map, don't bother to run another update
2022-07-23 02:46:38 +00:00
Jack Wills
f5504c47c5
refactor: input sorted
2022-07-23 01:15:58 +00:00
Jack Wills
8cdfa2d6be
wip: logs broken
2022-07-22 21:23:09 +00:00