Skip to content

Commit

Permalink
Merge pull request #10571 from linode/staging
Browse files Browse the repository at this point in the history
Release v1.121.1 - staging → master
  • Loading branch information
hana-akamai authored Jun 12, 2024
2 parents bf556e5 + 2561918 commit ddcd69a
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
7 changes: 6 additions & 1 deletion packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ 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-10] - v1.121.0
## [2024-06-11] - v1.121.1

### Fixed:

- Core Plan table display ([#10567](https://github.com/linode/manager/pull/10567))

## [2024-06-10] - v1.121.0

### Added:

Expand Down
2 changes: 1 addition & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "linode-manager",
"author": "Linode",
"description": "The Linode Manager website",
"version": "1.121.0",
"version": "1.121.1",
"private": true,
"type": "module",
"bugs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import {
} from 'src/features/components/PlansPanel/utils';
import { useFlags } from 'src/hooks/useFlags';
import { useRegionAvailabilityQuery } from 'src/queries/regions/regions';
import { ExtendedType } from 'src/utilities/extendType';

import { KubernetesPlanContainer } from './KubernetesPlanContainer';

import type { CreateNodePoolData, Region } from '@linode/api-v4';
import type { LinodeTypeClass } from '@linode/api-v4/lib/linodes/types';
import type { PlanSelectionType } from 'src/features/components/PlansPanel/types';
import type { ExtendedType } from 'src/utilities/extendType';

interface Props {
addPool?: (pool?: CreateNodePoolData) => void;
Expand Down Expand Up @@ -67,9 +67,15 @@ export const KubernetesPlansPanel = (props: Props) => {
Boolean(flags.soldOutChips) && selectedRegionId !== undefined
);

const _types = replaceOrAppendPlaceholder512GbPlans(types);
const _types = types.filter(
(type) =>
!type.id.includes('dedicated-edge') && !type.id.includes('nanode-edge')
);

const plans = getPlanSelectionsByPlanType(
flags.disableLargestGbPlans ? _types : types
flags.disableLargestGbPlans
? replaceOrAppendPlaceholder512GbPlans(_types)
: _types
);

const tabs = Object.keys(plans).map((plan: LinodeTypeClass) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ const defaultProps: PlansPanelProps = {
...planSelectionTypeFactory.build(),
class: 'gpu',
},
{
...planSelectionTypeFactory.build(),
class: 'premium',
},
],
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,14 @@ export const PlansPanel = (props: PlansPanelProps) => {
Boolean(flags.soldOutChips) && selectedRegionID !== undefined
);

const _types = replaceOrAppendPlaceholder512GbPlans(types);
const _types = types.filter(
(type) =>
!type.id.includes('dedicated-edge') && !type.id.includes('nanode-edge')
);
const _plans = getPlanSelectionsByPlanType(
flags.disableLargestGbPlans ? _types : types
flags.disableLargestGbPlans
? replaceOrAppendPlaceholder512GbPlans(_types)
: _types
);

const hideDistributedRegions =
Expand Down

0 comments on commit ddcd69a

Please sign in to comment.