feat: rename Project Mycelium to Mycelium Marketplace across codebase and UI
This commit is contained in:
@@ -548,24 +548,24 @@ function refreshSliceCalculations() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sync node data with ThreeFold Grid
|
||||
* Sync node data with Mycelium Grid
|
||||
*/
|
||||
function syncWithGrid() {
|
||||
console.log('☁️ Syncing with ThreeFold Grid');
|
||||
console.log('☁️ Syncing with Mycelium Grid');
|
||||
// Immediate UX feedback while the backend sync runs
|
||||
try { showNotification('Syncing with ThreeFold Grid...', 'info'); } catch (_) {}
|
||||
try { showNotification('Syncing with Mycelium Grid...', 'info'); } catch (_) {}
|
||||
|
||||
window.apiJson('/api/dashboard/sync-with-grid', {
|
||||
method: 'POST'
|
||||
})
|
||||
.then(() => {
|
||||
// Treat resolved response as success; apiJson throws on non-OK
|
||||
showNotification('Successfully synced with ThreeFold Grid', 'success');
|
||||
showNotification('Successfully synced with Mycelium Grid', 'success');
|
||||
setTimeout(() => { window.location.reload(); }, 1000);
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error syncing with grid:', error);
|
||||
showNotification('Error syncing with ThreeFold Grid', 'error');
|
||||
showNotification('Error syncing with Mycelium Grid', 'error');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3188,7 +3188,7 @@ async function viewDefaultSliceDetails(formatId) {
|
||||
id: formatData.id,
|
||||
name: formatData.name,
|
||||
description: formatData.description,
|
||||
provider_name: "ThreeFold (Default)",
|
||||
provider_name: "Mycelium (Default)",
|
||||
base_price: formatData.price_per_hour,
|
||||
slice_configuration: {
|
||||
cpu_cores: formatData.cpu_cores,
|
||||
@@ -3230,7 +3230,7 @@ async function editDefaultSliceConfiguration(formatId) {
|
||||
id: formatData.id,
|
||||
name: formatData.name,
|
||||
description: formatData.description,
|
||||
provider_name: "ThreeFold (Default)",
|
||||
provider_name: "Mycelium (Default)",
|
||||
base_price: formatData.price_per_hour,
|
||||
attributes: {
|
||||
slice_configuration: {
|
||||
@@ -5763,7 +5763,7 @@ function getSelectedSliceConfiguration() {
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Sync node data from ThreeFold Grid
|
||||
* Sync node data from Mycelium Grid
|
||||
*/
|
||||
/**
|
||||
* Show default slice details modal
|
||||
|
Reference in New Issue
Block a user