Skip to content

Commit

Permalink
Merge branch 'develop' into poc-msw-presets
Browse files Browse the repository at this point in the history
  • Loading branch information
jdamore-linode committed Jun 24, 2024
2 parents 8070c1b + fc680a6 commit a682079
Show file tree
Hide file tree
Showing 173 changed files with 3,510 additions and 1,496 deletions.
17 changes: 9 additions & 8 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,26 @@ Feel free to open an issue to report a bug or request a feature.
5. Commit message format standard: `<commit type>: [JIRA-ticket-number] - <description>`

**Commit Types:**
`feat`: New feature for the user (not a part of the code, or ci, ...).
`fix`: Bugfix for the user (not a fix to build something, ...).
`change`: Modifying an existing visual UI instance. Such as a component or a feature.
`refactor`: Restructuring existing code without changing its external behavior or visual UI. Typically to improve readability, maintainability, and performance.
`test`: New tests or changes to existing tests. Does not change the production code.
`upcoming`: A new feature that is in progress, not visible to users yet, and usually behind a feature flag.
- `feat`: New feature for the user (not a part of the code, or ci, ...).
- `fix`: Bugfix for the user (not a fix to build something, ...).
- `change`: Modifying an existing visual UI instance. Such as a component or a feature.
- `refactor`: Restructuring existing code without changing its external behavior or visual UI. Typically to improve readability, maintainability, and performance.
- `test`: New tests or changes to existing tests. Does not change the production code.
- `upcoming`: A new feature that is in progress, not visible to users yet, and usually behind a feature flag.

**Example:** `feat: [M3-1234] - Allow user to view their login history`

6. Open a pull request against `develop` and make sure the title follows the same format as the commit message.
7. If needed, create a changeset to populate our changelog
- If you don't have the Github CLI installed or need to update it (you need GH CLI 2.21.0 or greater),
- If you don't have the Github CLI installed or need to update it (you need GH CLI 2.21.0 or greater),
- install it via `brew`: https://cli.github.com/manual/installation or upgrade with `brew upgrade gh`
- Once installed, run `gh repo set-default` and pick `linode/manager` (only > 2.21.0)
- You can also just create the changeset manually, in this case make sure to use the proper formatting for it.
- Run `yarn changeset`from the root, choose the package to create a changeset for, and provide a description for the change.
You can either have it committed automatically or do it manually if you need to edit it.
- A changeset is optional, it merely depends if it falls in one of the following categories:
- A changeset is optional, but should be included if the PR falls in one of the following categories:<br>
`Added`, `Fixed`, `Changed`, `Removed`, `Tech Stories`, `Tests`, `Upcoming Features`
- Select the changeset category that matches the commit type in your PR title. (Where this isn't a 1:1 match: generally, a `feat` commit type falls under an `Added` change and `refactor` falls under `Tech Stories`.)

Two reviews from members of the Cloud Manager team are required before merge. After approval, all pull requests are squash merged.

Expand Down
5 changes: 5 additions & 0 deletions packages/api-v4/.changeset/pr-10505-added-1716400052332.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Added
---

New endpoint for LKE HA types used in pricing ([#10505](https://github.com/linode/manager/pull/10505))
2 changes: 1 addition & 1 deletion packages/api-v4/src/images/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type ImageStatus =
| 'deleted'
| 'pending_upload';

type ImageCapabilities = 'cloud-init' | 'distributed-images';
export type ImageCapabilities = 'cloud-init' | 'distributed-images';

type ImageType = 'manual' | 'automatic';

Expand Down
16 changes: 14 additions & 2 deletions packages/api-v4/src/kubernetes/kubernetes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import Request, {
setURL,
setXFilter,
} from '../request';
import { Filter, Params, ResourcePage as Page } from '../types';
import {
import type { Filter, Params, ResourcePage as Page, PriceType } from '../types';
import type {
CreateKubeClusterPayload,
KubeConfigResponse,
KubernetesCluster,
Expand Down Expand Up @@ -180,3 +180,15 @@ export const recycleClusterNodes = (clusterID: number) =>
setMethod('POST'),
setURL(`${API_ROOT}/lke/clusters/${encodeURIComponent(clusterID)}/recycle`)
);

/**
* getKubernetesTypes
*
* Returns a paginated list of available Kubernetes types; used for dynamic pricing.
*/
export const getKubernetesTypes = (params?: Params) =>
Request<Page<PriceType>>(
setURL(`${API_ROOT}/lke/types`),
setMethod('GET'),
setParams(params)
);
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10022-added-1703703204947.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

Added Design Tokens (CDS 2.0) ([#10022](https://github.com/linode/manager/pull/10022))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10505-changed-1716400104404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@linode/manager': Changed
---

Use dynamic HA pricing with `lke/types` endpoint ([#10505](https://github.com/linode/manager/pull/10505))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Update Images Landing table ([#10545](https://github.com/linode/manager/pull/10545))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10579-tests-1718297804893.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Refactor Cypress Longview test to use mock API data/events ([#10579](https://github.com/linode/manager/pull/10579))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10583-fixed-1718375225734.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Users must be an unrestricted User in order to add or modify tags on Linodes ([#10583](https://github.com/linode/manager/pull/10583))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10584-fixed-1718376872460.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Potential runtime issue with conditional hook ([#10584](https://github.com/linode/manager/pull/10584))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10587-fixed-1718643059797.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

CONTRIBUTING doc page commit type list markup ([#10587](https://github.com/linode/manager/pull/10587))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10588-fixed-1718731923572.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

React Query Events `seen` behavior and other optimizations ([#10588](https://github.com/linode/manager/pull/10588))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10590-fixed-1718722141069.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Accessibility: Add tabindex to TextTooltip ([#10590](https://github.com/linode/manager/pull/10590))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10591-tests-1718746383365.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Fix hanging unit tests ([#10591](https://github.com/linode/manager/pull/10591))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Add Distributed Icon to ImageSelects for distributed compatible images ([#10592](https://github.com/linode/manager/pull/10592))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10596-tests-1718806691101.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Unit test coverage - HostNameTableCell ([#10596](https://github.com/linode/manager/pull/10596))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10597-fixed-1718893685492.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

fix: [M3-8274] - Fix parsing issue causing in Kubernetes Version field ([#10597](https://github.com/linode/manager/pull/10597))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10602-tests-1718985699307.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Update Object Storage tests to mock account capabilities as needed for multi cluster ([#10602](https://github.com/linode/manager/pull/10602))
6 changes: 6 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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-06-21] - v1.121.2

### Fixed:

- Object Storage showing incorrect object URLs ([#10603](https://github.com/linode/manager/pull/10603))

## [2024-06-11] - v1.121.1

### Fixed:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ describe('LKE Cluster Creation with DC-specific pricing', () => {
ui.regionSelect.find().type(`${dcSpecificPricingRegion.label}{enter}`);

// Confirm that HA price updates dynamically once region selection is made.
cy.contains(/\(\$.*\/month\)/).should('be.visible');
cy.contains(/\$.*\/month/).should('be.visible');

cy.get('[data-testid="ha-radio-button-yes"]').should('be.visible').click();

Expand Down
Loading

0 comments on commit a682079

Please sign in to comment.