diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e3e549dd..d7eabe0d6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 2024-10-01 +### Launchpad + +#### Changed + +- Disable node selection on status screen +- We change node size from 5GB to 35GB + +## 2024-10-01 + ### Network #### Changed -- Increase node storage size from 4GB to 32GB +- Increase node storage size from 2GB to 32GB ## 2024-09-24 diff --git a/Cargo.lock b/Cargo.lock index 11c6d9f36b..f0db3eced7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4709,7 +4709,7 @@ dependencies = [ [[package]] name = "node-launchpad" -version = "0.3.16" +version = "0.3.17" dependencies = [ "ansi-to-tui", "atty", diff --git a/node-launchpad/Cargo.toml b/node-launchpad/Cargo.toml index b4c1bb860f..19511b1c9e 100644 --- a/node-launchpad/Cargo.toml +++ b/node-launchpad/Cargo.toml @@ -2,7 +2,7 @@ authors = ["MaidSafe Developers "] description = "Node Launchpad" name = "node-launchpad" -version = "0.3.16" +version = "0.3.17" edition = "2021" license = "GPL-3.0" homepage = "https://maidsafe.net" diff --git a/node-launchpad/src/components/popup/manage_nodes.rs b/node-launchpad/src/components/popup/manage_nodes.rs index 1810d02713..fd0e285660 100644 --- a/node-launchpad/src/components/popup/manage_nodes.rs +++ b/node-launchpad/src/components/popup/manage_nodes.rs @@ -23,7 +23,7 @@ use crate::{ use super::super::{utils::centered_rect_fixed, Component}; -pub const GB_PER_NODE: usize = 5; +pub const GB_PER_NODE: usize = 35; pub const MB: usize = 1000 * 1000; pub const GB: usize = MB * 1000; pub const MAX_NODE_COUNT: usize = 50; diff --git a/node-launchpad/src/components/status.rs b/node-launchpad/src/components/status.rs index b512a89311..c047a39249 100644 --- a/node-launchpad/src/components/status.rs +++ b/node-launchpad/src/components/status.rs @@ -175,7 +175,8 @@ impl Status { ); if !self.node_services.is_empty() && self.node_table_state.selected().is_none() { - self.node_table_state.select(Some(0)); + // self.node_table_state.select(Some(0)); + self.node_table_state.select(None); } Ok(()) @@ -200,7 +201,7 @@ impl Status { .collect() } - fn select_next_table_item(&mut self) { + fn _select_next_table_item(&mut self) { let i = match self.node_table_state.selected() { Some(i) => { if i >= self.node_services.len() - 1 { @@ -214,7 +215,7 @@ impl Status { self.node_table_state.select(Some(i)); } - fn select_previous_table_item(&mut self) { + fn _select_previous_table_item(&mut self) { let i = match self.node_table_state.selected() { Some(i) => { if i == 0 { @@ -417,10 +418,10 @@ impl Component for Status { return Ok(Some(Action::SwitchScene(Scene::ManageNodesPopUp))); } StatusActions::PreviousTableItem => { - self.select_previous_table_item(); + // self.select_previous_table_item(); } StatusActions::NextTableItem => { - self.select_next_table_item(); + // self.select_next_table_item(); } StatusActions::StartNodes => { debug!("Got action to start nodes"); @@ -678,9 +679,12 @@ impl Component for Status { ]); let line2 = Line::from(vec![Span::styled( - "Each node will use 5GB of storage and a small amount of memory, \ + format!( + "Each node will use {}GB of storage and a small amount of memory, \ CPU, and Network bandwidth. Most computers can run many nodes at once, \ but we recommend you add them gradually", + GB_PER_NODE + ), Style::default().fg(LIGHT_PERIWINKLE), )]); diff --git a/release-cycle-info b/release-cycle-info index fff8df8bb2..1bc2281ec8 100644 --- a/release-cycle-info +++ b/release-cycle-info @@ -15,4 +15,4 @@ release-year: 2024 release-month: 10 release-cycle: 1 -release-cycle-counter: 1 +release-cycle-counter: 2