docs: changelog

This commit is contained in:
Jack Wills
2023-01-29 02:12:02 +00:00
parent c0bb5355d6
commit d7a8639d8b
4 changed files with 4 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@
### Refactors
+ major refactor of internal data handling, [b4488e4bdb0252f5c5680cee6a46427f22a282ab]
+ needless (double) referencing removed, [a174dafe1b05908735680a874dc551a86da24777]
+ app_data methods re-ordered & renamed, [c0bb5355d6a5d352260655110ce3d5ab695acda9]
### Reverts
+ is_running AtomicBool back to SeqCst, [c4d80061dab94afd08d4d793dc147f878c965ad6]
+1 -1
View File
@@ -530,7 +530,7 @@ impl AppData {
.containers
.items
.iter()
.map(|i| i.id.to_owned())
.map(|i| i.id.clone())
.collect::<Vec<_>>();
// Only sort it no containers currently set, as afterwards the order is fixed
+1 -1
View File
@@ -1,7 +1,7 @@
#![forbid(unsafe_code)]
#![warn(clippy::unused_async, clippy::unwrap_used, clippy::expect_used)]
// Warning - These are indeed pedantic
// #![warn(clippy::pedantic)]
#![warn(clippy::pedantic)]
#![warn(clippy::nursery)]
#![allow(
clippy::module_name_repetitions,
+1
View File
@@ -266,6 +266,7 @@ pub fn chart<B: Backend>(f: &mut Frame<'_, B>, area: Rect, app_data: &Arc<Mutex<
.style(Style::default().fg(Color::Cyan))
.graph_type(GraphType::Line)
.data(&mem.0)];
let cpu_stats = CpuStats::new(cpu.0.last().map_or(0.00, |f| f.1));
let mem_stats = ByteStats::new(mem.0.last().map_or(0, |f| f.1 as u64));
let cpu_chart = make_chart(cpu.2, "cpu", cpu_dataset, &cpu_stats, &cpu.1);