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

upcoming: [M3-7938] - Show custom error message in EditAccessKeyDrawer #10329

Merged
merged 9 commits into from
Apr 2, 2024

Conversation

cpathipa
Copy link
Contributor

@cpathipa cpathipa commented Mar 29, 2024

Description 📝

Renders custom error message in EditAccessKeyDrawer.

Changes 🔄

List any change relevant to the reviewer.

  • Updated the type of errorText in RegionsSelect, Autocomplete, TextField and EditableText.

Preview 📷

image

How to test 🧪

Prerequisites

(How to setup test environment)

  • Turn on OBJ Feature flag
  • Turn on MSW

Verification steps

(How to verify changes)

  • Navigate to http://localhost:3000/object-storage/access-keys
  • Click on "Edit" from the action menu of the Access Key.
  • Remove regions and click "Save" to see the error message.
  • Clicking on the "Revoke" link should direct the user back to the Access Key landing page.

As an Author I have considered 🤔

Check all that apply

  • 👀 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

@cpathipa cpathipa requested a review from a team as a code owner March 29, 2024 15:04
@cpathipa cpathipa requested review from dwiley-akamai and abailly-akamai and removed request for a team March 29, 2024 15:04
@cpathipa cpathipa marked this pull request as draft March 29, 2024 15:04
@cpathipa cpathipa self-assigned this Mar 29, 2024
@cpathipa cpathipa marked this pull request as ready for review March 29, 2024 15:24
@cpathipa cpathipa requested a review from mjac0bs March 29, 2024 15:25
Copy link

github-actions bot commented Mar 29, 2024

Coverage Report:
Base Coverage: 81.75%
Current Coverage: 81.75%

…710965.md

Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.com>
Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

Thanks Chandra!

image

I'm not entirely sure how helpful the link out to the landing page is for "revoke" since we don't link directly to the revoke modal via URL path, and the action menu is collapsed so the user can't actually see "Revoke" unless they open it. That being said, it does indicate to the user that they need to go somewhere that is not the edit drawer, which could set them on the right path, so the link may have some benefit.

@mjac0bs mjac0bs added the Add'tl Approval Needed Waiting on another approval! label Mar 29, 2024
@cpathipa
Copy link
Contributor Author

cpathipa commented Apr 2, 2024

@mjac0bs @abailly-akamai - Removed the link and updated the error message copy as approved by UX.

Copy link
Contributor

@abailly-akamai abailly-akamai left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

@mjac0bs
Copy link
Contributor

mjac0bs commented Apr 2, 2024

Copy looks good! Thanks for updating the PR description screenshot too. 🚢

@mjac0bs mjac0bs removed the Add'tl Approval Needed Waiting on another approval! label Apr 2, 2024
@mjac0bs mjac0bs added the Approved Multiple approvals and ready to merge! label Apr 2, 2024
@cpathipa cpathipa merged commit e95ce8e into linode:develop Apr 2, 2024
17 of 18 checks passed
@cpathipa cpathipa deleted the M3-7938 branch April 2, 2024 16:57
bnussman-akamai pushed a commit to bnussman-akamai/manager that referenced this pull request Apr 4, 2024
linode#10329)

* upcoming: [M3-7938] - Show custom error message in EditAccessKeyDrawer

* Added changeset: Show custom error message in EditAccessKeyDrawer.

* Update packages/manager/.changeset/pr-10329-upcoming-features-1711724710965.md

Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.com>

* PR feedback - @DevDW @mjac0bs

* PR - feedback - @alioso

* UX - Change - update error message.

* Update pr-10329-upcoming-features-1711724710965.md

---------

Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.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! OBJ Multi-Cluster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants