web/satellite: replace instances of bandwidth and download to egress

Improve consistency of UI to use the term egress instead of bandwidth
or download

Issue https://github.com/storj/storj/issues/5887

Change-Id: I898ab5d55e5ad8a2d2dd0420c8496d57bc2ecb61
This commit is contained in:
Lizzy Thomson 2023-05-31 09:16:21 -06:00
parent 09c87a1a0d
commit 87f2da92b1
15 changed files with 19 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@
v-if="showChargesTooltip" v-if="showChargesTooltip"
class="total-cost__card__charges-tooltip" class="total-cost__card__charges-tooltip"
> >
<span class="total-cost__card__charges-tooltip__tooltip-text">If you still have Storage and Bandwidth remaining in your free tier, you won't be charged. This information is to help you estimate what the charges would have been had you graduated to the paid tier.</span> <span class="total-cost__card__charges-tooltip__tooltip-text">If you still have Storage and Egress remaining in your free tier, you won't be charged. This information is to help you estimate what the charges would have been had you graduated to the paid tier.</span>
</div> </div>
<p <p
class="total-cost__card__link-text" class="total-cost__card__link-text"

View File

@ -299,7 +299,7 @@ async function onSave(): Promise<void> {
await projectsStore.updateProjectBandwidthLimit(updatedProject); await projectsStore.updateProjectBandwidthLimit(updatedProject);
analytics.eventTriggered(AnalyticsEvent.PROJECT_BANDWIDTH_LIMIT_UPDATED); analytics.eventTriggered(AnalyticsEvent.PROJECT_BANDWIDTH_LIMIT_UPDATED);
notify.success('Project bandwidth limit updated successfully!'); notify.success('Project egress limit updated successfully!');
} else { } else {
const updatedProject = new ProjectLimits(0, 0, limit); const updatedProject = new ProjectLimits(0, 0, limit);
await projectsStore.updateProjectStorageLimit(updatedProject); await projectsStore.updateProjectStorageLimit(updatedProject);

View File

@ -7,7 +7,7 @@
<div class="modal"> <div class="modal">
<Icon class="modal__icon" :class="{ warning: severity === 'warning', critical: severity === 'critical' }" /> <Icon class="modal__icon" :class="{ warning: severity === 'warning', critical: severity === 'critical' }" />
<h1 class="modal__title">{{ title }}</h1> <h1 class="modal__title">{{ title }}</h1>
<p class="modal__info">To get more {{ limitType }} limit, upgrade to a Pro Account. You will still get {{ bytesToBase10String(limits.storageUsed) }} free storage and bandwidth per month, and only pay what you use beyond that.</p> <p class="modal__info">To get more {{ limitType }} limit, upgrade to a Pro Account. You will still get {{ bytesToBase10String(limits.storageUsed) }} free storage and egress per month, and only pay what you use beyond that.</p>
<div class="modal__buttons"> <div class="modal__buttons">
<VButton <VButton
label="Cancel" label="Cancel"

View File

@ -19,7 +19,7 @@
<div class="info-step__column__bullets"> <div class="info-step__column__bullets">
<InfoBullet class="info-step__column__bullets__item" title="Projects" info="1 project" /> <InfoBullet class="info-step__column__bullets__item" title="Projects" info="1 project" />
<InfoBullet class="info-step__column__bullets__item" title="Storage" info="25 GB limit" /> <InfoBullet class="info-step__column__bullets__item" title="Storage" info="25 GB limit" />
<InfoBullet class="info-step__column__bullets__item" title="Download" info="25 GB limit" /> <InfoBullet class="info-step__column__bullets__item" title="Egress" info="25 GB limit" />
<InfoBullet class="info-step__column__bullets__item" title="Segments" info="10,000 segments limit" /> <InfoBullet class="info-step__column__bullets__item" title="Segments" info="10,000 segments limit" />
<InfoBullet class="info-step__column__bullets__item" title="Link Sharing" info="Link sharing with Storj domain" /> <InfoBullet class="info-step__column__bullets__item" title="Link Sharing" info="Link sharing with Storj domain" />
</div> </div>
@ -38,7 +38,7 @@
<div class="info-step__column__bullets"> <div class="info-step__column__bullets">
<InfoBullet class="info-step__column__bullets__item" is-pro title="Projects" info="3 projects + more on request" /> <InfoBullet class="info-step__column__bullets__item" is-pro title="Projects" info="3 projects + more on request" />
<InfoBullet class="info-step__column__bullets__item" is-pro :title="storagePrice" info="25 GB free included" /> <InfoBullet class="info-step__column__bullets__item" is-pro :title="storagePrice" info="25 GB free included" />
<InfoBullet class="info-step__column__bullets__item" is-pro title="Download $0.007 GB" :info="downloadInfo"> <InfoBullet class="info-step__column__bullets__item" is-pro title="Egress $0.007 GB" :info="downloadInfo">
<template v-if="downloadMoreInfo" #moreInfo> <template v-if="downloadMoreInfo" #moreInfo>
<p class="info-step__column__bullets__message">{{ downloadMoreInfo }}</p> <p class="info-step__column__bullets__message">{{ downloadMoreInfo }}</p>
</template> </template>

View File

@ -92,7 +92,7 @@ const itemToRender = computed((): { [key: string]: string | string[] } => {
return { info: [ return { info: [
props.itemData.name, props.itemData.name,
`Storage ${props.itemData.storage.toFixed(2)}GB`, `Storage ${props.itemData.storage.toFixed(2)}GB`,
`Bandwidth ${props.itemData.egress.toFixed(2)}GB`, `Egress ${props.itemData.egress.toFixed(2)}GB`,
`Objects ${props.itemData.objectCount.toString()}`, `Objects ${props.itemData.objectCount.toString()}`,
`Segments ${props.itemData.segmentCount.toString()}`, `Segments ${props.itemData.segmentCount.toString()}`,
`Created ${formattedDate.value}`, `Created ${formattedDate.value}`,

View File

@ -43,7 +43,7 @@
<template #head> <template #head>
<th class="align-left">Name</th> <th class="align-left">Name</th>
<th class="align-left">Storage</th> <th class="align-left">Storage</th>
<th class="align-left">Bandwidth</th> <th class="align-left">Egress</th>
<th class="align-left">Objects</th> <th class="align-left">Objects</th>
<th class="align-left">Segments</th> <th class="align-left">Segments</th>
<th class="align-left">Date Added</th> <th class="align-left">Date Added</th>

View File

@ -51,7 +51,7 @@ const plans = ref<PricingPlanInfo[]>([
'*Additional per-segment fee of $0.0000088 applies.', '*Additional per-segment fee of $0.0000088 applies.',
null, null,
null, null,
'Add a credit card to activate your Pro Account.<br><br>Get 25GB free storage and bandwidth. Only pay for what you use beyond that.', 'Add a credit card to activate your Pro Account.<br><br>Get 25GB free storage and egress. Only pay for what you use beyond that.',
'No charge today', 'No charge today',
'25GB Free', '25GB Free',
), ),

View File

@ -128,7 +128,7 @@
/> />
</div> </div>
</div> </div>
<p class="project-details__wrapper__container__label">Bandwidth Limit</p> <p class="project-details__wrapper__container__label">Egress Limit</p>
<div v-if="!isBandwidthLimitEditing" class="project-details__wrapper__container__limits__bandwidthlimit-area"> <div v-if="!isBandwidthLimitEditing" class="project-details__wrapper__container__limits__bandwidthlimit-area">
<p class="project-details__wrapper__container__limits__bandwidthlimit-area__bandwidthlimit">{{ bandwidthLimitFormatted }}</p> <p class="project-details__wrapper__container__limits__bandwidthlimit-area__bandwidthlimit">{{ bandwidthLimitFormatted }}</p>
<VButton <VButton
@ -561,7 +561,7 @@ async function onSaveBandwidthLimitButtonClick(): Promise<void> {
toggleBandwidthLimitEditing(); toggleBandwidthLimitEditing();
analytics.eventTriggered(AnalyticsEvent.PROJECT_BANDWIDTH_LIMIT_UPDATED); analytics.eventTriggered(AnalyticsEvent.PROJECT_BANDWIDTH_LIMIT_UPDATED);
notify.success('Project bandwidth limit updated successfully!'); notify.success('Project egress limit updated successfully!');
} }
/** /**

View File

@ -45,7 +45,7 @@
<p class="dashboard-header__limits"> <p class="dashboard-header__limits">
<span class="dashboard-header__limits--bold">Storage Limit</span> <span class="dashboard-header__limits--bold">Storage Limit</span>
per month: {{ bytesToBase10String(limits.storageLimit) }} | per month: {{ bytesToBase10String(limits.storageLimit) }} |
<span class="dashboard-header__limits--bold">Bandwidth Limit</span> <span class="dashboard-header__limits--bold">Egress Limit</span>
per month: {{ bytesToBase10String(limits.bandwidthLimit) }} per month: {{ bytesToBase10String(limits.bandwidthLimit) }}
</p> </p>
<VButton <VButton

View File

@ -18,11 +18,11 @@
/> />
<LimitCard <LimitCard
:icon="DownloadIcon" :icon="DownloadIcon"
title="Download" title="Egress"
color="#7b61ff" color="#7b61ff"
:used-value="bandwidthUsed" :used-value="bandwidthUsed"
:used-title="`${usedOrLimitFormatted(limits.bandwidthUsed)} Used`" :used-title="`${usedOrLimitFormatted(limits.bandwidthUsed)} Used`"
:used-info="`Download limit: ${usedOrLimitFormatted(limits.bandwidthLimit, true)} per month`" :used-info="`Egress limit: ${usedOrLimitFormatted(limits.bandwidthLimit, true)} per month`"
:available-title="`${availableFormatted(limits.bandwidthLimit - limits.bandwidthUsed)} Available`" :available-title="`${availableFormatted(limits.bandwidthLimit - limits.bandwidthUsed)} Available`"
:action-title="usageActionTitle(bandwidthUsed)" :action-title="usageActionTitle(bandwidthUsed)"
:on-action="() => usageAction(LimitToChange.Bandwidth)" :on-action="() => usageAction(LimitToChange.Bandwidth)"

View File

@ -63,7 +63,7 @@
</div> </div>
<div class="project-dashboard__charts__container"> <div class="project-dashboard__charts__container">
<div class="project-dashboard__charts__container__header"> <div class="project-dashboard__charts__container__header">
<h3 class="project-dashboard__charts__container__header__title">Bandwidth</h3> <h3 class="project-dashboard__charts__container__header__title">Egress</h3>
<div class="project-dashboard__charts__container__header__right"> <div class="project-dashboard__charts__container__header__right">
<span class="project-dashboard__charts__container__header__right__allocated-color" /> <span class="project-dashboard__charts__container__header__right__allocated-color" />
<p class="project-dashboard__charts__container__header__right__allocated-label">Allocated</p> <p class="project-dashboard__charts__container__header__right__allocated-label">Allocated</p>
@ -75,7 +75,7 @@
</template> </template>
<template #message> <template #message>
<p class="project-dashboard__charts__container__header__right__info__message"> <p class="project-dashboard__charts__container__header__right__info__message">
The bandwidth allocated takes few hours to be settled. The egress allocated takes few hours to be settled.
<a <a
class="project-dashboard__charts__container__header__right__info__message__link" class="project-dashboard__charts__container__header__right__info__message__link"
href="https://docs.storj.io/dcs/billing-payment-and-accounts-1/pricing/billing-and-payment#bandwidth-fee" href="https://docs.storj.io/dcs/billing-payment-and-accounts-1/pricing/billing-and-payment#bandwidth-fee"

View File

@ -303,7 +303,7 @@ const limitState = computed((): LimitedState => {
const currentLimits = projectsStore.state.currentLimits; const currentLimits = projectsStore.state.currentLimits;
const limitTypeArr = [ const limitTypeArr = [
{ name: 'bandwidth', usedPercent: Math.round(currentLimits.bandwidthUsed * 100 / currentLimits.bandwidthLimit) }, { name: 'egress', usedPercent: Math.round(currentLimits.bandwidthUsed * 100 / currentLimits.bandwidthLimit) },
{ name: 'storage', usedPercent: Math.round(currentLimits.storageUsed * 100 / currentLimits.storageLimit) }, { name: 'storage', usedPercent: Math.round(currentLimits.storageUsed * 100 / currentLimits.storageLimit) },
{ name: 'segment', usedPercent: Math.round(currentLimits.segmentUsed * 100 / currentLimits.segmentLimit) }, { name: 'segment', usedPercent: Math.round(currentLimits.segmentUsed * 100 / currentLimits.segmentLimit) },
]; ];

View File

@ -277,7 +277,7 @@ const limitState = computed((): LimitedState => {
const currentLimits = projectsStore.state.currentLimits; const currentLimits = projectsStore.state.currentLimits;
const limitTypeArr = [ const limitTypeArr = [
{ name: 'bandwidth', usedPercent: Math.round(currentLimits.bandwidthUsed * 100 / currentLimits.bandwidthLimit) }, { name: 'egress', usedPercent: Math.round(currentLimits.bandwidthUsed * 100 / currentLimits.bandwidthLimit) },
{ name: 'storage', usedPercent: Math.round(currentLimits.storageUsed * 100 / currentLimits.storageLimit) }, { name: 'storage', usedPercent: Math.round(currentLimits.storageUsed * 100 / currentLimits.storageLimit) },
{ name: 'segment', usedPercent: Math.round(currentLimits.segmentUsed * 100 / currentLimits.segmentLimit) }, { name: 'segment', usedPercent: Math.round(currentLimits.segmentUsed * 100 / currentLimits.segmentLimit) },
]; ];

View File

@ -205,7 +205,7 @@
</div> </div>
<p class="register-area__input-area__container__warning__message"> <p class="register-area__input-area__container__warning__message">
This means any data you upload to this satellite can be This means any data you upload to this satellite can be
deleted at any time and your storage/bandwidth limits deleted at any time and your storage/egress limits
can fluctuate. To use our production service please can fluctuate. To use our production service please
create an account on one of our production Satellites. create an account on one of our production Satellites.
<a href="https://storj.io/signup/" target="_blank" rel="noopener noreferrer">https://storj.io/signup/</a> <a href="https://storj.io/signup/" target="_blank" rel="noopener noreferrer">https://storj.io/signup/</a>