Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change: [M3-9074] - Remove properties tab from Gen2 buckets #11491

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

jaalah-akamai
Copy link
Contributor

Description 📝

The Properties tab is a little premature. Although it's correct mostly, it's not 100% for all customers so we need to entirely remove that control for pre-existing buckets until such time as we can expose the correct limit in the API.

Note

I'll save this PR for future implementation

Changes 🔄

  • Removed Properties tab from Gen2 clusters

Target release date 🗓️

1/14

Preview 📷

Before After
Screenshot 2025-01-08 at 12 21 30 PM Screenshot 2025-01-08 at 12 20 56 PM

How to test 🧪

Prerequisites

  • Ensure you have the customer capabilities to create gen2 clusters
  • Enable feature flag for OBJ gen2

Reproduction steps

  • Create or go to an existing buckets detail page
  • Observe properties tab

Verification steps

  • Verify this tab no longer shows or is accessible.
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ 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


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All unit tests are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@jaalah-akamai jaalah-akamai self-assigned this Jan 8, 2025
@jaalah-akamai jaalah-akamai requested review from a team as code owners January 8, 2025 17:35
@jaalah-akamai jaalah-akamai requested review from AzureLatte, hana-akamai and hkhalil-akamai and removed request for a team January 8, 2025 17:35
Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot that we're having trouble loading gen2 buckets rn, but was able to confirm using MSW that the properties tab is gone for them ✅

The tab is also gone from legacy buckets - confirming that we want to hide this tab for all buckets, not just gen2?

@jaalah-akamai
Copy link
Contributor Author

jaalah-akamai commented Jan 8, 2025

The tab is also gone from legacy buckets - confirming that we want to hide this tab for all buckets, not just gen2?

It will never show for legacy buckets since it's a gen2 feature. It's complicated to mock using MSW. We have an E2E test that ensures it doesn't show though https://github.com/linode/manager/blob/develop/packages/manager/cypress/e2e/core/objectStorage/bucket-details.spec.ts#L33-L54

Copy link

github-actions bot commented Jan 8, 2025

Coverage Report:
Base Coverage: 86.97%
Current Coverage: 86.97%

Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh whoops I misunderstood - I'd read the PR title as removing the properties tab for E2/E3 buckets specifically and wasn't sure about E0/E1 buckets

✅ confirmed that with an account with gen2 capabilities, properties tab is hidden for all buckets (E0-E3) - thanks Jaalah!

@hkhalil-akamai hkhalil-akamai added the Approved Multiple approvals and ready to merge! label Jan 8, 2025
@coliu-akamai
Copy link
Contributor

Heads up, I just noticed this on local - Seattle appears twice in the banner:

image

I don't recall if this was a problem with the banner locally before - it's not on prod + changes here don't look relevant to the banner, but thought I'd mention it just in case it's an issue

@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #2 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing473 Passing2 Skipped106m 17s

Details

Failing Tests
SpecTest
clone-linode.spec.tsclone linode » can clone a Linode from Linode details page

Troubleshooting

Use this command to re-run the failing tests:

yarn cy:run -s "cypress/e2e/core/linodes/clone-linode.spec.ts"

@jaalah-akamai
Copy link
Contributor Author

Here's what I'm seeing:
Screenshot 2025-01-08 at 3 09 50 PM

@jaalah-akamai jaalah-akamai merged commit f3e13c8 into linode:develop Jan 8, 2025
22 of 23 checks passed
Copy link

cypress bot commented Jan 8, 2025

Cloud Manager E2E    Run #7056

Run Properties:  status check passed Passed #7056  •  git commit f3e13c8395: change: [M3-9074] - Remove properties tab from Gen2 buckets (#11491)
Project Cloud Manager E2E
Branch Review develop
Run status status check passed Passed #7056
Run duration 32m 25s
Commit git commit f3e13c8395: change: [M3-9074] - Remove properties tab from Gen2 buckets (#11491)
Committer Jaalah Ramos
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 474
View all changes introduced in this branch ↗︎

dmcintyr-akamai pushed a commit to dmcintyr-akamai/manager that referenced this pull request Jan 9, 2025
…1491)

* change: [M3-9074] - Remove properties tab from Gen2 buckets

* Added changeset: Temporarily remove Properties tab from Gen2 buckets

---------

Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Object Storage Gen2 Ready for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants