manager icon indicating copy to clipboard operation
manager copied to clipboard

fix: BucketRateLimitTable bug causing page crashes on Object Storage Bucket Create/Details drawer

Open coliu-akamai opened this issue 1 year ago โ€ข 0 comments

Description ๐Ÿ“

  • Quick fix to prevent the 'Oh snap' error from occurring due to no form context when on the Object Storage Create/Details drawer - this just restores the table's behavior to what it used to be on the Create/Details drawer

Target release date ๐Ÿ—“๏ธ

n/a

How to test ๐Ÿงช

Reproduction steps

  • with MSW and OBJ Gen2 flag enabled, navigate to Object Storage landing page
    • Create Bucket drawer: select a region with endpoints (Seattle) and click either endpoint E2 or E2
    • Bucket details drawer: click on the details button for a bucket with endpoint type E2 or E3
  • oh snap'd

Verification steps

  • Verify page no longer crashes when opening up bucket details drawer and bucket create drawer for steps above
  • verify Bucket Properties page still works as expected
  • yarn test BucketRateLimitTable.test.tsx

As an Author I have considered ๐Ÿค”

Check all that apply

  • [ ] ๐Ÿ‘€ Doing a self review
  • [ ] โ” Our contribution guidelines
  • [ ] ๐Ÿค Splitting feature into small PRs
  • [x] โž• Adding a changeset
  • [ ] ๐Ÿงช Providing/Improving test coverage
  • [ ] ๐Ÿ” Removing all sensitive information from the code and PR description
  • [ ] ๐Ÿšฉ Using a feature flag to protect the release
  • [ ] ๐Ÿ‘ฃ Providing comprehensive reproduction steps
  • [ ] ๐Ÿ“‘ Providing or updating our documentation
  • [ ] ๐Ÿ•› Scheduling a pair reviewing session
  • [ ] ๐Ÿ“ฑ Providing mobile support
  • [ ] โ™ฟ Providing accessibility support

coliu-akamai avatar Aug 28 '24 19:08 coliu-akamai