docs: changelog
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
### Refactors
|
### Refactors
|
||||||
+ major refactor of internal data handling, [b4488e4bdb0252f5c5680cee6a46427f22a282ab]
|
+ major refactor of internal data handling, [b4488e4bdb0252f5c5680cee6a46427f22a282ab]
|
||||||
+ needless (double) referencing removed, [a174dafe1b05908735680a874dc551a86da24777]
|
+ needless (double) referencing removed, [a174dafe1b05908735680a874dc551a86da24777]
|
||||||
|
+ app_data methods re-ordered & renamed, [c0bb5355d6a5d352260655110ce3d5ab695acda9]
|
||||||
|
|
||||||
### Reverts
|
### Reverts
|
||||||
+ is_running AtomicBool back to SeqCst, [c4d80061dab94afd08d4d793dc147f878c965ad6]
|
+ is_running AtomicBool back to SeqCst, [c4d80061dab94afd08d4d793dc147f878c965ad6]
|
||||||
|
|||||||
+1
-1
@@ -530,7 +530,7 @@ impl AppData {
|
|||||||
.containers
|
.containers
|
||||||
.items
|
.items
|
||||||
.iter()
|
.iter()
|
||||||
.map(|i| i.id.to_owned())
|
.map(|i| i.id.clone())
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
// Only sort it no containers currently set, as afterwards the order is fixed
|
// Only sort it no containers currently set, as afterwards the order is fixed
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![warn(clippy::unused_async, clippy::unwrap_used, clippy::expect_used)]
|
#![warn(clippy::unused_async, clippy::unwrap_used, clippy::expect_used)]
|
||||||
// Warning - These are indeed pedantic
|
// Warning - These are indeed pedantic
|
||||||
// #![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
#![warn(clippy::nursery)]
|
#![warn(clippy::nursery)]
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::module_name_repetitions,
|
clippy::module_name_repetitions,
|
||||||
|
|||||||
@@ -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))
|
.style(Style::default().fg(Color::Cyan))
|
||||||
.graph_type(GraphType::Line)
|
.graph_type(GraphType::Line)
|
||||||
.data(&mem.0)];
|
.data(&mem.0)];
|
||||||
|
|
||||||
let cpu_stats = CpuStats::new(cpu.0.last().map_or(0.00, |f| f.1));
|
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 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);
|
let cpu_chart = make_chart(cpu.2, "cpu", cpu_dataset, &cpu_stats, &cpu.1);
|
||||||
|
|||||||
Reference in New Issue
Block a user