From 1028ea8c43eb1e77292f1e2a8ba1a93ac3ebc47f Mon Sep 17 00:00:00 2001 From: mik-tf Date: Mon, 8 Sep 2025 13:56:17 -0400 Subject: [PATCH] feat: rename Project Mycelium to Mycelium Marketplace across codebase and UI --- src/bin/cleanup.rs | 2 +- src/lib.rs | 4 +- src/models/marketplace.rs | 2 +- src/services/currency.rs | 2 +- src/services/factory.rs | 2 +- src/static/css/styles.css | 2 +- src/static/images/docs/tfp-flow.svg | 2 +- src/static/js/buy-now.js | 2 +- .../js/dashboard-application-provider.js | 2 +- src/static/js/dashboard-messages.js | 2 +- src/static/js/dashboard-resource_provider.js | 16 ++++---- src/static/js/messaging-system.js | 2 +- src/static/js/modal-system.js | 2 +- src/static/js/notification-system.js | 4 +- src/utils/response_builder.rs | 2 +- src/views/auth/login.html | 2 +- src/views/auth/register.html | 4 +- src/views/base.html | 8 ++-- src/views/cart.html | 2 +- src/views/changelog.html | 6 +-- src/views/dashboard/application_provider.html | 8 ++-- src/views/dashboard/cart.html | 2 +- src/views/dashboard/index.html | 4 +- src/views/dashboard/orders.html | 2 +- src/views/dashboard/pools.html | 8 ++-- src/views/dashboard/resource_provider.html | 16 ++++---- src/views/dashboard/service_provider.html | 4 +- .../dashboard/service_request_invoice.html | 8 ++-- .../dashboard/service_request_report.html | 6 +-- src/views/dashboard/user.html | 2 +- src/views/dashboard/welcome.html | 10 ++--- src/views/docs/api.html | 10 ++--- src/views/docs/applications.html | 20 +++++----- src/views/docs/certification.html | 28 ++++++------- src/views/docs/compute.html | 8 ++-- src/views/docs/gateways.html | 8 ++-- src/views/docs/getting_started.html | 14 +++---- src/views/docs/index.html | 14 +++---- src/views/docs/mycelium_nodes.html | 6 +-- src/views/docs/services.html | 18 ++++----- src/views/docs/slices.html | 8 ++-- src/views/docs/tfp.html | 6 +-- src/views/home/about.html | 10 ++--- src/views/home/contact.html | 22 +++++----- src/views/home/index.html | 24 +++++------ src/views/legal/privacy.html | 8 ++-- .../legal/terms-application-providers.html | 20 +++++----- src/views/legal/terms-resource_providers.html | 16 ++++---- src/views/legal/terms-service-providers.html | 20 +++++----- src/views/legal/terms-users.html | 40 +++++++++---------- src/views/legal/terms.html | 24 +++++------ src/views/marketplace/applications.html | 4 +- src/views/marketplace/cart.html | 6 +-- src/views/marketplace/cart_full.html | 6 +-- src/views/marketplace/cart_simple.html | 2 +- src/views/marketplace/cart_standalone.html | 10 ++--- src/views/marketplace/checkout.html | 6 +-- src/views/marketplace/compute_resources.html | 2 +- src/views/marketplace/dashboard.html | 12 +++--- src/views/marketplace/gateways.html | 2 +- src/views/marketplace/mycelium_nodes.html | 2 +- src/views/marketplace/order_confirmation.html | 10 ++--- src/views/marketplace/order_detail.html | 6 +-- src/views/marketplace/order_invoice.html | 8 ++-- src/views/marketplace/orders.html | 8 ++-- src/views/marketplace/product_detail.html | 4 +- .../marketplace/product_detail_step1.html | 2 +- .../marketplace/product_detail_step2.html | 2 +- src/views/marketplace/products.html | 2 +- src/views/marketplace/services.html | 2 +- src/views/marketplace/slice_rental_form.html | 2 +- src/views/marketplace/statistics.html | 4 +- src/views/roadmap.html | 8 ++-- src/views/wallet/index.html | 2 +- 74 files changed, 288 insertions(+), 288 deletions(-) diff --git a/src/bin/cleanup.rs b/src/bin/cleanup.rs index dbec294..3920174 100644 --- a/src/bin/cleanup.rs +++ b/src/bin/cleanup.rs @@ -7,7 +7,7 @@ fn main() { // Initialize logging env_logger::init(); - println!("๐Ÿงน Project Mycelium Data Cleanup Utility"); + println!("๐Ÿงน Mycelium Marketplace Data Cleanup Utility"); println!("=============================================="); // Manually clean up user1's duplicate nodes diff --git a/src/lib.rs b/src/lib.rs index 365d189..e0031b3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ -//! Project Mycelium Library +//! Mycelium Marketplace Library //! -//! This library provides the core functionality for Project Mycelium, +//! This library provides the core functionality for Mycelium Marketplace, //! including services, models, and controllers for managing a decentralized marketplace. use actix_web::cookie::Key; diff --git a/src/models/marketplace.rs b/src/models/marketplace.rs index 0403092..5a8e5ec 100644 --- a/src/models/marketplace.rs +++ b/src/models/marketplace.rs @@ -38,7 +38,7 @@ impl Default for MarketplaceConfig { fn default() -> Self { Self { marketplace: MarketplaceInfo { - name: "Project Mycelium".to_string(), + name: "Mycelium Marketplace".to_string(), marketplace_type: "infrastructure".to_string(), base_currency: "USD".to_string(), default_display_currency: "USD".to_string(), diff --git a/src/services/currency.rs b/src/services/currency.rs index fa9bf1a..d5c5fae 100644 --- a/src/services/currency.rs +++ b/src/services/currency.rs @@ -124,7 +124,7 @@ impl CurrencyService { }, Currency { code: "TFT".to_string(), - name: "ThreeFold Token".to_string(), + name: "Mycelium Token".to_string(), symbol: "TFT".to_string(), currency_type: crate::models::currency::CurrencyType::Token, exchange_rate_to_base: dec!(0.05), diff --git a/src/services/factory.rs b/src/services/factory.rs index 4573fe0..03dd9e7 100644 --- a/src/services/factory.rs +++ b/src/services/factory.rs @@ -7,7 +7,7 @@ use crate::services::{ /// Service factory for single source of truth service instantiation /// /// This factory consolidates repeated service instantiations throughout -/// the Project Mycelium codebase, focusing on persistent data access +/// the Mycelium Marketplace codebase, focusing on persistent data access /// and eliminating mock data usage in favor of user_data/ directory. /// /// Usage: diff --git a/src/static/css/styles.css b/src/static/css/styles.css index b2f3ac3..7a6757b 100644 --- a/src/static/css/styles.css +++ b/src/static/css/styles.css @@ -1,4 +1,4 @@ -/* Custom styles for Project Mycelium */ +/* Custom styles for Mycelium Marketplace */ /* Global styles */ body { diff --git a/src/static/images/docs/tfp-flow.svg b/src/static/images/docs/tfp-flow.svg index 8bc7bd7..2f07025 100644 --- a/src/static/images/docs/tfp-flow.svg +++ b/src/static/images/docs/tfp-flow.svg @@ -20,7 +20,7 @@ - ThreeFold Points (TFP) Flow + Mycelium Points (TFP) Flow diff --git a/src/static/js/buy-now.js b/src/static/js/buy-now.js index 17b0426..219a797 100644 --- a/src/static/js/buy-now.js +++ b/src/static/js/buy-now.js @@ -35,7 +35,7 @@ class BuyNowRequestBuilder { } providerName(name) { - this.request.provider_name = name || 'Project Mycelium'; + this.request.provider_name = name || 'Mycelium Marketplace'; return this; } diff --git a/src/static/js/dashboard-application-provider.js b/src/static/js/dashboard-application-provider.js index c91a23a..a9210f1 100644 --- a/src/static/js/dashboard-application-provider.js +++ b/src/static/js/dashboard-application-provider.js @@ -1247,7 +1247,7 @@ function showDeploymentDetailsModal(deployment, appName) { showModal('deploymentDetailsModal'); } -// ThreeFold Support Modal +// Mycelium Support Modal function showMyceliumSupportModal(deploymentId, customerName) { const modalHtml = `