Skip to content

Commit

Permalink
Added changeset: Add Landing Page and update Empty-State Landing page…
Browse files Browse the repository at this point in the history
… for DBaaS V2
  • Loading branch information
mpolotsk-akamai committed Aug 29, 2024
1 parent f615f52 commit 6962afe
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
5 changes: 0 additions & 5 deletions packages/manager/.changeset/pr-10823-added-1724427890426.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Add Landing Page and update Empty-State Landing page for DBaaS V2 ([#10823](https://github.com/linode/manager/pull/10823))
2 changes: 1 addition & 1 deletion packages/manager/src/factories/databases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const databaseTypeFactory = Factory.Sync.makeFactory<DatabaseType>({
},
],
},
id: Factory.each((i) => `g6-standard-${i}`),
id: Factory.each((i) => possibleTypes[i % possibleTypes.length]),
label: Factory.each((i) => `Linode ${i} GB`),
memory: Factory.each((i) => i * 2048),
vcpus: Factory.each((i) => i * 2),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Database Create', () => {
const standardTypes = [
databaseTypeFactory.build({
class: 'nanode',
id: 'g6-standard-0',
id: 'g6-nanode-1',
label: `Nanode 1 GB`,
memory: 1024,
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('database resize', () => {
});

describe('On rendering of page', () => {
const examplePlanType = 'g6-standard-60';
const examplePlanType = 'g6-dedicated-50';
const dedicatedTypes = databaseTypeFactory.buildList(7, {
class: 'dedicated',
});
Expand Down
2 changes: 1 addition & 1 deletion packages/manager/src/mocks/serverHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const databases = [
const standardTypes = [
databaseTypeFactory.build({
class: 'nanode',
id: 'g6-standard-0',
id: 'g6-nanode-1',
label: `Nanode 1 GB`,
memory: 1024,
}),
Expand Down

0 comments on commit 6962afe

Please sign in to comment.