-
Notifications
You must be signed in to change notification settings - Fork 278
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
Improve error notification after OAuth error #7854
Improve error notification after OAuth error #7854
Conversation
Build files for b019753 have been deleted. |
Size Change: +3.82 kB (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
Note to reviewer: e2e are failing due to new issue after puppeteer update - #7738 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @zutigrm, just a handful of minor cosmetic changes to address.
assets/js/components/PermissionsModal/AuthenticatedPermissionsModal.js
Outdated
Show resolved
Hide resolved
assets/js/components/notifications/ErrorNotifications.stories.js
Outdated
Show resolved
Hide resolved
@techanvil Thanks for the review. I update the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice one @zutigrm!
Summary
Addresses issue:
Relevant technical choices
Deviation from IB:
tempPersistedPermissionsError
instead ofpermissionsError
, so it is not confused withCORE_USER
state, and to better describe the value it holds.isAuthenticated
in checks, as during implementation/testing, this was needed to satisfy all criteria and distinguish between plugin setup error and any other other permission error notification.PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist