Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(Dashboard): update RAM labels and capacity pills #7648

Merged
merged 1 commit into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(Dashboard): update RAM labels and capacity pills
  • Loading branch information
CompuIves committed May 22, 2023
commit 140b7f847c6f83aec6af5a21e4796d5af8d60387
6 changes: 3 additions & 3 deletions packages/app/src/app/components/LoseFeatures/LoseFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const LOSE_DEFAULT = [
},
{
key: 'ram',
pro: '6GB RAM',
free: '2GB RAM',
pill: '-66% capacity',
pro: '8GiB RAM',
free: '2GiB RAM',
pill: '-75% capacity',
},
{
key: 'cpu',
Expand Down
12 changes: 6 additions & 6 deletions packages/app/src/app/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const PERSONAL_FREE_FEATURES: Feature[] = [
key: 'limit_repositories',
label: 'Unlimited public repositories',
},
{ key: 'vm_mem', label: '2GB RAM' },
{ key: 'vm_mem', label: '2GiB RAM' },
{ key: 'vm_cpu', label: '2 vCPUs' },
{ key: 'vm_disk', label: '6GB Disk' },
];
Expand All @@ -41,7 +41,7 @@ export const PERSONAL_FEATURES: Feature[] = [
},
{ key: 'npm', label: 'Public NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '6GB RAM' },
{ key: 'vm_mem', label: '8GiB RAM' },
{ key: 'vm_cpu', label: '4vCPUs' },
{ key: 'vm_disk', label: '12GB Disk' },
];
Expand All @@ -57,7 +57,7 @@ export const PERSONAL_FEATURES_WITH_PILLS: Feature[] = [
},
{ key: 'npm', label: 'Public NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '6GB RAM', pill: '3x capacity' },
{ key: 'vm_mem', label: '8GiB RAM', pill: '4x capacity' },
{ key: 'vm_cpu', label: '4vCPUs', pill: '2x faster' },
{ key: 'vm_disk', label: '12GB Disk', pill: '2x storage' },
];
Expand All @@ -72,7 +72,7 @@ export const TEAM_FREE_FEATURES: Feature[] = [
label: '3 public repositories',
},
{ key: 'npm', label: 'Public NPM packages' },
{ key: 'vm_mem', label: '2GB RAM' },
{ key: 'vm_mem', label: '2GiB RAM' },
{ key: 'vm_cpu', label: '2vCPUs' },
{ key: 'vm_disk', label: '6GB Disk' },
];
Expand All @@ -88,7 +88,7 @@ export const TEAM_PRO_FEATURES: Feature[] = [
},
{ key: 'npm', label: 'Private NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '6GB RAM' },
{ key: 'vm_mem', label: '8GiB RAM' },
{ key: 'vm_cpu', label: '4vCPUs' },
{ key: 'vm_disk', label: '12GB Disk' },
];
Expand All @@ -104,7 +104,7 @@ export const TEAM_PRO_FEATURES_WITH_PILLS: Feature[] = [
},
{ key: 'npm', label: 'Private NPM packages' },
{ key: 'live_sessions', label: 'Live sessions' },
{ key: 'vm_mem', label: '6GB RAM', pill: '3x capacity' },
{ key: 'vm_mem', label: '8GiB RAM', pill: '4x capacity' },
{ key: 'vm_cpu', label: '4vCPUs', pill: '2x faster' },
{ key: 'vm_disk', label: '12GB Disk', pill: '2x storage' },
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const FEATURES_LIST: Feature[] = [
},
{
icon: 'server',
label: '6GB RAM, 12GB Disk, 4 vCPUs',
label: '8GiB RAM, 12GB Disk, 4 vCPUs',
},
{
icon: 'repository',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ const KEEP_DEFAULT = [
},
{
key: 'ram',
pro: '6GB RAM',
pill: '3x capacity',
pro: '8GiB RAM',
pill: '4x capacity',
},
{
key: 'cpu',
Expand Down