Skip to content

Commit

Permalink
refactor(tui): rename crate
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin authored and jacderida committed May 1, 2024
1 parent 0e19f34 commit 02eef0c
Show file tree
Hide file tree
Showing 24 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
resolver = "2"
members = [
"node-launchpad",
"sn_auditor",
"sn_build_info",
"sn_cli",
Expand All @@ -19,7 +20,6 @@ members = [
"sn_transfers",
"test_utils",
"token_supplies",
"node-tui"
]

[workspace.lints.rust]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 7 additions & 5 deletions node-tui/Cargo.toml → node-launchpad/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[package]
name = "node-tui"
authors = ["MaidSafe Developers <[email protected]>"]
description = "Node Launchpad"
name = "node-launchpad"
version = "0.1.0"
edition = "2021"
description = "Terminal interface for autonomi node management"

authors = ["Josh Wilson <[email protected]>"]
license = "GPL-3.0"
homepage = "https://maidsafe.net"
readme = "README.md"
repository = "https://github.com/maidsafe/safe_network"
build = "build.rs"


[dependencies]
sn_peers_acquisition = { verison = "0.2.10", path = "../sn_peers_acquisition", features = [
"network-contacts",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion node-tui/README.md → node-launchpad/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# node-tui
# Node Launchpad

Terminal interface for autonomi node management
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ use crate::{
};
use color_eyre::eyre::{OptionExt, Result};
use ratatui::{prelude::*, widgets::*};
use sn_node_manager::{cmd::node::ProgressType, config::get_node_registry_path};
use sn_node_manager::config::get_node_registry_path;
use sn_peers_acquisition::PeersArgs;
use sn_service_management::{NodeRegistry, NodeServiceData, ServiceStatus};
use tokio::sync::mpsc::{self, UnboundedSender};
use tokio::sync::mpsc::{UnboundedSender};

#[derive(Default)]
pub struct Home {
Expand Down Expand Up @@ -69,7 +69,6 @@ impl Component for Home {
info!("Adding a new node service");

let peers = self.peers_args.clone();
let (progress_sender, _) = mpsc::channel::<ProgressType>(1);
let action_sender = self.get_actions_sender()?;
self.lock_registry = true;

Expand All @@ -90,7 +89,6 @@ impl Component for Home {
None,
None,
sn_node_manager::VerbosityLevel::Minimal,
progress_sender,
)
.await
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 02eef0c

Please sign in to comment.