Commit Graph

164 Commits

Author SHA1 Message Date
Jack Wills 3dd1c1323b refactor: dead code removed 2022-07-23 04:22:56 +00:00
Jack Wills 49e3a4b3b6 refactor: dead code removed 2022-07-23 03:29:18 +00:00
Jack Wills 62e8ee58fa refactor: dead code removed 2022-07-23 03:24:28 +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 3b69cc29fa docs: screenshot 2022-07-22 23:56:30 +00:00
Jack Wills b620f9c001 docs: new screenshot 2022-07-22 21:32:53 +00:00
Jack Wills 8cdfa2d6be wip: logs broken 2022-07-22 21:23:09 +00:00
Jack Wills c39e224d56 docs: readme updated 2022-07-22 20:54:43 +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 d14744b378 wip: sort by 2022-07-22 16:33:40 +00:00
Jack Wills dc4a62910c wip: sort_by 2022-07-22 03:29:23 +00:00
Jack Wills f213409cb9 chore: release v0.0.6 2022-07-06 00:53:57 +00:00
Jack Wills 0446680348 fix: alt+tab > shift+tab typo 2022-07-06 00:47:59 +00:00
Jack Wills 1fd230f2f3 refactor: tokio::spawn
replace async move { fn(x).await} with just tokio::spawn(fn(x))
2022-05-30 14:34:40 +00:00
Jack Wills 1674db8a20 docs: comments improved 2022-05-30 14:30:25 +00:00
Jack Wills a5d7dabbd6 refactor(draw_blocks)r: max_line_width() 2022-05-30 14:24:49 +00:00
Jack Wills 61db81ecfe fix(docker_data): remove unwrap()
use if let (Some(x), Some(y)) instead of x.is_some && y.is_some()
2022-05-30 14:13:24 +00:00
Jack Wills f9075519ed refactor: cargo fmt 2022-05-30 02:31:20 +00:00
Jack Wills 28555d25b2 refactor: unwrap > unwrap_or 2022-05-30 02:28:45 +00:00
Jack Wills b8b7bda32d fix: core::fmt > std::fmt 2022-05-30 02:28:27 +00:00
Jack Wills 63b7de5345 fix: out of bounds error, closes [#8]
use .is_some() and if let Some() to make sure that container indexes are still valid, without can cause out of bounds issue due to docker update frequencies
2022-05-30 02:13:17 +00:00
Jack Wills 78dca39a65 fix: ui unwraps()
replace unwraps with if let Ok() and unwrap_or(())
2022-05-30 01:39:15 +00:00
Jack Wills d68285a233 fix: remove unwraps()
update_containers use an if let Some() instead of an unwrtap().to_owned()
2022-05-30 01:30:24 +00:00
Jack Wills 846fb60131 fix: docker data remove unwrap()
use filter_map in update_containers iter, rather than map(i.unwrap())
2022-05-30 01:19:37 +00:00
Jack Wills c5c859d6b6 refactor: input_handler unwraps()
feat: disregarding docker command errors

replace if_some() +unwrap() with if let Some().
Docker commands unwrap()  replace with unwrap_or(())
2022-05-30 01:11:54 +00:00
Jack Wills 9573512e92 fix: enable stopping restarting containers
Show stop for restartig containers, so that if a container is in a restart loop can stop the loop
2022-05-30 01:10:08 +00:00
Jack Wills 3a7e3974f5 refactor: cargo fmt 2022-05-30 01:00:45 +00:00
Jack Wills fc39aea582 refactor: input m_button
replace is_some() with a if let Some(), and improve comments
2022-05-30 00:44:40 +00:00
Jack Wills ad43f69152 fix: docker_data remove unwrap()
change update_all_containers unwrap with unwrap_or, and use a filter_map on output vec
2022-05-30 00:27:11 +00:00
Jack Wills dc063a2b87 fix: docker_data remove unwrap()
change update_all_containers unwrap with unwrap_or_default()
2022-05-30 00:18:36 +00:00
Jack Wills 108c457e27 fix: app_data unwrap() removal
update_log_by_index replaced unwrap with unwrap_or_default, for a usize
2022-05-30 00:15:38 +00:00
Jack Wills 6dc0c8f679 fix: docker_data unwrap()
use a match clause to remove an unwrap() from the network_stats section of update_container_stat
2022-05-30 00:14:28 +00:00
Jack Wills e497f3f2d9 fix: help panel text
show pg/pgdown, home/end, in help panel
2022-05-22 12:14:52 +00:00
Jack Wills 11d5ba361e docs: readme typo 2022-05-14 22:48:10 +00:00
Jack Wills 2f5452027e fix: logo In help menu, space/tab issue 2022-05-08 19:46:03 +00:00
Jack Wills cb72b9c328 chore: release v0.0.3 2022-05-08 19:30:42 +00:00
Jack Wills 4283a285e2 refactor(create_release.sh): improve release flow & comments 2022-05-08 19:26:55 +00:00
Jack Wills d20e1bcd47 refactor: dead code removed 2022-05-08 18:16:25 +00:00
Jack Wills d41c42adc2 Merge branch 'dev' of https://github.com/siph/oxker into siph-dev 2022-05-08 18:03:01 +00:00
siph d30dabae50 feat: vim movement keys 2022-05-08 11:37:14 -06:00
Jack Wills c04c348932 refactor 2022-05-08 15:57:28 +00:00
Jack Wills 32705a60c4 refactor: generate_block()
insert area in gui_state in generate_block, don't pass in currently
selected panel, instead get from gui_state itself
2022-04-30 00:45:06 +00:00
Jack Wills cf3d0dad3b chore: release v0.0.2 2022-04-29 18:01:55 +00:00
Jack Wills f43c623813 docs: readme 2022-04-29 17:59:17 +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 4b46efe89d fix: gui typo 2022-04-29 14:28:29 +00:00
Jack Wills bfd5ab8773 fix: help box typos 2022-04-29 14:24:34 +00:00