Skip to content

chore: Remove useAccountManagement hook and fix some restricted user UI #12223

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

Conversation

bnussman-akamai
Copy link
Member

@bnussman-akamai bnussman-akamai commented May 15, 2025

Description 📝

Preview 📷

Removed notice on Volumes Landing

Before After
Screenshot 2025-05-14 at 10 52 53 PM Screenshot 2025-05-14 at 10 53 08 PM

Removed notice on Images Landing

Before After
Screenshot 2025-05-14 at 10 54 20 PM Screenshot 2025-05-14 at 10 54 26 PM

How to test 🧪

Prerequisites

  • Have or create a restricted user on your account

Verification steps

  • Verify changes in touched files do not result in any regressions for restricted or unrestricted users
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

@bnussman-akamai bnussman-akamai self-assigned this May 15, 2025
@bnussman-akamai bnussman-akamai added Clean Up Restricted User Access Improve UX surrounding restricted access to features labels May 15, 2025
@bnussman-akamai bnussman-akamai marked this pull request as ready for review May 15, 2025 22:05
@bnussman-akamai bnussman-akamai requested review from a team as code owners May 15, 2025 22:05
@bnussman-akamai bnussman-akamai requested review from dmcintyr-akamai, abailly-akamai and hasyed-akamai and removed request for a team May 15, 2025 22:05
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 593 passing tests on test run #11 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing593 Passing4 Skipped106m 37s

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager May 19, 2025
@hasyed-akamai hasyed-akamai added the Approved Multiple approvals and ready to merge! label May 19, 2025
@bnussman-akamai bnussman-akamai merged commit cf16ee0 into linode:develop May 19, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager May 19, 2025
hasyed-akamai pushed a commit to hasyed-akamai/manager that referenced this pull request May 20, 2025
…r UI (linode#12223)

* initial clean up

* clean up unnessesary notices

* clean up

* add safety to grants fetch to fix e2e

* Revert "add safety to grants fetch to fix e2e"

This reverts commit 5b6a537.

* fix up cypress tests

* remove check for longview landing notice

* fix cypress test

* remove `add_buckets` grant because it does not exist?

* fix

* Added changeset: `add_buckets` from `GlobalGrantTypes`

* Added changeset: Inconsistent restricted user notices on landing pages

* Added changeset: Remove `useAccountManagement` hook

---------

Co-authored-by: Banks Nussman <[email protected]>
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! Clean Up Restricted User Access Improve UX surrounding restricted access to features
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

5 participants