Skip to content

Commit

Permalink
Merge branch 'linode:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cpathipa authored Oct 11, 2024
2 parents ff89c50 + d0927f8 commit 4dbe28d
Show file tree
Hide file tree
Showing 87 changed files with 2,403 additions and 501 deletions.
33 changes: 32 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:
strategy:
matrix:
package: ["linode-manager", "@linode/api-v4", "@linode/validation"]
package: ["linode-manager", "@linode/api-v4", "@linode/validation", "@linode/ui"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -191,6 +191,37 @@ jobs:
- run: yarn --frozen-lockfile
- run: yarn workspace @linode/search run test

test-ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.17"
- uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn workspace @linode/ui run test

typecheck-ui:
runs-on: ubuntu-latest
needs: build-sdk
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.17"
- uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn workspace @linode/ui run typecheck

typecheck-manager:
runs-on: ubuntu-latest
needs: build-sdk
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

## Overview

This repository is home to the Akamai Connected **[Cloud Manager](https://cloud.linode.com)** and related [`@linode/api-v4`](packages/api-v4/) and [`@linode/validation`](packages/validation/) Typescript packages.
This repository is home to the Akamai Connected **[Cloud Manager](https://cloud.linode.com)** and related [`@linode/api-v4`](packages/api-v4/), [`@linode/validation`](packages/validation/) and [`@linode/ui`](packages/ui/) Typescript packages.

## Developing Locally

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"up": "yarn install:all && yarn build:validation && yarn build:sdk && yarn start:all",
"up:expose": "yarn install:all && yarn build:validation && yarn build:sdk && yarn start:all:expose",
"dev": "yarn install:all && yarn start:all",
"start:all": "concurrently -n api-v4,validation,manager -c blue,yellow,green \"yarn workspace @linode/api-v4 start\" \"yarn workspace @linode/validation start\" \"yarn workspace linode-manager start\"",
"start:all:expose": "concurrently -n api-v4,validation,manager -c blue,yellow,green \"yarn workspace @linode/api-v4 start\" \"yarn workspace @linode/validation start\" \"yarn workspace linode-manager start:expose\"",
"start:all": "concurrently -n api-v4,validation,ui,manager -c blue,yellow,magenta,green \"yarn workspace @linode/api-v4 start\" \"yarn workspace @linode/validation start\" \"yarn workspace @linode/ui start\" \"yarn workspace linode-manager start\"",
"start:all:expose": "concurrently -n api-v4,validation,ui,manager -c blue,yellow,magenta,green \"yarn workspace @linode/api-v4 start\" \"yarn workspace @linode/validation start\" \"yarn workspace @linode/ui start\" \"yarn workspace linode-manager start:expose\"",
"start:manager": "yarn workspace linode-manager start",
"start:manager:ci": "yarn workspace linode-manager start:ci",
"clean": "rm -rf node_modules && rm -rf packages/@linode/api-v4/node_modules && rm -rf packages/manager/node_modules && rm -rf packages/@linode/validation/node_modules",
Expand Down
5 changes: 5 additions & 0 deletions packages/api-v4/.changeset/pr-11039-added-1727885059968.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@linode/api-v4': Added
---

DBaaS 2.0: Add allow_list to the DatabaseInstance ([#11039](https://github.com/linode/manager/pull/11039))
5 changes: 5 additions & 0 deletions packages/api-v4/.changeset/pr-11040-changed-1727911382574.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Changed
---

Databases types to have UpdateDatabasePayload include cluster_size and export the Engines type ([#11040](https://github.com/linode/manager/pull/11040))
4 changes: 3 additions & 1 deletion packages/api-v4/src/databases/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface DatabaseClusterSizeObject {
price: DatabasePriceObject;
}

type Engines = Record<Engine, DatabaseClusterSizeObject[]>;
export type Engines = Record<Engine, DatabaseClusterSizeObject[]>;
export interface DatabaseType extends BaseType {
class: DatabaseTypeClass;
engines: Engines;
Expand Down Expand Up @@ -88,6 +88,7 @@ export interface DatabaseInstance {
*/
members: Record<string, MemberType>;
platform?: string;
allow_list: string[];
}

export type ClusterSize = 1 | 2 | 3;
Expand Down Expand Up @@ -197,6 +198,7 @@ export type Database = BaseDatabase &
Partial<MongoDatabase>;

export interface UpdateDatabasePayload {
cluster_size?: number;
label?: string;
allow_list?: string[];
updates?: UpdatesSchedule;
Expand Down
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10971-tests-1726764686101.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add assertions for bucket details drawer tests ([#10971](https://github.com/linode/manager/pull/10971))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@linode/manager': Upcoming Features
---

Added Action Menu Column to the Databases Table and update Database Logo ([#11039](https://github.com/linode/manager/pull/11039))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11040-added-1727911099315.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

Number of Nodes selector for DBaaS GA Resize ([#11040](https://github.com/linode/manager/pull/11040))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11045-tests-1727985809023.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add new test to confirm changes to the Object details drawer for OBJ Gen 2 ([#11045](https://github.com/linode/manager/pull/11045))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11066-tests-1728400382103.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add cypress test for create validation & API errors for OBJ Gen 2 ([#11066](https://github.com/linode/manager/pull/11066))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11069-fixed-1728443895478.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Support Linodes with multiple private IPs in NodeBalancer configurations ([#11069](https://github.com/linode/manager/pull/11069))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11072-changed-1728479835625.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Changed
---

Disable VPC Action Buttons for Restricted Users ([#11072](https://github.com/linode/manager/pull/11072))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11073-fixed-1728472748252.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Toasts are not consistently dismissible with the 'X' button ([#11073](https://github.com/linode/manager/pull/11073))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11075-fixed-1728498752415.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Fix TypeScript performance of `DismissibleBanner.tsx` ([#11075](https://github.com/linode/manager/pull/11075))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Fix TypeScript Performance of `BarPercent.tsx` ([#11076](https://github.com/linode/manager/pull/11076))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Add Interaction Tokens, Minimally Cleanup Theme Files ([#11078](https://github.com/linode/manager/pull/11078))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Improve Pendo URL sanitization ([#11079](https://github.com/linode/manager/pull/11079))
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe('Resizing existing clusters', () => {
if (!desiredPlanPrice) {
throw new Error('Unable to find mock plan type');
}
cy.get('[data-testid="summary"]').within(() => {
cy.get('[data-testid="resizeSummary"]').within(() => {
cy.contains(`${nodeType.label}`).should('be.visible');
cy.contains(`$${desiredPlanPrice.monthly}/month`).should(
'be.visible'
Expand Down
Loading

0 comments on commit 4dbe28d

Please sign in to comment.