diff --git a/components/StatusBadge.vue b/components/StatusBadge.vue index 1bada8f..cfd1868 100644 --- a/components/StatusBadge.vue +++ b/components/StatusBadge.vue @@ -19,6 +19,13 @@ const statusMap: Record = // File transfer statuses Pending: { dot: '○', label: 'Pending', color: 'text-autonomi-muted' }, Quoting: { dot: '◐', label: 'Quoting', color: 'text-autonomi-warning' }, + 'Queued: quoting': { dot: '○', label: 'Queued: quoting', color: 'text-autonomi-muted' }, + 'Queued: uploading': { dot: '○', label: 'Queued: uploading', color: 'text-autonomi-muted' }, + 'Connecting to network…': { dot: '◐', label: 'Connecting to network…', color: 'text-autonomi-warning' }, + 'Obtaining quote…': { dot: '◐', label: 'Obtaining quote…', color: 'text-autonomi-warning' }, + 'Saving datamap…': { dot: '◐', label: 'Saving datamap…', color: 'text-autonomi-warning' }, + 'Network unavailable': { dot: '✖', label: 'Network unavailable', color: 'text-autonomi-error' }, + 'Ready to approve': { dot: '●', label: 'Ready to approve', color: 'text-autonomi-blue' }, Paying: { dot: '◐', label: 'Paying', color: 'text-autonomi-warning' }, Uploading: { dot: '●', label: 'Uploading', color: 'text-autonomi-blue' }, Downloading: { dot: '●', label: 'Downloading', color: 'text-autonomi-blue' }, diff --git a/components/files/CostEstimateDialog.vue b/components/files/CostEstimateDialog.vue index 57fe47c..dee741d 100644 --- a/components/files/CostEstimateDialog.vue +++ b/components/files/CostEstimateDialog.vue @@ -12,7 +12,11 @@

Estimating cost...

-
+
+ No files selected +
+ +
{{ file.name }}
- {{ file.size ? formatBytes(file.size) : '-' }} - - {{ file.cost ? file.cost : `~${estimateCost(file.size)} ANT` }} - + {{ formatBytes(file.size) }} + {{ file.cost }} + + {{ file.gas_cost }} gas
-
-
- Total -
- {{ totalSize ? formatBytes(totalSize) : '-' }} - ~{{ estimateCost(totalSize) }} ANT + +
+ + +
-

- {{ hasRealCosts ? 'Costs queried from the Autonomi network.' : 'Estimates are approximate and may vary based on network conditions.' }} - Gas fees (ETH) apply on top of storage costs. +

+ Costs queried from the Autonomi network. Gas fees (ETH) apply on top of storage costs.

-
- No files selected -
-