From 048d4dfc3d29a0e2326a831420c81522b41d0ca3 Mon Sep 17 00:00:00 2001 From: Jaalah Ramos <125309814+jaalah-akamai@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:51:38 -0400 Subject: [PATCH] upcoming: [M3-8452, M3-8603] - Add Resource Links & Fix Test Flake (#11047) * upcoming: [M3-8452] - Add Resource Links & Fix Test Flake * Review updates @mjac0bs * Update pr-11047-upcoming-features-1728307120334.md --------- Co-authored-by: Jaalah Ramos --- .../.changeset/pr-11047-upcoming-features-1728307120334.md | 5 +++++ .../features/ObjectStorage/BucketDetail/AccessSelect.tsx | 6 +++++- .../ObjectStorage/BucketLanding/BucketRateLimitTable.tsx | 6 +++++- .../ObjectStorage/BucketLanding/OMC_CreateBucketDrawer.tsx | 7 +++++-- 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 packages/manager/.changeset/pr-11047-upcoming-features-1728307120334.md diff --git a/packages/manager/.changeset/pr-11047-upcoming-features-1728307120334.md b/packages/manager/.changeset/pr-11047-upcoming-features-1728307120334.md new file mode 100644 index 00000000000..ddae5a505a1 --- /dev/null +++ b/packages/manager/.changeset/pr-11047-upcoming-features-1728307120334.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Upcoming Features +--- + +Add OBJ Gen2 resource links and fix test flake for bucket creation ([#11047](https://github.com/linode/manager/pull/11047)) diff --git a/packages/manager/src/features/ObjectStorage/BucketDetail/AccessSelect.tsx b/packages/manager/src/features/ObjectStorage/BucketDetail/AccessSelect.tsx index b3985278092..a1093415801 100644 --- a/packages/manager/src/features/ObjectStorage/BucketDetail/AccessSelect.tsx +++ b/packages/manager/src/features/ObjectStorage/BucketDetail/AccessSelect.tsx @@ -218,7 +218,11 @@ export const AccessSelect = React.memo((props: Props) => { })} > CORS (Cross Origin Sharing) is not available for endpoint types E2 - and E3. Learn more. + and E3.{' '} + + Learn more + + . )} diff --git a/packages/manager/src/features/ObjectStorage/BucketLanding/BucketRateLimitTable.tsx b/packages/manager/src/features/ObjectStorage/BucketLanding/BucketRateLimitTable.tsx index 99bb79ac6c5..aa2a9571982 100644 --- a/packages/manager/src/features/ObjectStorage/BucketLanding/BucketRateLimitTable.tsx +++ b/packages/manager/src/features/ObjectStorage/BucketLanding/BucketRateLimitTable.tsx @@ -84,7 +84,11 @@ export const BucketRateLimitTable = ({ ) : ( 'This endpoint type supports up to 750 Requests Per Second (RPS). ' )} - Understand bucket rate limits. + Understand{' '} + + bucket rate limits + + . {isGen2EndpointType && ( diff --git a/packages/manager/src/features/ObjectStorage/BucketLanding/OMC_CreateBucketDrawer.tsx b/packages/manager/src/features/ObjectStorage/BucketLanding/OMC_CreateBucketDrawer.tsx index 8efb1000a6f..74a822df3c5 100644 --- a/packages/manager/src/features/ObjectStorage/BucketLanding/OMC_CreateBucketDrawer.tsx +++ b/packages/manager/src/features/ObjectStorage/BucketLanding/OMC_CreateBucketDrawer.tsx @@ -179,7 +179,7 @@ export const OMC_CreateBucketDrawer = (props: Props) => { }; const selectedRegion = watchRegion - ? regions?.find((region) => watchRegion.includes(region.id)) + ? regions?.find((region) => watchRegion === region.id) : undefined; const filteredEndpoints = endpoints?.filter( @@ -341,7 +341,10 @@ export const OMC_CreateBucketDrawer = (props: Props) => { Endpoint types impact the performance, capacity, and rate limits for your bucket. Understand{' '} - endpoint types. + + endpoint types + + . ), helperTextPosition: 'top',