Skip to content

Commit

Permalink
Release v1.98.1 - master → develop (#9471)
Browse files Browse the repository at this point in the history
Co-authored-by: Banks Nussman <[email protected]>
Co-authored-by: Jaalah Ramos <[email protected]>
  • Loading branch information
3 people authored Jul 28, 2023
1 parent 0b07ae6 commit fa47468
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
7 changes: 7 additions & 0 deletions packages/manager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +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/).

## [2023-07-28] - v1.98.1

### Fixed:

- Region Select order ([#9466](https://github.com/linode/manager/pull/9466))
- Backups Drawer missing plans and prices ([#9466](https://github.com/linode/manager/pull/9466))

## [2023-07-24] - v1.98.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.98.0",
"version": "1.98.1",
"private": true,
"bugs": {
"url": "https://github.com/Linode/manager/issues"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ describe('Region Select helper functions', () => {
const groupedRegions = getRegionOptions(regions);
const [r1, r2, r3, r4, r5] = groupedRegions;
expect(groupedRegions).toHaveLength(8);
expect(r1.options).toHaveLength(0);
expect(r2.options).toHaveLength(0);
expect(r1.options).toHaveLength(5);
expect(r2.options).toHaveLength(2);
expect(r3.options).toHaveLength(3);
expect(r4.options).toHaveLength(2);
expect(r5.options).toHaveLength(5);
expect(r4.options).toHaveLength(0);
expect(r5.options).toHaveLength(1);
});

it('should group unrecognized regions as Other', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ export const selectStyles = {
type RegionGroup = 'Other' | ContinentNames;

export const getRegionOptions = (regions: Region[]) => {
// Note: Do not re-order this list even though ESLint is complaining.
const groups: Record<RegionGroup, RegionItem[]> = {
Africa: [],
Antartica: [],
Asia: [],
Europe: [],
'North America': [],
Europe: [],
Asia: [],
'South America': [],
Oceania: [],
Africa: [],
Antartica: [],
Other: [],
'South America': [],
};

for (const region of regions) {
Expand Down

0 comments on commit fa47468

Please sign in to comment.