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

Release v1.109.0 - stagingmaster #10041

Merged
merged 48 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d26bb93
refactor: [M3-7537] - PaginationControls Storybook v7 Story (#9959)
coliu-akamai Dec 8, 2023
6cb6c48
upcoming: [M3-7553] - AGLB Refinements and Improvements - Selects and…
bnussman-akamai Dec 8, 2023
914d226
upcoming: [M3-7414] - Add mocks and update queries for new Parent/Chi…
mjac0bs Dec 11, 2023
8d20846
TagsInput v7 story
abailly-akamai Dec 5, 2023
900d302
TagsPanel v7 story + test
abailly-akamai Dec 6, 2023
653a060
TagsPanel v7 story + test
abailly-akamai Dec 6, 2023
e957664
Added changeset: TagsInput & TagsPanel Storybook v7 Stories
abailly-akamai Dec 6, 2023
baa799f
Cleanup
abailly-akamai Dec 6, 2023
1b53f6d
Remove alignment prop and add test for dissabled prop
abailly-akamai Dec 11, 2023
6b2ced2
chore: [M3-7551] - Update Vite and Vitest (#9961)
bnussman-akamai Dec 11, 2023
9260c26
Merge branch 'master' into develop
Dec 11, 2023
f62af1e
Improve story styling
abailly-akamai Dec 11, 2023
ec4784c
fix: [M3-7543] - AGLB Rule Drawer - Session Stickiness TTL - Use Seco…
bnussman-akamai Dec 11, 2023
0ad0937
ci: [M3-7550] - Add Lint To Github Actions (#9973)
bnussman-akamai Dec 12, 2023
ffde327
Feedback
abailly-akamai Dec 12, 2023
645284c
ci: Speed Up Code Coverage Github Actions Jobs (#9988)
bnussman-akamai Dec 12, 2023
1c21e09
upcoming: [M3-7293] - AGLB Full Create Flow - Service Targets (#9965)
bnussman-akamai Dec 12, 2023
62a9230
change: [M3-7505] – Update copy for Private IP add-on in Linode Creat…
dwiley-akamai Dec 12, 2023
850d4cc
test: [M3-7135] - Add integration test for AGLB Load Balancer delete …
cpathipa Dec 12, 2023
68231ad
Merge pull request #9963 from abailly-akamai/M3-7542
abailly-akamai Dec 12, 2023
5dfe0b0
chore: Rewrite some Enzyme Unit Tests (#9984)
bnussman-akamai Dec 13, 2023
ea02c3f
test: [M3-7470] - Add Cypress test for Volumes landing page empty sta…
carrillo-erik Dec 13, 2023
cc9020e
upcoming: [M3-7302] - Replace NodeBalancer detail charts with Rechart…
hana-akamai Dec 14, 2023
249ad93
change: [M3-7446] - VLAN availability text on Linode Create (#9989)
abailly-akamai Dec 15, 2023
be18999
refactor: [M3-7562] - Remove Radio.mdx and Textfield.mdx files (#9994)
coliu-akamai Dec 15, 2023
bde20de
refactor: Finish Remaining MUI Style Migration with codemod (#9978)
bnussman-akamai Dec 15, 2023
1bde70b
feat: [M3-7526] - Add setHeader to GET /profile endpoint (#9987)
tyler-akamai Dec 17, 2023
83eab63
refactor: [M3-7544, M3-7552] - ErrorState and FileUploader v7 stories…
coliu-akamai Dec 18, 2023
879bb03
test: [M3-7464] - Add Cypress test FW landing page empty state (#10000)
carrillo-erik Dec 19, 2023
31c566f
refactor: [M3-7569] - Currency and DateTimeDisplay v7 Storybook migra…
coliu-akamai Dec 19, 2023
0e21195
test: [M3-7466] - Add integration test for Domains empty landing page…
coliu-akamai Dec 19, 2023
cdef4e8
upcoming: [M3-7294] - Add AGLB Routes Step to Full Create Flow (#9997)
bnussman-akamai Dec 19, 2023
89230bf
refactor: [M3-7547] - Graphs stories v7 migration (#9999)
abailly-akamai Dec 19, 2023
d5ed30b
upcoming, change: [M3-7524] - Add child_account OAuth scope to Create…
mjac0bs Dec 20, 2023
c471eac
refactor: [M3-7575] CircleProgress and ColorPalette storybook v7 migr…
coliu-akamai Dec 21, 2023
d3fdefa
change: [M3-7461] - Update toast notifications for UserPermissions (#…
tyler-akamai Dec 27, 2023
ee80428
test: [M3-7484] - Add Cypress integration tests for User Permissions …
jdamore-linode Dec 27, 2023
0f556ca
refactor: [M3-7576] - DebouncedSearchTextfield and EditableText v7 st…
coliu-akamai Dec 28, 2023
f893474
change: [M3-7454] - Add child access user permissions for parent acco…
tyler-akamai Dec 29, 2023
25a9f7b
change: [M3-7225] - Filter out already assigned services in firewall …
tyler-akamai Dec 29, 2023
9fb22e6
refactor: [M3-7578] - Placeholder and EntityDetails v7 storybook migr…
coliu-akamai Jan 2, 2024
b91455f
test: [M3-6608] - Add Linode power off, power on and reboot tests (#9…
cliu-akamai Jan 2, 2024
f4a463f
fix: Failing `CreditCard.test.tsx` Unit Test (#10023)
bnussman-akamai Jan 2, 2024
ef6a9c6
upcoming: [M3-7424] - Update top menu for parent, child, and proxy ac…
mjac0bs Jan 2, 2024
7246be9
upcoming: [M3-7423] - Create Bucket - Able to choose a single Compute…
cpathipa Jan 3, 2024
c1ce3ec
Cloud version v1.109.0, API v4 version v0.107.0, and Validation versi…
bnussman Jan 4, 2024
e66fcf6
fix: Profile Query Keys, User Permissions loading state, and read_onl…
bnussman-akamai Jan 8, 2024
ac2d49e
Merge pull request #10030 from linode/release-v1.109.0
bnussman-akamai Jan 8, 2024
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
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ on:
pull_request:

jobs:
lint:
strategy:
matrix:
package: ['linode-manager', '@linode/api-v4', '@linode/validation']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.14"
- uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn workspace ${{ matrix.package }} run lint

build-validation:
runs-on: ubuntu-latest
steps:
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

- name: Run build
run: yarn build
- name: Build @linode/validation
run: yarn build:validation

- name: Build @linode/api-v4
run: yarn build:sdk

- name: Run Base Branch Coverage
run: yarn coverage:summary
Expand Down Expand Up @@ -65,8 +68,11 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

- name: Run Build
run: yarn build
- name: Build @linode/validation
run: yarn build:validation

- name: Build @linode/api-v4
run: yarn build:sdk

- name: Run Current Branch Coverage
run: yarn coverage:summary
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/coverage_badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

- name: Run Build
run: yarn build
- name: Build @linode/validation
run: yarn build:validation

- name: Build @linode/api-v4
run: yarn build:sdk

- name: Run Base Branch Coverage
run: yarn coverage:summary
Expand Down
11 changes: 11 additions & 0 deletions packages/api-v4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## [2024-01-08] - v0.107.0


### Added:

- Optional `headers` to `getProfile` function ([#9987](https://github.com/linode/manager/pull/9987))

### Tech Stories:

- Add Lint GitHub Action ([#9973](https://github.com/linode/manager/pull/9973))

## [2023-12-11] - v0.106.0


Expand Down
4 changes: 2 additions & 2 deletions packages/api-v4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@linode/api-v4",
"version": "0.106.0",
"version": "0.107.0",
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
"bugs": {
"url": "https://github.com/linode/manager/issues"
Expand Down Expand Up @@ -67,7 +67,7 @@
"lint-staged": "^13.2.2",
"prettier": "~2.2.1",
"tsup": "^7.2.0",
"vitest": "^0.34.6"
"vitest": "^1.0.1"
},
"lint-staged": {
"*.{ts,tsx,js}": [
Expand Down
1 change: 1 addition & 0 deletions packages/api-v4/src/account/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export type AccountCapability =
| 'Machine Images'
| 'Managed Databases'
| 'NodeBalancers'
| 'Object Storage Access Key Regions'
| 'Object Storage'
| 'Vlans'
| 'VPCs';
Expand Down
6 changes: 6 additions & 0 deletions packages/api-v4/src/firewalls/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ export interface Firewall {
rules: FirewallRules;
created_dt: string;
updated_dt: string;
entities: {
id: number;
type: FirewallDeviceEntityType;
label: string;
url: string;
}[];
}

export interface FirewallRules {
Expand Down
4 changes: 3 additions & 1 deletion packages/api-v4/src/object-storage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export interface UpdateObjectStorageKeyRequest {

export interface ObjectStorageBucketRequestPayload {
label: string;
cluster: string;
region?: string; // @TODO OBJ Multicluster - This field will become required, and the 'cluster' field will be deprecated once the feature is fully rolled out in production as part of the process of cleaning up the 'objMultiCluster' feature flag.
cluster?: string;
acl?: 'private' | 'public-read' | 'authenticated-read' | 'public-read-write';
cors_enabled?: boolean;
}
Expand All @@ -36,6 +37,7 @@ export interface ObjectStorageDeleteBucketRequestPayload {
}

export interface ObjectStorageBucket {
region?: string; // @TODO OBJ Multicluster - This field will become required, and the 'cluster' field will be deprecated once the feature is fully rolled out in production as part of the process of cleaning up the 'objMultiCluster' feature flag.
label: string;
created: string;
cluster: string;
Expand Down
11 changes: 9 additions & 2 deletions packages/api-v4/src/profile/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Request, {
setData,
setMethod,
setParams,
setHeaders,
setURL,
setXFilter,
} from '../request';
Expand All @@ -24,15 +25,21 @@ import {
SendPhoneVerificationCodePayload,
VerifyVerificationCodePayload,
} from './types';
import type { RequestOptions } from '../types';

/**
* getProfile
*
* Return the current (logged in) user's profile.
*
*/
export const getProfile = () =>
Request<Profile>(setURL(`${API_ROOT}/profile`), setMethod('GET'));
export const getProfile = ({ headers }: RequestOptions = {}) => {
return Request<Profile>(
setURL(`${API_ROOT}/profile`),
setMethod('GET'),
setHeaders(headers)
);
};

/**
* updateProfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
ignorePatterns: [
'node_modules',
'build',
'storybook-static',
'.storybook',
'e2e',
'public',
Expand Down
1 change: 1 addition & 0 deletions packages/manager/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config: StorybookConfig = {
'@storybook/addon-measure',
'@storybook/addon-actions',
'storybook-dark-mode',
'@storybook/addon-storysource',
],
staticDirs: ['../public'],
framework: {
Expand Down
1 change: 0 additions & 1 deletion packages/manager/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const preview: Preview = {
<Description />
<Primary />
<Controls />
<Stories />
</>
),
},
Expand Down
56 changes: 56 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,62 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [2024-01-08] - v1.109.0


### Changed:

- Improve layout of User Permissions page ([#10005](https://github.com/linode/manager/pull/10005))
- Update toast notifications for UserPermissions ([#10011](https://github.com/linode/manager/pull/10011))
- VLAN availability text on Linode Create ([#9989](https://github.com/linode/manager/pull/9989))
- Default access to `None` for all scopes when creating Personal Access Tokens ([#9992](https://github.com/linode/manager/pull/9992))
- Filter already assigned services from firewall dropdowns ([#9993](https://github.com/linode/manager/pull/9993))

### Fixed:

- User Permissions toggle and radio button accessibility ([#10009](https://github.com/linode/manager/pull/10009))

### Tech Stories:

- Currency and DateTimeDisplay v7 storybook migrations ([#10007](https://github.com/linode/manager/pull/10007))
- ColorPalette and CircleProgress v7 storybook migration ([#10015](https://github.com/linode/manager/pull/10015))
- DebouncedSearchTextfield and EditableText v7 storybook migrations ([#10017](https://github.com/linode/manager/pull/10017))
- Placeholder and EntityDetails v7 storybook migrations ([#10019](https://github.com/linode/manager/pull/10019))
- PaginationControls V7 story migration ([#9959](https://github.com/linode/manager/pull/9959))
- TagsInput & TagsPanel Storybook v7 Stories ([#9963](https://github.com/linode/manager/pull/9963))
- Add Lint Github Action ([#9973](https://github.com/linode/manager/pull/9973))
- Complete @mui/styles to tss-react migration and remove @mui/styles ([#9978](https://github.com/linode/manager/pull/9978))
- ErrorState and FileUploader v7 storybook migrations ([#9981](https://github.com/linode/manager/pull/9981))
- Speed up code coverage Github Actions jobs by skipping Cloud Manager build ([#9988](https://github.com/linode/manager/pull/9988))
- Radio and TextField v7 storybook migrations ([#9994](https://github.com/linode/manager/pull/9994))
- Graphs stories v7 migration ([#9999](https://github.com/linode/manager/pull/9999))
- Add ability to pass headers to useProfile query ([#9987](https://github.com/linode/manager/pull/9987))

### Tests:

- Add Cypress test for Firewalls empty state landing page ([#10000](https://github.com/linode/manager/pull/10000))
- Add integration test for Domains empty landing page ([#10004](https://github.com/linode/manager/pull/10004))
- Add Cypress integration tests for User Permissions page ([#10009](https://github.com/linode/manager/pull/10009))
- Fix `CreditCard.test.tsx` failing unit test triggered by new year ([#10023](https://github.com/linode/manager/pull/10023))
- Add integration test for AGLB Load Balancer delete flows. ([#9955](https://github.com/linode/manager/pull/9955))
- Add Cypress test for Volumes empty state landing page ([#9995](https://github.com/linode/manager/pull/9995))
- Tests to power on/off and reboot Linodes ([#9980](https://github.com/linode/manager/pull/9980))

### Upcoming Features:

- Add child access user permissions for parent accounts ([#10005](https://github.com/linode/manager/pull/10005))
- Update top menu for parent, child, and proxy accounts ([#10014](https://github.com/linode/manager/pull/10014))
- Add AGLB Service Target Section to Full Create Flow ([#9965](https://github.com/linode/manager/pull/9965))
- Change AGLB Rule Session Stickiness unit from milliseconds to seconds ([#9969](https://github.com/linode/manager/pull/9969))
- Improve AGLB selects and other UX ([#9975](https://github.com/linode/manager/pull/9975))
- Ability to choose a single Compute Region ID (e.g., us-east) in Create Object Storage Bucket drawer ([#9976](https://github.com/linode/manager/pull/9976))
- Add mocks and update queries for new Parent/Child endpoints ([#9977](https://github.com/linode/manager/pull/9977))
- Replace NodeBalancer detail charts with Recharts ([#9983](https://github.com/linode/manager/pull/9983))
- Revised copy for Private IP add-on in Linode Create flow ([#9990](https://github.com/linode/manager/pull/9990))
- Add `child_account` oauth scope to Personal Access Token drawers ([#9992](https://github.com/linode/manager/pull/9992))
- Add AGLB Routes section of full create page ([#9997](https://github.com/linode/manager/pull/9997))


## [2023-12-11] - v1.108.0

### Added:
Expand Down
Loading
Loading